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 b63e15d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,14 @@ jobs:
runs-on: ubuntu-latest
needs: [split, image-tag]
permissions:
id-token: write
contents: read
steps:
- name: Assume role capable of dispatching action
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # setup-github-token@0.2.1
id: get-gh-token
- name: Checkout repository
uses: actions/checkout@v4.2.1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_CI_AUTO_PR_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}
aws-region: ${{ secrets.AWS_REGION }}
ref: ${{ env.CHECKOUT_REF }}

- uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be #v1.6.5
- name: Call crib-integration-test workflow
uses: ./.github/workflows/crib-integration-test.yml
with:
owner: smartcontractkit
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 }}"}'
image-tag: ${{ needs.image-tag.outputs.image-tag }}
12 changes: 6 additions & 6 deletions .github/workflows/crib-integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
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 +89,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 b63e15d

Please sign in to comment.