Skip to content

Commit

Permalink
Move long running jobs into separate CI stage (kubernetes-sigs#5837)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miouge1 authored Mar 26, 2020
1 parent a8a05a2 commit e03aa79
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ stages:
- deploy-part1
- moderator
- deploy-part2
- deploy-part3
- deploy-special

variables:
Expand Down
21 changes: 12 additions & 9 deletions .gitlab-ci/packet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,6 @@ packet_debian9-macvlan-sep:
extends: .packet
when: manual

packet_debian9-calico-upgrade:
stage: deploy-part2
extends: .packet
when: on_success
variables:
UPGRADE_TEST: graceful

packet_debian9-calico-upgrade-once:
stage: deploy-part2
extends: .packet
Expand Down Expand Up @@ -142,16 +135,26 @@ packet_amazon-linux-2-aio:
extends: .packet
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:
stage: deploy-part2
stage: deploy-part3
extends: .packet
when: on_success
variables:
RECOVER_CONTROL_PLANE_TEST: "true"
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"

packet_ubuntu18-calico-ha-recover-noquorum:
stage: deploy-part2
stage: deploy-part3
extends: .packet
when: on_success
variables:
Expand Down

0 comments on commit e03aa79

Please sign in to comment.