-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change references in samples tests to correct versions #1790
Conversation
willdavsmith
commented
Sep 11, 2024
- Update release process to include bicepconfig.json
- Fix tests to use versions instead of latest for everything
Signed-off-by: willdavsmith <[email protected]>
@@ -4,17 +4,9 @@ on: | |||
workflow_dispatch: | |||
inputs: | |||
version: | |||
description: "Radius version number to use (e.g. 0.1.0, 0.1.0-rc1, edge). Defaults to edge." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this default to disambiguate how "defaults" work
type: string | ||
push: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to run on push
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think we should test on pushes. even if the PR runs pass, we've sometimes seen failures on pushes in other repos and runs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I re-added this trigger
@@ -93,7 +85,6 @@ jobs: | |||
credential: aws | |||
enableDapr: false | |||
env: | |||
BRANCH: ${{ github.base_ref || github.ref_name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was unused
Signed-off-by: willdavsmith <[email protected]>
|
||
# Update bicepconfig.json br:biceptypes.azurecr.io/radius with the CHANNEL | ||
BICEPCONFIG_RADIUS_STRING_REPLACEMENT="br:biceptypes.azurecr.io/radius:${CHANNEL}" | ||
awk -v REPLACEMENT="${BICEPCONFIG_RADIUS_STRING_REPLACEMENT}" '{gsub(/br:biceptypes\.azurecr\.io\/radius:latest/, REPLACEMENT); print}' bicepconfig.json > bicepconfig_updated.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is what we do for docs as well: https://github.com/radius-project/docs/blob/943c2cf3ea6b0d5cc24b06f6fa9de54e14207355/.github/scripts/release-docs.sh#L48
Signed-off-by: willdavsmith <[email protected]>