Skip to content

Commit

Permalink
Merge branch 'master' into p-chain_update_fee_calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
abi87 authored Jul 15, 2024
2 parents 0c54bab + 1e797c5 commit e43d4ff
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 19 deletions.
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 }}
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' }}

0 comments on commit e43d4ff

Please sign in to comment.