Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Trigger Antithesis Test Runs
name: Trigger Antithesis Avalanchego Setup

on:
# TODO(marun) Add a schedule to execute regularly
Expand All @@ -10,8 +10,7 @@ on:
required: true
type: string
recipients:
description: 'Email recipients to send the test report to'
default: ${{ secrets.ANTITHESIS_RECIPIENTS }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This secret reference was previously preventing invocation since secrets are only available to workflow steps.

description: 'Comma-seperated email addresses to send the test report to'
required: true
type: string
image_tag:
Expand All @@ -37,19 +36,3 @@ jobs:
email_recipients: ${{ github.event.inputs.recipients || secrets.ANTITHESIS_RECIPIENTS }}
additional_parameters: |-
custom.duration=${{ github.event.inputs.duration || '0.5' }}
antithesis_xsvm:
name: Run Antithesis XSVM Test Setup
runs-on: ubuntu-latest
steps:
- uses: antithesishq/antithesis-trigger-action@v0.5
with:
notebook_name: avalanche
tenant: avalanche
username: ${{ secrets.ANTITHESIS_USERNAME }}
password: ${{ secrets.ANTITHESIS_PASSWORD }}
github_token: ${{ secrets.ANTITHESIS_GH_PAT }}
config_image: antithesis-xsvm-config@${{ github.event.inputs.image_tag || 'latest' }}
images: antithesis-xsvm-workload@${{ github.event.inputs.image_tag || 'latest' }};antithesis-xsvm-node@${{ github.event.inputs.image_tag || 'latest' }}
email_recipients: ${{ github.event.inputs.recipients || secrets.ANTITHESIS_RECIPIENTS }}
additional_parameters: |-
custom.duration=${{ github.event.inputs.duration || '0.5' }}
38 changes: 38 additions & 0 deletions .github/workflows/trigger-antithesis-xsvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Trigger Antithesis XSVM Setup

on:
# TODO(marun) Add a schedule to execute regularly
workflow_dispatch:
inputs:
duration:
description: 'The duration 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_xsvm:
name: Run Antithesis XSVM Test Setup
runs-on: ubuntu-latest
steps:
- uses: antithesishq/antithesis-trigger-action@v0.5
with:
notebook_name: avalanche
tenant: avalanche
username: ${{ secrets.ANTITHESIS_USERNAME }}
password: ${{ secrets.ANTITHESIS_PASSWORD }}
github_token: ${{ secrets.ANTITHESIS_GH_PAT }}
config_image: antithesis-xsvm-config@${{ github.event.inputs.image_tag || 'latest' }}
images: antithesis-xsvm-workload@${{ github.event.inputs.image_tag || 'latest' }};antithesis-xsvm-node@${{ github.event.inputs.image_tag || 'latest' }}
email_recipients: ${{ github.event.inputs.recipients || secrets.ANTITHESIS_RECIPIENTS }}
additional_parameters: |-
custom.duration=${{ github.event.inputs.duration || '0.5' }}