From eab59cebc40b172a74721c664aee2f83dbaf5baa Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Thu, 9 Jun 2022 12:03:52 -0400 Subject: [PATCH] Update workflow calls --- .github/workflows/generic-testing.yml | 6 ------ .github/workflows/on-pr.yml | 7 ++++++- .github/workflows/on-publish.yml | 9 ++++++++- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/generic-testing.yml b/.github/workflows/generic-testing.yml index 03d93d4..5b68bf8 100644 --- a/.github/workflows/generic-testing.yml +++ b/.github/workflows/generic-testing.yml @@ -187,12 +187,6 @@ jobs: cd ipld-ethcl-indexer make integration-test-ci - system-testing: - uses: ./.github/workflows/system-tests.yml - with: - stack-orchestrator-ref: ${{ env.stack-orchestrator-ref }} - ipld-ethcl-db-ref: ${{ env.ipld-ethcl-db-ref }} - golangci: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 4bc7e30..8941cd6 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -25,7 +25,7 @@ on: - ".github/workflows/tests.yml" - "**" schedule: - - cron: '0 13 * * *' + - cron: '0 13 * * *' # Must be single quotes!! jobs: trigger-tests: @@ -36,3 +36,8 @@ jobs: ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }} secrets: GHA_KEY: ${{secrets.GHA_KEY}} + system-testing: + uses: ./.github/workflows/system-tests.yml + with: + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} + ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }} diff --git a/.github/workflows/on-publish.yml b/.github/workflows/on-publish.yml index 8638bb1..2e593cd 100644 --- a/.github/workflows/on-publish.yml +++ b/.github/workflows/on-publish.yml @@ -11,10 +11,17 @@ jobs: ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }} secrets: GHA_KEY: ${{secrets.GHA_KEY}} + system-testing: + uses: ./.github/workflows/system-tests.yml + with: + stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }} + ipld-ethcl-db-ref: ${{ github.event.inputs.ipld-ethcl-db-ref }} build: name: Run docker build runs-on: ubuntu-latest - needs: trigger-tests + needs: + - trigger-tests + - system-testing steps: - uses: actions/checkout@v2 - name: Get the version