From 85c40f5901f032e0079f4b25e4f427664967c168 Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Mon, 16 Oct 2023 11:52:34 -0700 Subject: [PATCH] Using rad bicep directly --- .github/workflows/publish-recipes.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-recipes.yaml b/.github/workflows/publish-recipes.yaml index 9b3a4df..7ed9b9e 100644 --- a/.github/workflows/publish-recipes.yaml +++ b/.github/workflows/publish-recipes.yaml @@ -31,6 +31,7 @@ concurrency: cancel-in-progress: true env: + RAD_CLI_URL: https://get.radapp.dev/tools/rad/install.sh GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} jobs: @@ -43,14 +44,13 @@ jobs: uses: actions/checkout@v3 - name: Parse release version and set environment variables run: python ./.github/scripts/get_release_version.py - - name: Download rad-bicep + - name: Download rad CLI run: | - ./.github/scripts/curl-with-retries.sh https://get.radapp.dev/tools/bicep-extensibility/${{ env.REL_CHANNEL }}/linux-x64/rad-bicep --output rad-bicep - chmod +x rad-bicep - ./rad-bicep --version + echo "Downloading edge rad CLI" + wget -q "${{ env.RAD_CLI_URL }}" -O - | /bin/bash -s edge - name: Publish Recipes to Dev GHCR # Uses REL_VERSION as the recipe version so PR builds result in a `pr-` tag - run: ./.github/scripts/publish-recipes.sh . radius-project ${{ env.REL_VERSION }} + run: ./.github/scripts/publish-recipes.sh radius-project ${{ env.REL_VERSION }} delete-dev: name: Delete Dev GHCR Images @@ -63,6 +63,7 @@ jobs: - name: Parse release version and set environment variables run: python ./.github/scripts/get_release_version.py - name: Delete Dev GHCR Images + # Uses REL_VERSION as the recipe version so PR builds result in a `pr-` tag run: ./.github/scripts/delete-recipes.sh radius-project ${{ env.REL_VERSION }} # This is where we can add integration tests in the future