Skip to content

Commit

Permalink
running crib-integration-test.yml as a reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfelix committed Dec 13, 2024
1 parent b63e15d commit 21ed52c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,8 @@ jobs:
goreleaser-key: ${{ secrets.GORELEASER_KEY }}

crib-integration-test:
if: ${{ github.event.inputs.git_ref || github.ref }} == 'refs/heads/develop'
runs-on: ubuntu-latest
needs: [split, image-tag]
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
ref: ${{ env.CHECKOUT_REF }}

- name: Call crib-integration-test workflow
uses: ./.github/workflows/crib-integration-test.yml
with:
image-tag: ${{ needs.image-tag.outputs.image-tag }}
uses: ./.github/workflows/crib-integration-test.yml
with:
image-tag: ${{ needs.image-tag.outputs.image-tag }}
secrets: inherit
8 changes: 6 additions & 2 deletions .github/workflows/crib-integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: CRIB Integration Tests
on:
pull_request:
paths:
- ".github/workflows/crib-integration-test.yml"
workflow_call:
workflow_dispatch:
inputs:
image-tag:
required: true
default: develop
required: false
description: The chainlink docker image tag to test against
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit 21ed52c

Please sign in to comment.