Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle new location for e2e test solana version #716

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading