Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into TT-1032-replace-go…
Browse files Browse the repository at this point in the history
…testfmt
  • Loading branch information
tateexon committed May 22, 2024
2 parents fdd4c52 + 2b32fda commit 7eb161c
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-test-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
build-args: |
BASE_IMAGE=${{ inputs.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ inputs.QA_AWS_REGION }}.amazonaws.com/test-base-image
IMAGE_VERSION=${{ steps.version.outputs.version }}
SUITES="soak smoke"
SUITES="smoke"
AWS_REGION: ${{ inputs.QA_AWS_REGION }}
AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
- name: Print Image Built
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ test_smoke:
cd ./integration-tests &&\
SELECTED_NETWORKS=SIMULATED go test -timeout 24h -count=1 -json $(args) -run TestSolanaOCRV2Smoke ./smoke 2>&1 | tee /tmp/gotest.log | gotestloghelper -json -tlogprefix -singlepackage -color

test_ocr_soak:
cd ./integration-tests &&\
SELECTED_NETWORKS=SIMULATED go test -timeout 24h -count=1 -json $(args) ./soak 2>&1 | tee /tmp/gotest.log | gotestloghelper -json -tlogprefix -singlepackage -color

gomodtidy:
go mod tidy
cd ./integration-tests && go mod tidy
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/rs/zerolog v1.30.0
github.com/smartcontractkit/chainlink-common v0.1.7-0.20240516150131-e1be553a9d10
github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240510181707-46b1311a5a83
github.com/smartcontractkit/chainlink-testing-framework v1.28.15-0.20240520085642-b994043307a4
github.com/smartcontractkit/chainlink-testing-framework v1.28.15
github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240515225456-aeb9f4d50d65
github.com/smartcontractkit/chainlink/v2 v2.10.0-beta0.0.20240515225456-aeb9f4d50d65
github.com/smartcontractkit/libocr v0.0.0-20240419185742-fd3cab206b2c
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1416,8 +1416,8 @@ github.com/smartcontractkit/chainlink-feeds v0.0.0-20240422130241-13c17a91b2ab h
github.com/smartcontractkit/chainlink-feeds v0.0.0-20240422130241-13c17a91b2ab/go.mod h1:RPUY7r8GxgzXxS1ijtU1P/fpJomOXztXgUbEziNmbCA=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240508155030-1024f2b55c69 h1:ssh/w3oXWu+C6bE88GuFRC1+0Bx/4ihsbc80XMLrl2k=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240508155030-1024f2b55c69/go.mod h1:VsfjhvWgjxqWja4q+FlXEtX5lu8BSxn10xRo6gi948g=
github.com/smartcontractkit/chainlink-testing-framework v1.28.15-0.20240520085642-b994043307a4 h1:XorHCAKux5+/jYsnGLRYOMBSW7Q3pKZJaxqRCZOW/UU=
github.com/smartcontractkit/chainlink-testing-framework v1.28.15-0.20240520085642-b994043307a4/go.mod h1:x1zDOz8zcLjEvs9fNA9y/DMguLam/2+CJdpxX0+rM8A=
github.com/smartcontractkit/chainlink-testing-framework v1.28.15 h1:mga7N6jtXQ3UOCt43IdsEnCMBh9xjOWPaE9BiM6kr6Q=
github.com/smartcontractkit/chainlink-testing-framework v1.28.15/go.mod h1:x1zDOz8zcLjEvs9fNA9y/DMguLam/2+CJdpxX0+rM8A=
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240328204215-ac91f55f1449 h1:fX/xmGm1GBsD1ZZnooNT+eWA0hiTAqFlHzOC5CY4dy8=
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240328204215-ac91f55f1449/go.mod h1:DC8sQMyTlI/44UCTL8QWFwb0bYNoXCfjwCv2hMivYZU=
github.com/smartcontractkit/chainlink-vrf v0.0.0-20240222010609-cd67d123c772 h1:LQmRsrzzaYYN3wEU1l5tWiccznhvbyGnu2N+wHSXZAo=
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/scripts/buildTestImage
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd "$SCRIPT_DIR"/../../ || exit 1
TAG_VERSION="${1}"
BASE_IMAGE_VERSION="${2}"
SUITES=$3
DEFAULT_SUITES="smoke soak"
DEFAULT_SUITES="smoke"
ACCOUNT=$(aws sts get-caller-identity | jq -r .Account)
AWS_BASE="${ACCOUNT}".dkr.ecr.us-west-2.amazonaws.com
TAG="${AWS_BASE}"/chainlink-solana-tests:"${TAG_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG BASE_IMAGE
ARG IMAGE_VERSION=latest
FROM ${BASE_IMAGE}:${IMAGE_VERSION}

ARG SUITES=smoke soak
ARG SUITES=smoke

COPY . testdir/
WORKDIR /go/testdir
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testconfig/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ inside_k8 = false
network = "localnet"
user = "default"
stateful_db = false
devnet_image = "solanalabs/solana:v1.17.33"
devnet_image = "solanalabs/solana:v1.17.34"

[OCR2]
node_count = 6
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-solana-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

set -euxo pipefail

sh -c "$(curl -sSfL https://release.solana.com/v1.17.33/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.17.34/install)"
echo "PATH=$HOME/.local/share/solana/install/active_release/bin:$PATH" >> $GITHUB_ENV
6 changes: 3 additions & 3 deletions scripts/update-solana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cliVersion=$(grep -oh "release.solana.com/v[0-9]*.[0-9]*.[0-9]*" scripts/install
echo "Current Test CLI Version: $cliVersion"

cd integration-tests
testVersion=$(grep -oh "solanalabs/solana:v[0-9]*.[0-9]*.[0-9]*" */**/*.go)
testVersion=$(grep -oh "solanalabs/solana:v[0-9]*.[0-9]*.[0-9]*" testconfig/default.toml)
echo "Current E2E Test Version: $testVersion"
cd ..

Expand All @@ -24,11 +24,11 @@ echo "Replacing Solana Image Version"
if [ "$(uname -s)" = "Darwin" ]; then
sed -i '' -e "s~$cliVersion~$latestCLI~" scripts/install-solana-ci.sh
cd integration-tests
sed -i '' -e "s~$testVersion~$latestVersion~" */**/*.go
sed -i '' -e "s~$testVersion~$latestVersion~" testconfig/default.toml
else
sed -i -e "s~$cliVersion~$latestCLI~" scripts/install-solana-ci.sh
cd integration-tests
sed -i -e "s~$testVersion~$latestVersion~" */**/*.go
sed -i -e "s~$testVersion~$latestVersion~" testconfig/default.toml
fi
cd ..

Expand Down

0 comments on commit 7eb161c

Please sign in to comment.