From ac7354f59c211318679db65ad4dd660b8e3d8f01 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 10 Dec 2024 09:05:18 -0800 Subject: [PATCH] Add snapshotrestore and token e2e to drone Signed-off-by: Derek Nola --- .drone.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8f04839d3192..8c8856e97cff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -607,8 +607,8 @@ steps: # For better parallelism, we run the E2E tests in a chunked directed acyclic graph # First we cleanup any VMs that are older than 2h. Then, tests are split into 3 groups: # - validatecluster and upgradecluster -# - secretsencryption -# - splitserver +# - secretsencryption and snapshotrestore +# - splitserver and token - name: cleanup-vms image: test-e2e @@ -689,6 +689,11 @@ steps: vagrant destroy -f go test -v -timeout=30m ./secretsencryption_test.go -ci -local cp ./coverage.out /tmp/artifacts/se-coverage.out + - | + cd ../snapshotrestore + vagrant destroy -f + go test -v -timeout=30m ./snapshotrestore_test.go -ci -local + cp ./coverage.out /tmp/artifacts/snap-coverage.out volumes: - name: libvirt @@ -714,7 +719,12 @@ steps: vagrant destroy -f go test -v -timeout=30m ./splitserver_test.go -ci -local cp ./coverage.out /tmp/artifacts/split-coverage.out - + - | + cd ../token + vagrant destroy -f + go test -v -timeout=30m ./token_test.go -ci -local + cp ./coverage.out /tmp/artifacts/token-coverage.out + volumes: - name: libvirt path: /var/run/libvirt/ @@ -731,9 +741,11 @@ steps: from_secret: codecov_token files: - /tmp/artifacts/validate-coverage.out + - /tmp/artifacts/upgrade-coverage.out - /tmp/artifacts/se-coverage.out + - /tmp/artifacts/snap-coverage.out - /tmp/artifacts/split-coverage.out - - /tmp/artifacts/upgrade-coverage.out + - /tmp/artifacts/token-coverage.out flags: - e2etests when: