Move long running jobs into separate CI stage (#5837)

This commit is contained in:
Maxime Guyot 2020-03-26 21:56:24 +01:00 committed by GitHub
parent a8a05a21a4
commit e03aa795fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 9 deletions

View file

@ -4,6 +4,7 @@ stages:
- deploy-part1 - deploy-part1
- moderator - moderator
- deploy-part2 - deploy-part2
- deploy-part3
- deploy-special - deploy-special
variables: variables:

View file

@ -78,13 +78,6 @@ packet_debian9-macvlan-sep:
extends: .packet extends: .packet
when: manual when: manual
packet_debian9-calico-upgrade:
stage: deploy-part2
extends: .packet
when: on_success
variables:
UPGRADE_TEST: graceful
packet_debian9-calico-upgrade-once: packet_debian9-calico-upgrade-once:
stage: deploy-part2 stage: deploy-part2
extends: .packet extends: .packet
@ -142,8 +135,18 @@ packet_amazon-linux-2-aio:
extends: .packet extends: .packet
when: manual when: manual
# ### PR JOBS PART3
# Long jobs (45min+)
packet_debian9-calico-upgrade:
stage: deploy-part3
extends: .packet
when: on_success
variables:
UPGRADE_TEST: graceful
packet_ubuntu18-calico-ha-recover: packet_ubuntu18-calico-ha-recover:
stage: deploy-part2 stage: deploy-part3
extends: .packet extends: .packet
when: on_success when: on_success
variables: variables:
@ -151,7 +154,7 @@ packet_ubuntu18-calico-ha-recover:
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]" RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
packet_ubuntu18-calico-ha-recover-noquorum: packet_ubuntu18-calico-ha-recover-noquorum:
stage: deploy-part2 stage: deploy-part3
extends: .packet extends: .packet
when: on_success when: on_success
variables: variables: