chore: run Publish Syncroot artifacts on self-hosted runners - #695
Merged
Conversation
Moves the last remaining migratable workflow onto the self-hosted runners, so deploys no longer queue behind shared GitHub-hosted runners. This was previously blocked because the step "Update image tag" and the two database steps call `yq`, which is preinstalled on GitHub-hosted runners but was missing from the gh-runner image. Added upstream in Altinn/altinn-platform#3893. Everything else this workflow needs is already proven on these runners: - actions/checkout and azure/login work (Node 24 and Azure CLI are in the image) - the flux CLI installs into $RUNNER_TOOL_CACHE, the same mechanism hashicorp/setup-terraform uses in the Terraform workflows migrated in #681, which pass - OIDC (id-token: write) works, as used by those same workflows Refs #642, Altinn/altinn-platform#3838 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Aug 17, 2026
alvlia
approved these changes
Aug 20, 2026
tjololo
pushed a commit
to Altinn/altinn-platform
that referenced
this pull request
Aug 20, 2026
runner_image was hardcoded in the shared module, so every image bump rolled out to all eight repositories at once with no way to try it somewhere first. Exposes it as a variable with the current v0.8.0 as the default, following the same pattern as runner_cpu and runner_memory, and overrides it to v0.10.0 for info.altinn.no only. The other seven repositories keep v0.8.0 until the default is moved up. v0.10.0 adds yq (#3893), which unblocks Altinn/info.altinn.no#695. It also picks up corepack from 0.9.0. Base image digest and runner version are unchanged between v0.8.0 and v0.10.0, so the difference is purely additive. Refs #3838 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
5 tasks
tjololo
added a commit
to Altinn/altinn-platform
that referenced
this pull request
Aug 20, 2026
* feat(gh-runners): allow per-repository runner image override runner_image was hardcoded in the shared module, so every image bump rolled out to all eight repositories at once with no way to try it somewhere first. Exposes it as a variable with the current v0.8.0 as the default, following the same pattern as runner_cpu and runner_memory, and overrides it to v0.10.0 for info.altinn.no only. The other seven repositories keep v0.8.0 until the default is moved up. v0.10.0 adds yq (#3893), which unblocks Altinn/info.altinn.no#695. It also picks up corepack from 0.9.0. Base image digest and runner version are unchanged between v0.8.0 and v0.10.0, so the difference is purely additive. Refs #3838 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * remove info.altinn.no override of image * set default to latest released version --------- Co-authored-by: Are Almaas <arealmaas@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: tjololo <1145298+tjololo@users.noreply.github.com>
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.
Runs Publish Syncroot artifacts on the self-hosted runners, so deploys stop queueing behind GitHub-hosted ones.
Refs #642, Altinn/altinn-platform#3838
Why this was blocked until now
The workflow calls
yqin three steps, andyqwasn't in the runner image. Added in Altinn/altinn-platform#3893 and rolled out in Altinn/altinn-platform#3895 — the runners now rungh-runner:v0.10.0, so this is ready to merge.Testing
Ran the workflow's own steps inside the released
v0.10.0image, as the non-rootrunneruser:at22+ AzureSQL (all three yq steps) andprod+ Sqlite (the two database steps correctly skipped)push→tag→pullcompletes a full artifact roundtrip with the updated image tag intactNot covered locally: Azure OIDC login and egress from the runner VNet to
altinncr.azurecr.io. Worth dispatching against at22 first.🤖 Generated with Claude Code