Skip to content

Commit ab988be

Browse files
committed
fix
1 parent ae182df commit ab988be

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

aztec-up/bootstrap.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/usr/bin/env bash
22
source $(git rev-parse --show-toplevel)/ci3/source_bootstrap
33

4-
image_hash=$(cache_content_hash ^aztec-up/Dockerfile ^yarn-project/yarn.lock)
5-
test_hash=$(hash_str $(cache_content_hash ^aztec-up/) $image_hash)
4+
hash=$(hash_str $(cache_content_hash ^aztec-up/) $(../yarn-project/bootstrap.sh hash))
65

76
function build {
87
# Create versions.json so we know what to install.
@@ -41,7 +40,7 @@ EOF
4140
npm i -g verdaccio
4241
fi
4342

44-
if ! cache_download aztec-release-test-image-$image_hash.zst; then
43+
if ! cache_download aztec-release-test-image-$hash.zst; then
4544
rm -rf verdaccio-storage
4645
verdaccio --config /tmp/verdaccio-config.yaml --listen 4873 &>/dev/null &
4746
verdaccio_pid=$!
@@ -79,15 +78,15 @@ EOF
7978
docker build -t aztecprotocol/aztec-release-test .
8079
docker save aztecprotocol/aztec-release-test:latest > aztec-release-test-image
8180

82-
cache_upload aztec-release-test-image-$image_hash.zst aztec-release-test-image
81+
cache_upload aztec-release-test-image-$hash.zst aztec-release-test-image
8382
else
8483
docker load < aztec-release-test-image
8584
fi
8685
}
8786

8887
function test_cmds {
8988
for test in amm_flow bridge_and_claim basic_install counter_contract; do
90-
echo "$test_hash:TIMEOUT=15m aztec-up/scripts/run_test.sh $test"
89+
echo "$hash:TIMEOUT=15m aztec-up/scripts/run_test.sh $test"
9190
done
9291
}
9392

0 commit comments

Comments
 (0)