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

enable running chaos tests on release packages #435

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/consistency-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: consistency_testing
on:
repository_dispatch:
types: [chaos-test-command]
types: [chaos-test-command, release-uploaded]

jobs:
run_consistency_tests:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/ci/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
ivotron marked this conversation as resolved.
Show resolved Hide resolved
env:
- SHORT_SHA=$SHORT_SHA
- TAG_NAME=$TAG_NAME
Expand Down