diff --git a/.github/workflows/consistency-test.yml b/.github/workflows/consistency-test.yml index 602740722447..b913eea0bec4 100644 --- a/.github/workflows/consistency-test.yml +++ b/.github/workflows/consistency-test.yml @@ -1,7 +1,7 @@ name: consistency_testing on: repository_dispatch: - types: [chaos-test-command] + types: [chaos-test-command, release-uploaded] jobs: run_consistency_tests: @@ -33,6 +33,15 @@ jobs: echo "upload_dir=redpanda/pr-${{ github.event.client_payload.pull_request.number }}" >> $GITHUB_ENV if: ${{ github.event.action == 'chaos-test-command' }} + - name: setup env release + run: | + echo "Populating env from release context" + + # Make env available to next steps + echo "deb_pkg_url=${{ github.event.client_payload.deb_pkg }}" >> $GITHUB_ENV + echo "upload_dir=redpanda/${{ github.event.client_payload.tag }}-${{ github.event.client_payload.ref }}" >> $GITHUB_ENV + if: ${{ github.event.action == 'release-uploaded' }} + - name: fetch release from gcb run: | # check if the file exists diff --git a/tests/ci/build-release.yaml b/tests/ci/build-release.yaml index f06a96c61b82..7e97a2571548 100644 --- a/tests/ci/build-release.yaml +++ b/tests/ci/build-release.yaml @@ -81,7 +81,7 @@ steps: ./build/venv/v/bin/vtools build redpanda-dashboard --conf=vtools/vtools/artifacts/ci/vtools-$_COMPILER-$_BUILD_TYPE.yml ./build/venv/v/bin/vtools build pkg --conf=vtools/vtools/artifacts/ci/vtools-$_COMPILER-$_BUILD_TYPE.yml --format=rpm --format=deb --format=tar ./build/venv/v/bin/vtools publish --conf=vtools/vtools/artifacts/ci/vtools-$_COMPILER-$_BUILD_TYPE.yml - ./build/venv/v/bin/vtools ci github-event --event-type packages-created || true # let's not mess with the release pipeline yet + ./build/venv/v/bin/vtools ci github-event --event-type release-uploaded || true # let's not mess with the release pipeline yet env: - SHORT_SHA=$SHORT_SHA - TAG_NAME=$TAG_NAME