You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

190 lines
3.5 KiB

  1. ---
  2. .packet: &packet
  3. extends: .testcases
  4. variables:
  5. CI_PLATFORM: "packet"
  6. SSH_USER: "kubespray"
  7. tags:
  8. - packet
  9. only: [/^pr-.*$/]
  10. except: ['triggers']
  11. packet_ubuntu18-calico-aio:
  12. stage: deploy-part1
  13. extends: .packet
  14. when: on_success
  15. # Future AIO job
  16. packet_ubuntu20-calico-aio:
  17. stage: deploy-part1
  18. extends: .packet
  19. when: manual
  20. # ### PR JOBS PART2
  21. packet_centos7-flannel-containerd-addons-ha:
  22. extends: .packet
  23. stage: deploy-part2
  24. when: on_success
  25. packet_ubuntu18-crio:
  26. extends: .packet
  27. stage: deploy-part2
  28. when: on_success
  29. # ### MANUAL JOBS
  30. packet_centos7-weave-upgrade-ha:
  31. stage: deploy-part3
  32. extends: .packet
  33. when: on_success
  34. variables:
  35. UPGRADE_TEST: basic
  36. packet_ubuntu16-weave-sep:
  37. stage: deploy-part2
  38. extends: .packet
  39. when: manual
  40. # # More builds for PRs/merges (manual) and triggers (auto)
  41. packet_ubuntu16-canal-sep:
  42. stage: deploy-special
  43. extends: .packet
  44. when: manual
  45. packet_ubuntu16-canal-kubeadm-ha:
  46. stage: deploy-part2
  47. extends: .packet
  48. when: on_success
  49. packet_ubuntu16-flannel-ha:
  50. stage: deploy-part2
  51. extends: .packet
  52. when: manual
  53. # Contiv does not work in k8s v1.16
  54. # packet_ubuntu16-contiv-sep:
  55. # stage: deploy-part2
  56. # extends: .packet
  57. # when: on_success
  58. packet_ubuntu18-cilium-sep:
  59. stage: deploy-special
  60. extends: .packet
  61. when: manual
  62. packet_ubuntu18-flannel-containerd-ha:
  63. stage: deploy-part2
  64. extends: .packet
  65. when: manual
  66. packet_ubuntu18-flannel-containerd-ha-once:
  67. stage: deploy-part2
  68. extends: .packet
  69. when: manual
  70. packet_debian9-macvlan:
  71. stage: deploy-part2
  72. extends: .packet
  73. when: manual
  74. packet_debian9-calico-upgrade-once:
  75. stage: deploy-part3
  76. extends: .packet
  77. when: on_success
  78. variables:
  79. UPGRADE_TEST: graceful
  80. packet_debian10-containerd:
  81. stage: deploy-part2
  82. extends: .packet
  83. when: on_success
  84. packet_centos7-calico-ha:
  85. stage: deploy-part2
  86. extends: .packet
  87. when: manual
  88. packet_centos7-calico-ha-once-localhost:
  89. stage: deploy-part2
  90. extends: .packet
  91. when: on_success
  92. services:
  93. - docker:18.09.9-dind
  94. packet_centos8-kube-ovn:
  95. stage: deploy-part2
  96. extends: .packet
  97. when: on_success
  98. packet_fedora30-weave:
  99. stage: deploy-part2
  100. extends: .packet
  101. when: on_success
  102. packet_fedora31-flannel:
  103. stage: deploy-part2
  104. extends: .packet
  105. when: on_success
  106. packet_centos7-kube-router:
  107. stage: deploy-part2
  108. extends: .packet
  109. when: manual
  110. packet_centos7-multus-calico:
  111. stage: deploy-part2
  112. extends: .packet
  113. when: manual
  114. packet_centos8-calico:
  115. stage: deploy-part2
  116. extends: .packet
  117. when: on_success
  118. packet_opensuse-canal:
  119. stage: deploy-part2
  120. extends: .packet
  121. when: on_success
  122. packet_oracle7-canal-ha:
  123. stage: deploy-part2
  124. extends: .packet
  125. when: manual
  126. packet_ubuntu16-kube-router-sep:
  127. stage: deploy-part2
  128. extends: .packet
  129. when: manual
  130. packet_amazon-linux-2-aio:
  131. stage: deploy-part2
  132. extends: .packet
  133. when: manual
  134. # ### PR JOBS PART3
  135. # Long jobs (45min+)
  136. packet_debian9-calico-upgrade:
  137. stage: deploy-part3
  138. extends: .packet
  139. when: on_success
  140. variables:
  141. UPGRADE_TEST: graceful
  142. packet_ubuntu18-calico-ha-recover:
  143. stage: deploy-part3
  144. extends: .packet
  145. when: on_success
  146. variables:
  147. RECOVER_CONTROL_PLANE_TEST: "true"
  148. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
  149. packet_ubuntu18-calico-ha-recover-noquorum:
  150. stage: deploy-part3
  151. extends: .packet
  152. when: on_success
  153. variables:
  154. RECOVER_CONTROL_PLANE_TEST: "true"
  155. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube-master[1:]"