Skip to content

Commit

Permalink
Add snapshotrestore and token e2e to drone
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Dec 10, 2024
1 parent 3c9c500 commit ac7354f
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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/
Expand All @@ -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:
Expand Down

0 comments on commit ac7354f

Please sign in to comment.