Skip to content

Commit

Permalink
ci: dispatch run-rosetta-tests event to rosetta-kava
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed Aug 15, 2024
1 parent 7aede33 commit 48414cf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
dockerhub-username: kavaops
extra-image-tag: master
secrets: inherit
rosetta:
uses: ./.github/workflows/ci-rosetta.yml
secrets: inherit
post-pipeline-metrics:
uses: ./.github/workflows/metric-pipeline.yml
if: always() # always run so we metric failures and successes
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/ci-rosetta.yml
Original file line number Diff line number Diff line change
@@ -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 }}"}'

0 comments on commit 48414cf

Please sign in to comment.