-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into re-2954/release-to-crib
- Loading branch information
Showing
50 changed files
with
557 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
#internal Refactored ChainComponents tests to run in parallel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,12 +26,14 @@ runs: | |
# Only do a full checkout on merge_groups | ||
if: github.event_name == 'merge_group' | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
if: github.event_name != 'merge_group' | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 1 | ||
|
||
- name: Setup Go | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- name: Configure aws credentials | ||
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ jobs: | |
steps: | ||
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | ||
id: bash-scripts | ||
with: | ||
|
@@ -26,6 +28,8 @@ jobs: | |
steps: | ||
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- name: Run ShellCheck | ||
if: needs.changes.outputs.bash-scripts-src == 'true' | ||
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,27 +38,33 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ env.CHECKOUT_REF }} | ||
|
||
- name: Get image tag | ||
id: get-image-tag | ||
env: | ||
GH_EVENT_NAME: ${{ github.event_name }} | ||
GH_EVENT_NUMBER: ${{ github.event.number }} | ||
GH_INPUTS_BUILD_PUBLISH: ${{ inputs.build-publish }} | ||
LABEL_HAS_BUILD_PUBLISH: ${{ contains(github.event.pull_request.labels.*.name, 'build-publish') }} | ||
run: | | ||
short_sha=$(git rev-parse --short HEAD) | ||
echo "release-type=snapshot" | tee -a $GITHUB_OUTPUT | ||
if [[ ${{ github.event_name }} == 'push' ]]; then | ||
if [[ $GH_EVENT_NAME == 'push' ]]; then | ||
echo "image-tag=develop" | tee -a $GITHUB_OUTPUT | ||
echo "release-type=nightly" | tee -a $GITHUB_OUTPUT | ||
elif [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then | ||
elif [[ $GH_EVENT_NAME == 'workflow_dispatch' ]]; then | ||
echo "image-tag=${short_sha}" | tee -a $GITHUB_OUTPUT | ||
if [[ "${{ inputs.build-publish }}" == 'false' ]]; then | ||
if [[ "$GH_INPUTS_BUILD_PUBLISH" == 'false' ]]; then | ||
echo "release-type=snapshot" | tee -a $GITHUB_OUTPUT | ||
else | ||
echo "release-type=nightly" | tee -a $GITHUB_OUTPUT | ||
fi | ||
else | ||
if [[ ${{ github.event_name }} == "pull_request" ]]; then | ||
echo "image-tag=pr-${{ github.event.number }}-${short_sha}" | tee -a $GITHUB_OUTPUT | ||
if [[ ${{ contains(github.event.pull_request.labels.*.name, 'build-publish') }} == "true" ]]; then | ||
if [[ $GH_EVENT_NAME == "pull_request" ]]; then | ||
echo "image-tag=pr-${GH_EVENT_NUMBER}-${short_sha}" | tee -a $GITHUB_OUTPUT | ||
if [[ $LABEL_HAS_BUILD_PUBLISH == "true" ]]; then | ||
echo "release-type=nightly" | tee -a $GITHUB_OUTPUT | ||
fi | ||
fi | ||
|
@@ -86,6 +92,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ env.CHECKOUT_REF }} | ||
fetch-depth: 0 | ||
|
||
|
@@ -124,6 +131,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
ref: ${{ env.CHECKOUT_REF }} | ||
|
||
- name: Configure aws credentials | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- name: Check for VERSION file bump on tags | ||
# Avoids checking VERSION file bump on forks. | ||
if: ${{ github.repository == 'smartcontractkit/chainlink' }} | ||
|
@@ -38,6 +40,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Configure aws credentials | ||
|
@@ -96,6 +99,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Configure aws credentials | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- name: Check git tag type | ||
id: check-git-tag-type | ||
shell: bash | ||
|
@@ -72,6 +74,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Build, sign and publish chainlink image | ||
id: build-sign-publish | ||
|
@@ -104,6 +108,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- name: Notify Slack | ||
uses: smartcontractkit/.github/actions/slack-notify-git-ref@31e00facdd8f57a2bc7868b5e4c8591bf2aa3727 # [email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup Go | ||
uses: ./.github/actions/setup-go | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | ||
|
@@ -95,6 +96,7 @@ jobs: | |
- name: Checkout .Github repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
repository: smartcontractkit/.github | ||
ref: 9aed33e5298471f20a3d630d711b96ae5538728c # [email protected] | ||
path: ./dot_github | ||
|
@@ -170,6 +172,7 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | ||
id: change | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ jobs: | |
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
repository: smartcontractkit/chainlink | ||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | ||
id: match-some | ||
|
@@ -59,6 +60,8 @@ jobs: | |
steps: | ||
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup NodeJS | ||
uses: ./.github/actions/setup-nodejs | ||
|
@@ -134,6 +137,7 @@ jobs: | |
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
# fetches all history for all tags and branches to provide more metadata for sonar reports | ||
fetch-depth: 0 | ||
|
||
|
@@ -191,6 +195,8 @@ jobs: | |
steps: | ||
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup Go | ||
uses: ./.github/actions/setup-go | ||
|
@@ -235,6 +241,8 @@ jobs: | |
steps: | ||
- name: Checkout the repo | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Setup Go | ||
uses: ./.github/actions/setup-go | ||
|
Oops, something went wrong.