Repository navigation
release: package the sandbox images for the 0.7.1 default - #718
Merged
Merged
Conversation
The panel refuses tasks when artex-runner is unavailable, so the runner, worker and egress proxy are now part of docker-compose.yml and docker-compose.ghcr.yml. install.sh and update.sh generate ARTEX_RUNNER_TOKEN and build the three images; the release workflow publishes them beside the panel image. The changelog records the security fixes, the upgrade steps and the scope re-approval.
The default compose now requires ARTEX_RUNNER_TOKEN for the panel, so the ghidra overlay config test must provide it like the sandbox compose test already does.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release packaging for 0.7.1. The code merges in #715, #716 and #717 make the per-task sandbox the default, but the published panel image and the default compose files did not start the runner or carry the worker and proxy images. This change makes the default deployment work.
What changes
docker-compose.ymlnow includesartex-runner,artex-workerandartex-egress-proxy, setsARTEX_SANDBOX=required, and gives the panel the runner URL and token. The worker and proxy staybuild-only; the runner creates one of each per task.docker-compose.ghcr.ymluses the runner, worker and proxy images published from the same release tag.install.shandupdate.shgenerateARTEX_RUNNER_TOKENin.envand build the three images.update.shnow upgrades the runner with the panel.release.ymlbuilds and pushesghcr.io/baarai/artex-runner,artex-workerandartex-egress-proxyfor linux/amd64 and linux/arm64, and the GitHub Release waits for those images.docker-compose.sandbox.ymlis kept as a compatibility overlay.CHANGELOG.mdhas the 0.7.1 security section, the breaking changes, the scope re-approval step and the credits.Upgrade
./update.sh. It generatesARTEX_RUNNER_TOKENand builds the sandbox images.source='manual'scopes. Goal-derived and auto scopes are coverage-only and must be re-approved once in Task Scope.ARTEX_RUNNER_TOKENin.env, thendocker compose -f docker-compose.ghcr.yml --profile build-only pullandup -d.ARTEX_SANDBOX=offremains the explicit degraded mode.Verification
docker compose configondocker-compose.yml,docker-compose.ymlplus the compatibility overlay, anddocker-compose.ghcr.yml, includingARTEX_IMAGE_TAGpropagation.go test -run TestComposeSandboxConfigBoundary ./sandbox.artex-runner:local,artex-worker:local,artex-egress-proxy:localfrom the new default compose.bash -n install.sh update.sh,git diff --check,scripts/extract-changelog-section.sh 0.7.1, and YAML parsing ofrelease.yml.Credits
See the 0.7.1 changelog: @jamesKhor for the chat bridge advisory, @youssefmedhatl, @renaesop and @Dukotah for the execution-scope work, and Kevin Joensen for the public writeup.