Skip to content

Commit

Permalink
fix nightly notifications for loadtest and fuzz test (#1737)
Browse files Browse the repository at this point in the history
* fix nightly notifications

* test with retries
  • Loading branch information
gatsbyz authored Jul 24, 2023
1 parent b102509 commit efe05b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.nightly.devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ on: # yamllint disable-line rule:truthy
outputs:
workflow_output_loadtest1:
description: "Loadtest output"
value: ${{ jobs.loadtest1.outputs.loadtest_output_success }}
value: ${{ jobs.loadtest1.outputs.workflow_output }}
workflow_output_loadtest2:
description: "Loadtest output"
value: ${{ jobs.loadtest2.outputs.loadtest_output_success }}
value: ${{ jobs.loadtest2.outputs.workflow_output }}
secrets:
AWS_ROLE_ARN:
required: true
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: maticnetwork/terraform-polygon-supernets
ref: main
ref: jesse/nightly
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: maticnetwork/terraform-polygon-supernets
ref: main
ref: jesse/nightly
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzz-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on: # yamllint disable-line rule:truthy
- main
- develop
workflow_dispatch:
workflow_call:
workflow_call:
outputs:
workflow_output:
description: "Fuzz output"
value: ${{ jobs.build.outputs.fuzz_output_failure }}
value: ${{ jobs.fuzz_test.outputs.fuzz_output_failure }}


jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/loadtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ on: # yamllint disable-line rule:truthy
description: Duration of the test
required: false
type: string
outputs:
workflow_output:
description: "Loadtest output"
value: ${{ jobs.run_k6.outputs.loadtest_output_success }}
secrets:
SLACK_PERFORMANCE_WEBHOOK_URL:
required: true
Expand Down

0 comments on commit efe05b0

Please sign in to comment.