Skip to content

Commit

Permalink
set image in config toml (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 authored Feb 7, 2024
1 parent 37cdcb9 commit 7c6ab49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/e2e_custom_cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,17 @@ jobs:
with:
name: artifacts
path: ${{ env.CONTRACT_ARTIFACTS_PATH }}
- name: Generate config overrides
run: | # https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/config/README.md

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

View workflow job for this annotation

GitHub Actions / actionlint

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

shellcheck reported issue in this script: SC2002:style:7:30: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead [shellcheck]
Raw output
.github/workflows/e2e_custom_cl.yml:119:9: shellcheck reported issue in this script: SC2002:style:7:30: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead [shellcheck]

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

View workflow job for this annotation

GitHub Actions / actionlint

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

shellcheck reported issue in this script: SC2086:info:8:18: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/e2e_custom_cl.yml:119:9: shellcheck reported issue in this script: SC2086:info:8:18: Double quote to prevent globbing and word splitting [shellcheck]

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

View workflow job for this annotation

GitHub Actions / actionlint

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

shellcheck reported issue in this script: SC2086:info:9:58: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/e2e_custom_cl.yml:119:9: shellcheck reported issue in this script: SC2086:info:9:58: Double quote to prevent globbing and word splitting [shellcheck]
cat << EOF > config.toml
[ChainlinkImage]
image="${{ env.CL_ECR }}"
version="solana.${{ github.event.inputs.cl_branch_ref || github.sha }}"
EOF
BASE64_CONFIG_OVERRIDE=$(cat config.toml | base64 -w 0)
echo ::add-mask::$BASE64_CONFIG_OVERRIDE
echo "BASE64_CONFIG_OVERRIDE=$BASE64_CONFIG_OVERRIDE" >> $GITHUB_ENV
- name: Run Tests
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/run-tests@eccde1970eca69f079d3efb3409938a72ade8497 # v2.2.13
with:
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/docker/test_env/sol.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (ms *Solana) getContainerRequest() (*tc.ContainerRequest, error) {

return &tc.ContainerRequest{
Name: ms.ContainerName,
Image: "solanalabs/solana:beta",
Image: "solanalabs/solana:v1.13.3",
ExposedPorts: []string{test_env.NatPortFormat(SOL_HTTP_PORT), test_env.NatPortFormat(SOL_WS_PORT)},
Env: map[string]string{
"SERVER_PORT": "1080",
Expand Down

0 comments on commit 7c6ab49

Please sign in to comment.