Skip to content

Commit

Permalink
[WIP] Checkout Capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkaseman committed Dec 12, 2024
1 parent 52c2db4 commit 2f44467
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,25 @@ jobs:
image-tag: ${{ steps.get-image-tag.outputs.image-tag }}
release-type: ${{ steps.get-image-tag.outputs.release-type }}
steps:
- name: Checkout repository
- name: Setup Github Token
id: token
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # [email protected]
with:
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}
aws-region: ${{ secrets.AWS_REGION }}
set-git-config: "true"

- name: Checkout capabilities repository
uses: actions/[email protected]
with: // Pass in token because it's a private repo
repository: smartcontractkit/capabilities
token: ${{ steps.token.outputs.access-token }}

- name: Checkout chainlink repository
uses: actions/[email protected]
with:
repository: smartcontractkit/chainlink
ref: ${{ env.CHECKOUT_REF }}

- name: Get image tag
Expand Down Expand Up @@ -124,6 +140,7 @@ jobs:
- name: Checkout repository
uses: actions/[email protected]
with:
repository: smartcontractkit/chainlink
ref: ${{ env.CHECKOUT_REF }}

- name: Configure aws credentials
Expand Down
3 changes: 3 additions & 0 deletions tools/bin/goreleaser_utils
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ set -xe
before_hook() {
local -r lib_path=tmp

echo $(ls)
echo $(ls ..)

mkdir -p "$lib_path/libs"
# Copy over all platform versions of the wasmvm library
cp -f "$(go list -json -m github.com/CosmWasm/wasmvm | jq -r '.Dir')"/internal/api/libwasmvm.* "$lib_path/libs"
Expand Down
2 changes: 1 addition & 1 deletion tools/goreleaser-config/gen_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func Generate(environment string) config.Project {
Cmd: "go mod tidy",
},
{
Cmd: "./tools/bin/goreleaser_utils before_hook",
Cmd: "./tools/bin/goreleaser_utils before_hook", // modify this to include capabilities
},
},
},
Expand Down

0 comments on commit 2f44467

Please sign in to comment.