Skip to content

Commit

Permalink
Try 3 e2e blocks
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 90990dc commit 3c9c500
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,10 @@ steps:
path: /var/run/docker.sock

# 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 2 groups:
# First we cleanup any VMs that are older than 2h. Then, tests are split into 3 groups:
# - validatecluster and upgradecluster
# - secretsencryption and splitserver
# - secretsencryption
# - splitserver

- name: cleanup-vms
image: test-e2e
Expand Down Expand Up @@ -688,17 +689,35 @@ steps:
vagrant destroy -f
go test -v -timeout=30m ./secretsencryption_test.go -ci -local
cp ./coverage.out /tmp/artifacts/se-coverage.out
volumes:
- name: libvirt
path: /var/run/libvirt/
- name: cache
path: /tmp/artifacts

- name: test-e2e-block3
image: test-e2e
depends_on:
- cleanup-vms
pull: never
resources:
cpu: 6000
memory: 10Gi
environment:
E2E_GOCOVER: 'true'
commands:
- mkdir -p dist/artifacts
- cp /tmp/artifacts/* dist/artifacts/
- |
cd ../splitserver
cd tests/e2e/splitserver
vagrant destroy -f
go test -v -timeout=30m ./splitserver_test.go -ci -local
cp ./coverage.out /tmp/artifacts/split-coverage.out
volumes:
- name: libvirt
path: /var/run/libvirt/
- name: docker
path: /var/run/docker.sock
- name: cache
path: /tmp/artifacts

Expand Down

0 comments on commit 3c9c500

Please sign in to comment.