From 8813c3d91af526da4683840dc1d28ad6eabca819 Mon Sep 17 00:00:00 2001 From: Sean Rester Date: Fri, 12 Nov 2021 19:34:12 -0500 Subject: [PATCH] Adding standalone trigger for regression testing --- .github/workflows/release.yaml | 36 +++++++++++++++------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a0c5466eb2..5363667681 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -480,24 +480,20 @@ jobs: # asset_content_type: application/gzip - copy_nightly: - if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-nightly') - runs-on: ubuntu-18.04 -# needs: [build_airgap] - steps: - - name: blah - run: | - echo ${{github.ref_name}} - env - - name: Checkout - uses: actions/checkout@v2 - - name: Copy assets - uses: ./actions/copy-assets - env: - GITHUB_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} - with: - srcReleaseTag: ${{ github.ref_name }} - dstReleaseTag: "v0.0.0-nightly" +# copy_nightly: +# if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-nightly') +# runs-on: ubuntu-18.04 +## needs: [build_airgap] +# steps: +# - name: Checkout +# uses: actions/checkout@v2 +# - name: Copy assets +# uses: ./actions/copy-assets +# env: +# GITHUB_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} +# with: +# srcReleaseTag: ${{ github.ref_name }} +# dstReleaseTag: "v0.0.0-nightly" regression_test: if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-nightly') @@ -515,7 +511,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Get latest tag + - name: Get latest release tag id: get_latest_tag uses: pozetroninc/github-action-get-latest-release@master with: @@ -524,7 +520,7 @@ jobs: - name: blah # uses: replicatedhq/kots/.github/workflows/regression.yaml@standalone-regression - uses: ./.github/workflows/regression.yaml@standalone-regression + uses: replicatedhq/kots/.github/workflows/regression.yaml@standalone-regression with: version_tag_old: ${{ steps.get_latest_tag.outputs.release }} version_tag_new: ${{ github.ref_name }}