Skip to content

Commit

Permalink
CI: build previous artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Aug 2, 2024
1 parent 02a42e0 commit 2cac2a5
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/e2e_custom_cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:

e2e_custom_build_artifacts:
name: E2E Custom Build Artifacts
id: contract-artifacts

Check failure on line 73 in .github/workflows/e2e_custom_cl.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/e2e_custom_cl.yml#L73

unexpected key "id" for "job" section. expected one of "concurrency", "container", "continue-on-error", "defaults", "env", "environment", "if", "name", "needs", "outputs", "permissions", "runs-on", "secrets", "services", "steps", "strategy", "timeout-minutes", "uses", "with" [syntax-check]
Raw output
.github/workflows/e2e_custom_cl.yml:73:5: unexpected key "id" for "job" section. expected one of "concurrency", "container", "continue-on-error", "defaults", "env", "environment", "if", "name", "needs", "outputs", "permissions", "runs-on", "secrets", "services", "steps", "strategy", "timeout-minutes", "uses", "with" [syntax-check]
environment: integration
permissions:
id-token: write
Expand All @@ -84,6 +85,39 @@ jobs:
with:
image: backpackapp/build
image-version: ${{ needs.get_projectserum_version.outputs.projectserum_version }}
- name: get artifact hashes
run: |

Check failure on line 89 in .github/workflows/e2e_custom_cl.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/e2e_custom_cl.yml#L89

shellcheck reported issue in this script: SC2086:info:1:74: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/e2e_custom_cl.yml:89:9: shellcheck reported issue in this script: SC2086:info:1:74: Double quote to prevent globbing and word splitting [shellcheck]
echo "hash=$(sha1sum ${{ env.CONTRACT_ARTIFACTS_PATH }}/* | sha1sum)" >> $GITHUB_OUTPUT
e2e_custom_build_previous_artifacts:
name: E2E Build Previous Release Artifacts
environment: integration
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest-32cores-128GB
needs: [e2e_custom_build_artifacts]
steps:
- name: Checkout previous release
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
ref: v1.0.2
- name: build & copy contracts
run: |

Check failure on line 106 in .github/workflows/e2e_custom_cl.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/e2e_custom_cl.yml#L106

property "contract-artifacts" is not defined in object type {} [expression]
Raw output
.github/workflows/e2e_custom_cl.yml:106:228: property "contract-artifacts" is not defined in object type {} [expression]
make build_contracts
mkdir -p temp/artifacts/previous
cp ${{ env.CONTRACT_ARTIFACTS_PATH }}/* temp/artifacts/previous
echo "previous: $(sha1sum ${{ env.CONTRACT_ARTIFACTS_PATH }}/* | sha1sum)"
echo "current: ${{ steps.contract-artifacts.outputs.hash }}"
- uses: actions/download-artifact@v4
with:
name: artifacts
path: temp/artifacts # combine artifacts
- uses: actions/upload-artifact@v4
with:
name: artifacts
path: temp/artifacts/ # combine artifacts

e2e_custom_build_custom_chainlink_image:
name: E2E Custom Build Custom CL Image
Expand Down

0 comments on commit 2cac2a5

Please sign in to comment.