From bbdecbe9adaa357b54659a4b0e458f7f2bbc1a8d Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Sat, 20 Mar 2021 17:14:44 -0400 Subject: [PATCH] Update mainnet stateful sync tests to use new disk image Leave testnet commented out until testnet disk image is ready. --- .github/workflows/test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee35257af..dbc331682 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,10 +51,8 @@ jobs: --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='/testnet',name="zebrad-cache-$SHORT_SHA-testnet-1028500" \ --container-restart-policy never \ - --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-1046400" \ - --create-disk name="zebrad-cache-$SHORT_SHA-testnet-1028500" \ + --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-1046400",image=zebrad-cache-8690a39-mainnet-1046400 \ --machine-type n2-standard-4 \ --service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \ --scopes cloud-platform \ @@ -70,7 +68,6 @@ jobs: docker build --build-arg SHORT_SHA=$SHORT_SHA -f docker/Dockerfile.test -t zebrad-test .; docker run -i zebrad-test cargo test --workspace --no-fail-fast -- -Zunstable-options --include-ignored; docker run -i --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_to_canopy_mainnet --manifest-path zebrad/Cargo.toml sync_to_canopy_mainnet; - docker run -i --mount type=bind,source=/mnt/disks/gce-containers-mounts/gce-persistent-disks/zebrad-cache-$SHORT_SHA-testnet-1028500,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_to_canopy_testnet --manifest-path zebrad/Cargo.toml sync_to_canopy_testnet; " # Clean up - name: Delete test instance