Skip to content

Update and improve dev env, testing, building and publishing#143

Merged
lildude merged 30 commits into
mainfrom
improve-dev-test
Jun 21, 2026
Merged

Update and improve dev env, testing, building and publishing#143
lildude merged 30 commits into
mainfrom
improve-dev-test

Conversation

@lildude

@lildude lildude commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Update the devcontainer configuration to use the newer app config.

Move away from the legacy build.json file.

Switch to the newer publish image.

Also adds a script for setting up a local dev container and then use that in an integration test to ensure the addon can be installed, configured and started with all PRs so I don't have to do it manually.

@lildude lildude changed the title Update and improve dev env and tests Update and improve dev env, testing, building and publishing Jun 14, 2026
@lildude lildude marked this pull request as draft June 21, 2026 09:45
@lildude lildude force-pushed the improve-dev-test branch from c310b94 to e5e379a Compare June 21, 2026 09:59
lildude added 2 commits June 21, 2026 11:40
The 5-apps image activates AppArmor for the Supervisor and apps whenever
the host kernel supports it, which it does on GHA ubuntu-latest runners.
That confines the PostgreSQL add-on under its AppArmor profile, and on
Ubuntu kernels the profile either fails to apply (runc: "no such file or
directory" on .../attr/apparmor/exec) or slows initdb enough to blow the
2-minute startup timeout. SUPERVISOR_UNCONFINED only unconfines the
Supervisor container, not the apps, so it doesn't help here.

Switch to the 4-apps image, which doesn't activate AppArmor in the
devcontainer, so add-ons run unconfined and PostgreSQL starts cleanly -
matching the proven-working ha-addon-ghostfolio setup. Also drop the
SUPERVISOR_CHANNEL=beta debugging artifact, which is unrelated and not
needed.
@lildude lildude force-pushed the improve-dev-test branch from 5faefa3 to 76499d8 Compare June 21, 2026 11:15
@lildude lildude force-pushed the improve-dev-test branch from 26fc73d to 0ab14a7 Compare June 21, 2026 11:19
@lildude lildude marked this pull request as ready for review June 21, 2026 12:05
@lildude lildude merged commit 6b07490 into main Jun 21, 2026
5 checks passed
@lildude lildude deleted the improve-dev-test branch June 21, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant