Skip to content

ra_change

ra_change #91

Workflow file for this run

name: Jepsen Tests for RA
on:
workflow_dispatch:
repository_dispatch:
types: [ra_change]
concurrency:
group: jepsen
jobs:
test:
runs-on: ubuntu-22.04
container:
image: pivotalrabbitmq/jepsen
steps:
- uses: actions/checkout@v4
- name: Jepsen tests
run: ci/jepsen-test.sh
env:
GCP_JEPSEN_CREDENTIALS: ${{ secrets.GCP_JEPSEN_CREDENTIALS }}
GCP_PROJECT: ${{ secrets.GCP_PROJECT }}
- name: Stop cluster
if: always()
working-directory: terraform-state
run: |
terraform init
terraform destroy -auto-approve
- name: Delete configuration
if: always()
run: |
rm jepsen-bot.json
rm -rf terraform-state
rm -rf terraform.tfstate