Skip to content
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

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

willdavsmith
Copy link
Contributor

  • 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."
Copy link
Contributor Author

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:
Copy link
Contributor Author

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

Copy link
Contributor

@sk593 sk593 Sep 11, 2024

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

Copy link
Contributor Author

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 }}
Copy link
Contributor Author

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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: willdavsmith <[email protected]>
@willdavsmith willdavsmith requested a review from sk593 September 11, 2024 21:14
@lakshmimsft lakshmimsft merged commit efa2f1a into radius-project:edge Sep 12, 2024
8 checks passed
@kachawla kachawla mentioned this pull request Oct 11, 2024
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.

3 participants