File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22source $( 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
76function build {
87 # Create versions.json so we know what to install.
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=$!
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
8887function 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
You can’t perform that action at this time.
0 commit comments