From 32e1237df85b5e5cb5617a3a0704ce26a2783f0e Mon Sep 17 00:00:00 2001 From: Conrado Gouvea Date: Wed, 11 Aug 2021 18:11:59 -0300 Subject: [PATCH] Update cache to v9 (#2598) * Update cache to v9 * Update state disk image * Rename * Remove ending semicolon for remote commands Co-authored-by: Deirdre Connolly --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88c51bc7..fd5a0751 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,9 +52,9 @@ jobs: --boot-disk-size 100GB \ --boot-disk-type pd-ssd \ --container-image rust:buster \ - --container-mount-disk mount-path='/mainnet',name="zebrad-cache-$SHORT_SHA-mainnet-1046400" \ + --container-mount-disk mount-path='/mainnet',name="zebrad-cache-$SHORT_SHA-mainnet-canopy" \ --container-restart-policy never \ - --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-1046400",image=zebrad-cache-9416b5d-mainnet-1046400 \ + --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-canopy",image=zebrad-cache-9121ae2-mainnet-canopy \ --machine-type n2-standard-8 \ --service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \ --scopes cloud-platform \ @@ -69,7 +69,7 @@ jobs: cd zebra/ && docker build --build-arg SHORT_SHA=$SHORT_SHA -f docker/Dockerfile.test -t zebrad-test . && docker run -i -e "ZEBRA_SKIP_IPV6_TESTS=1" zebrad-test:latest cargo test --workspace --no-fail-fast -- -Zunstable-options --include-ignored && - docker run -i -e "ZEBRA_SKIP_IPV6_TESTS=1" --mount type=bind,source=/mnt/disks/gce-containers-mounts/gce-persistent-disks/zebrad-cache-$SHORT_SHA-mainnet-1046400,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_past_mandatory_checkpoint_mainnet --manifest-path zebrad/Cargo.toml sync_past_mandatory_checkpoint_mainnet; + docker run -i -e "ZEBRA_SKIP_IPV6_TESTS=1" --mount type=bind,source=/mnt/disks/gce-containers-mounts/gce-persistent-disks/zebrad-cache-$SHORT_SHA-mainnet-canopy,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_past_mandatory_checkpoint_mainnet --manifest-path zebrad/Cargo.toml sync_past_mandatory_checkpoint_mainnet " # Clean up - name: Delete test instance