-
Notifications
You must be signed in to change notification settings - Fork 968
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added triggerable antithesis workflow
- Loading branch information
Gianmarco Fraccaroli
authored and
Gianmarco Fraccaroli
committed
Apr 23, 2024
1 parent
28c99d8
commit 34ccf50
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/[email protected] | ||
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 }} |