From 34ccf508d3b65bc5c911d4d997a37f116e0b600c Mon Sep 17 00:00:00 2001 From: Gianmarco Fraccaroli Date: Tue, 23 Apr 2024 11:10:04 +0200 Subject: [PATCH] ci: added triggerable antithesis workflow --- .github/workflows/triggerable-antithesis.yml | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/triggerable-antithesis.yml 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