From 139fa7fa2d236a5ce45c1433c67e3d74bc91566f Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Tue, 15 Dec 2020 18:49:03 -0500 Subject: [PATCH 1/3] Update stateful disks for post-Sapling-activation sync tests --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f575ba3fbe9..e2f8cccaf46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,8 +53,8 @@ jobs: --container-mount-disk mount-path='/mainnet',name="zebrad-cache-$SHORT_SHA-mainnet-419200" \ --container-mount-disk mount-path='/testnet',name="zebrad-cache-$SHORT_SHA-testnet-280000" \ --container-restart-policy never \ - --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-419200",image=zebrad-cache-062a5ae-mainnet-419200 \ - --create-disk name="zebrad-cache-$SHORT_SHA-testnet-280000",image=zebrad-cache-2935b4e-testnet-280000 \ + --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-419200",image=zebrad-cache-2a21c86-mainnet-419200 \ + --create-disk name="zebrad-cache-$SHORT_SHA-testnet-280000",image=zebrad-cache-2a21c86-testnet-280000 \ --machine-type n2-standard-4 \ --service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \ --scopes cloud-platform \ From 74d2200e834809f42cd00b1d99a967ad1bb90819 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Tue, 15 Dec 2020 18:57:47 -0500 Subject: [PATCH 2/3] Disable tesnet post-Sapling sync tests for now --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2f8cccaf46..dc3024da8f6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,7 +54,6 @@ jobs: --container-mount-disk mount-path='/testnet',name="zebrad-cache-$SHORT_SHA-testnet-280000" \ --container-restart-policy never \ --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-419200",image=zebrad-cache-2a21c86-mainnet-419200 \ - --create-disk name="zebrad-cache-$SHORT_SHA-testnet-280000",image=zebrad-cache-2a21c86-testnet-280000 \ --machine-type n2-standard-4 \ --service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \ --scopes cloud-platform \ @@ -70,7 +69,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-419200,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_past_sapling_mainnet --manifest-path zebrad/Cargo.toml sync_past_sapling_mainnet; - docker run -i --mount type=bind,source=/mnt/disks/gce-containers-mounts/gce-persistent-disks/zebrad-cache-$SHORT_SHA-testnet-280000,target=/zebrad-cache zebrad-test:latest cargo test --verbose --features test_sync_past_sapling_testnet --manifest-path zebrad/Cargo.toml sync_past_sapling_testnet; " # Clean up - name: Delete test instance From d46a5a5e651cea7f81291cf9a843878652ae2dee Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Tue, 15 Dec 2020 19:06:45 -0500 Subject: [PATCH 3/3] Remove testnet --container-mount-disk for now --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc3024da8f6..c2a7fb2b7cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,6 @@ jobs: --boot-disk-type pd-ssd \ --container-image rust:buster \ --container-mount-disk mount-path='/mainnet',name="zebrad-cache-$SHORT_SHA-mainnet-419200" \ - --container-mount-disk mount-path='/testnet',name="zebrad-cache-$SHORT_SHA-testnet-280000" \ --container-restart-policy never \ --create-disk name="zebrad-cache-$SHORT_SHA-mainnet-419200",image=zebrad-cache-2a21c86-mainnet-419200 \ --machine-type n2-standard-4 \