Repository navigation
fix: migrate contrib Bicep extension configs to GHCR - #360
Draft
willdavsmith wants to merge 1 commit into
Draft
willdavsmith wants to merge 1 commit into
willdavsmith wants to merge 1 commit into
Conversation
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This branch has not been deployed
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
Draft consumer-only companion for the Radius/AWS Bicep extension ACR-to-GHCR migration. The actual config generation path,
.github/scripts/update-bicepconfig.sh, now uses:br:ghcr.io/radius-project/bicep-types-radius:edgebr:ghcr.io/radius-project/bicep-types-aws:edgeIt enables
experimentalFeaturesEnabled.ociEnabled, migrates only the legacy Radius/AWS aliases, maps ACR developmentlatestto GHCRedge, and preserves stable-channel/full-version tags. Existing custom references, other extensions, experimental flags, analyzer/cloud/module-alias settings, and local*-extension.tgzmerging are preserved. Malformed JSON fails without replacing the original config.No recipe targets, container images, Test tenant, historical files, publishers, release rewrites, repository settings, or secrets are changed. Remaining ACR strings are the legacy-match expression and regression fixtures; there are no remaining checked-in active ACR consumer defaults. No ACR fallback is introduced.
Reason for change
The config generator is used by resource-type builds and Recipe Pack deployment. Updating only upstream publishers would leave this consumer creating ACR-backed configs. This PR covers that bounded consumer path; source publishing/release orchestration remain in the upstream work, including radius-project/radius#13119, which this PR does not modify.
Issue: N/A.
Do not merge until all pre-merge gates pass:
edgeand any stable/full-version tags selected by consumers. Anonymous token requests for both packages returned HTTP 403 on 2026-10-01; public availability is not established.rad versionoutput. Upstream Bicep v0.45.6 introduced experimental OCI support. radius-project/radius#13075 is merged, and released v0.61.1 source pins v0.46.1; this is source evidence, not released-binary certification. The local installed Radius v0.60.0 reports Bicep 0.42.1 and is incompatible. Do not treatedgealone as release evidence.Keep this PR draft until these gates are satisfied. No production publishing, merge, ready-for-review, or auto-merge action is included.
How to test
Commands run from the repository root:
make test-bicepconfig test-workspace-bootstrapbash -n .github/scripts/update-bicepconfig.sh .github/scripts/tests/test-update-bicepconfig.sh .github/scripts/deploy-recipe-pack.shshellcheck .github/scripts/update-bicepconfig.sh .github/scripts/tests/test-update-bicepconfig.sh .github/scripts/deploy-recipe-pack.shruby -e 'require "yaml"; YAML.load_file(".github/workflows/validate-resource-types.yaml"); puts "Workflow YAML parsed"'git diff --checkmake test-bicepconfig test-release-automation test-workspace-bootstrapsed -iassumption in.github/scripts/tests/test-release-automation.sh:252on macOS (invalid command code f). Workspace bootstrap was subsequently run separately and passed. No unrelated portability change is included.rad versionfor name in radius aws; do printf '%s anonymous token HTTP status: ' "$name"; curl -sS -o /dev/null -w '%{http_code}\n' "https://ghcr.io/token?service=ghcr.io&scope=repository:radius-project/bicep-types-${name}:pull"; donemake test,make test-recipe, registry publishing, and live deployment were not run: no compatible released CLI has been certified locally and canonical public artifacts are not yet anonymously accessible. Offline fixtures do not claim deployment or public restore success.File change summary
.github/scripts/update-bicepconfig.sh.github/scripts/tests/test-update-bicepconfig.sh.github/build/test.mkmake test-bicepconfig..github/workflows/validate-resource-types.yaml.github/scripts/deploy-recipe-pack.shdocs/contributing/testing-resource-types-recipes.md