diff --git a/.github/workflows/triggerable-antithesis.yml b/.github/workflows/triggerable-antithesis.yml new file mode 100644 index 0000000000..8ca6685d51 --- /dev/null +++ b/.github/workflows/triggerable-antithesis.yml @@ -0,0 +1,33 @@ +name: Triggerable Antithesis workflow + +on: + workflow_dispatch: + inputs: + namada_docker_tag: + description: 'The docker tag of the namada docker images' + required: true + type: string + scenario_tester_docker_tag: + description: 'The docker tag of the scenario tester image' + required: true + type: string + workload_type: + type: choice + description: The type of workload to use (namada__pr__customer 3h, namada__nightly__customer 8h) + options: + - namada__pr__customer + - namada__nightly__customer + +jobs: + antithesis: + runs-on: [ubuntu-latest] + + steps: + - uses: antithesishq/antithesis-trigger-action@v0.2 + with: + notebook_name: ${{ github.event.inputs.workload_type }} + tenant: heliax + username: ${{ secrets.ANTITHESIS_USER_NAME }} + password: ${{ secrets.ANTITHESIS_PASSWORD }} + github_token: ${{ secrets.GH_PAT }} + images: namada-config:${{ github.event.inputs.namada_docker_tag }},build-genesis:${{ github.event.inputs.namada_docker_tag }},build-namada:${{ github.event.inputs.namada_docker_tag }},build-namada-inst:${{ github.event.inputs.namada_docker_tag }},namada-scenario-tester:${{ github.event.inputs.scenario_tester_docker_tag }} \ No newline at end of file