-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup: Update to use refactored antithesis tooling from avalanchego
- Loading branch information
Showing
10 changed files
with
147 additions
and
219 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
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,39 @@ | ||
name: Trigger Antithesis | ||
|
||
on: | ||
# TODO(marun) Add a schedule | ||
workflow_dispatch: | ||
inputs: | ||
duration: | ||
description: 'The duration (in hours) to run the test for' | ||
default: '0.5' | ||
required: true | ||
type: string | ||
recipients: | ||
description: 'Comma-seperated email addresses to send the test report to' | ||
required: true | ||
type: string | ||
image_tag: | ||
description: 'The image tag to target' | ||
default: latest | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
antithesis: | ||
name: Run Antithesis | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: antithesishq/[email protected] | ||
with: | ||
notebook_name: avalanche | ||
tenant: avalanche | ||
username: ${{ secrets.ANTITHESIS_USERNAME }} | ||
password: ${{ secrets.ANTITHESIS_PASSWORD }} | ||
github_token: ${{ secrets.ANTITHESIS_GH_PAT }} | ||
config_image: antithesis-subnet-evm-config:${{ github.event.inputs.image_tag || 'latest' }} | ||
images: antithesis-subnet-evm-workload:${{ github.event.inputs.image_tag || 'latest' }};antithesis-subnet-evm-node:${{ github.event.inputs.image_tag || 'latest' }} | ||
email_recipients: ${{ github.event.inputs.recipients || secrets.ANTITHESIS_RECIPIENTS }} | ||
additional_parameters: |- | ||
custom.duration=${{ github.event.inputs.duration || '11.25' }} # Duration is in hours | ||
custom.workload=subnet-evm |
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
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
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
Oops, something went wrong.