Skip to content

Commit

Permalink
triggering crib-integration-test from build-publish-develop-pr (thanks
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfelix committed Dec 13, 2024
1 parent 099f2af commit e3c8879
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ jobs:
needs: [split, image-tag]
permissions:
id-token: write
# https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event
actions: write
steps:
- name: Assume role capable of dispatching action
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # setup-github-token@0.2.1
Expand All @@ -176,4 +178,5 @@ jobs:
repo: chainlink
github_token: ${{ steps.get-gh-token.outputs.access-token }}
workflow_file_name: crib-integration-test.yml
client_payload: '{"git_ref": "${{ env.GIT_REF }}", "image-tag": "${{ needs.image-tag.outputs.image-tag }}"}'
propagate_failure: true
client_payload: '{"image-tag": "${{ needs.image-tag.outputs.image-tag }}"}'
13 changes: 6 additions & 7 deletions .github/workflows/crib-integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: CRIB Integration Tests
on:
pull_request:
paths:
- ".github/workflows/crib-integration-test.yml"
schedule:
- cron: "0 1 * * *"
workflow_call:
workflow_dispatch:
inputs:
image-tag:
required: true
description: The chainlink docker image tag to test against
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -89,7 +88,7 @@ jobs:
command: "core-dev-simulated-core-ocr1"
crib-alert-slack-webhook: ${{ secrets.CRIB_ALERT_SLACK_WEBHOOK }}
product-image: ${{ secrets.AWS_SDLC_ECR_HOSTNAME }}/chainlink
product-image-tag: develop
product-image-tag: ${{ inputs.image-tag }}
- uses: actions/checkout@v4.2.1
- name: Set up Go
uses: ./.github/actions/setup-go
Expand Down

0 comments on commit e3c8879

Please sign in to comment.