ci: dispatch run-rosetta-tests event to rosetta-kava (#2007)

This commit is contained in:
Evgeniy Scherbina 2024-08-15 12:00:24 -04:00 committed by GitHub
parent 7aede3390d
commit 27d63f157c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 0 deletions

View File

@ -45,6 +45,9 @@ jobs:
dockerhub-username: kavaops dockerhub-username: kavaops
extra-image-tag: master extra-image-tag: master
secrets: inherit secrets: inherit
rosetta:
uses: ./.github/workflows/ci-rosetta.yml
secrets: inherit
post-pipeline-metrics: post-pipeline-metrics:
uses: ./.github/workflows/metric-pipeline.yml uses: ./.github/workflows/metric-pipeline.yml
if: always() # always run so we metric failures and successes if: always() # always run so we metric failures and successes

16
.github/workflows/ci-rosetta.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Dispatch run-rosetta-tests event to rosetta-kava
on:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Dispatch run-rosetta-tests event to rosetta-kava
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.KAVA_PUBLIC_GITHUB_ACCESS_TOKEN }}
repository: Kava-Labs/rosetta-kava
event-type: run-rosetta-tests
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'