Skip to content

Commit a961be4

Browse files
committed
Run upgrade test in dedicated drone step
Signed-off-by: Brad Davidson <[email protected]>
1 parent ad046a6 commit a961be4

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.drone.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,22 @@ steps:
512512
../scripts/cleanup_vms.sh 'splitserver_([0-9]+)'
513513
go test -v -timeout=30m ./splitserver_test.go -ci -local
514514
cp ./coverage.out /tmp/artifacts/split-coverage.out
515+
516+
- name: test-e2e-upgradecluster
517+
depends_on:
518+
- build-e2e-image
519+
image: test-e2e
520+
pull: never
521+
resources:
522+
cpu: 6000
523+
memory: 10Gi
524+
environment:
525+
E2E_REGISTRY: 'true'
526+
E2E_GOCOVER: 'true'
527+
commands:
528+
- mkdir -p dist/artifacts
529+
- cp /tmp/artifacts/* dist/artifacts/
530+
- tests/e2e/scripts/drone_registries.sh
515531
- |
516532
if [ "$DRONE_BUILD_EVENT" = "pull_request" ]; then
517533
cd ../upgradecluster
@@ -529,19 +545,18 @@ steps:
529545
E2E_RELEASE_CHANNEL=$UPGRADE_CHANNEL go test -v -timeout=45m ./upgradecluster_test.go -ci -local -ginkgo.v
530546
cp ./coverage.out /tmp/artifacts/upgrade-coverage.out
531547
fi
532-
533548
volumes:
534549
- name: libvirt
535550
path: /var/run/libvirt/
536551
- name: docker
537552
path: /var/run/docker.sock
538553
- name: cache
539554
path: /tmp/artifacts
540-
541555
- name: upload to codecov
542556
depends_on:
543557
- test-e2e-validatecluster
544558
- test-e2e-splitserver
559+
- test-e2e-upgrade
545560
image: robertstettner/drone-codecov
546561
settings:
547562
token:

0 commit comments

Comments
 (0)