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.

257 lines
4.9 KiB

  1. ---
  2. .packet:
  3. extends: .testcases
  4. variables:
  5. CI_PLATFORM: packet
  6. SSH_USER: kubespray
  7. tags:
  8. - packet
  9. except: [triggers]
  10. # CI template for PRs
  11. .packet_pr:
  12. only: [/^pr-.*$/]
  13. extends: .packet
  14. # CI template for periodic CI jobs
  15. # Enabled when PERIODIC_CI_ENABLED var is set
  16. .packet_periodic:
  17. only:
  18. variables:
  19. - $PERIODIC_CI_ENABLED
  20. allow_failure: true
  21. extends: .packet
  22. packet_ubuntu18-calico-aio:
  23. stage: deploy-part1
  24. extends: .packet_pr
  25. when: on_success
  26. # Future AIO job
  27. packet_ubuntu20-calico-aio:
  28. stage: deploy-part1
  29. extends: .packet_pr
  30. when: on_success
  31. # ### PR JOBS PART2
  32. packet_centos7-flannel-containerd-addons-ha:
  33. extends: .packet_pr
  34. stage: deploy-part2
  35. when: on_success
  36. variables:
  37. MITOGEN_ENABLE: "true"
  38. allow_failure: true
  39. packet_centos8-crio:
  40. extends: .packet_pr
  41. stage: deploy-part2
  42. when: on_success
  43. packet_ubuntu18-crio:
  44. extends: .packet_pr
  45. stage: deploy-part2
  46. when: manual
  47. variables:
  48. MITOGEN_ENABLE: "true"
  49. packet_ubuntu16-canal-kubeadm-ha:
  50. stage: deploy-part2
  51. extends: .packet_periodic
  52. when: on_success
  53. packet_ubuntu16-canal-sep:
  54. stage: deploy-special
  55. extends: .packet_pr
  56. when: manual
  57. packet_ubuntu16-flannel-ha:
  58. stage: deploy-part2
  59. extends: .packet_pr
  60. when: manual
  61. packet_ubuntu16-kube-router-sep:
  62. stage: deploy-part2
  63. extends: .packet_pr
  64. when: manual
  65. packet_ubuntu16-kube-router-svc-proxy:
  66. stage: deploy-part2
  67. extends: .packet_pr
  68. when: manual
  69. packet_debian10-cilium-svc-proxy:
  70. stage: deploy-part2
  71. extends: .packet_periodic
  72. when: on_success
  73. packet_debian10-containerd:
  74. stage: deploy-part2
  75. extends: .packet_pr
  76. when: on_success
  77. variables:
  78. MITOGEN_ENABLE: "true"
  79. packet_debian11-calico:
  80. stage: deploy-part2
  81. extends: .packet_pr
  82. when: on_success
  83. packet_centos7-calico-ha-once-localhost:
  84. stage: deploy-part2
  85. extends: .packet_pr
  86. when: on_success
  87. variables:
  88. # This will instruct Docker not to start over TLS.
  89. DOCKER_TLS_CERTDIR: ""
  90. services:
  91. - docker:19.03.9-dind
  92. packet_centos8-kube-ovn:
  93. stage: deploy-part2
  94. extends: .packet_periodic
  95. when: on_success
  96. packet_centos8-calico:
  97. stage: deploy-part2
  98. extends: .packet_pr
  99. when: on_success
  100. packet_fedora34-weave:
  101. stage: deploy-part2
  102. extends: .packet_pr
  103. when: on_success
  104. packet_opensuse-canal:
  105. stage: deploy-part2
  106. extends: .packet_periodic
  107. when: on_success
  108. packet_ubuntu18-ovn4nfv:
  109. stage: deploy-part2
  110. extends: .packet_periodic
  111. when: on_success
  112. # ### MANUAL JOBS
  113. packet_ubuntu16-weave-sep:
  114. stage: deploy-part2
  115. extends: .packet_pr
  116. when: manual
  117. packet_ubuntu18-cilium-sep:
  118. stage: deploy-special
  119. extends: .packet_pr
  120. when: manual
  121. packet_ubuntu18-flannel-containerd-ha:
  122. stage: deploy-part2
  123. extends: .packet_pr
  124. when: manual
  125. packet_ubuntu18-flannel-containerd-ha-once:
  126. stage: deploy-part2
  127. extends: .packet_pr
  128. when: manual
  129. # Calico HA eBPF
  130. packet_centos8-calico-ha-ebpf:
  131. stage: deploy-part2
  132. extends: .packet_pr
  133. when: manual
  134. packet_debian9-macvlan:
  135. stage: deploy-part2
  136. extends: .packet_pr
  137. when: manual
  138. packet_centos7-calico-ha:
  139. stage: deploy-part2
  140. extends: .packet_pr
  141. when: manual
  142. packet_centos7-kube-router:
  143. stage: deploy-part2
  144. extends: .packet_pr
  145. when: manual
  146. packet_centos7-multus-calico:
  147. stage: deploy-part2
  148. extends: .packet_pr
  149. when: manual
  150. packet_oracle7-canal-ha:
  151. stage: deploy-part2
  152. extends: .packet_pr
  153. when: manual
  154. packet_fedora33-calico:
  155. stage: deploy-part2
  156. extends: .packet_periodic
  157. when: on_success
  158. packet_fedora34-calico-selinux:
  159. stage: deploy-part2
  160. extends: .packet_periodic
  161. when: on_success
  162. packet_amazon-linux-2-aio:
  163. stage: deploy-part2
  164. extends: .packet_pr
  165. when: manual
  166. packet_fedora34-kube-ovn-containerd:
  167. stage: deploy-part2
  168. extends: .packet_periodic
  169. when: on_success
  170. # ### PR JOBS PART3
  171. # Long jobs (45min+)
  172. packet_centos7-weave-upgrade-ha:
  173. stage: deploy-part3
  174. extends: .packet_periodic
  175. when: on_success
  176. variables:
  177. UPGRADE_TEST: basic
  178. MITOGEN_ENABLE: "false"
  179. # Calico HA Wireguard
  180. packet_ubuntu20-calico-ha-wireguard:
  181. stage: deploy-part2
  182. extends: .packet_pr
  183. when: manual
  184. variables:
  185. MITOGEN_ENABLE: "true"
  186. packet_debian9-calico-upgrade:
  187. stage: deploy-part3
  188. extends: .packet_pr
  189. when: on_success
  190. variables:
  191. UPGRADE_TEST: graceful
  192. MITOGEN_ENABLE: "false"
  193. packet_debian9-calico-upgrade-once:
  194. stage: deploy-part3
  195. extends: .packet_periodic
  196. when: on_success
  197. variables:
  198. UPGRADE_TEST: graceful
  199. MITOGEN_ENABLE: "false"
  200. packet_ubuntu18-calico-ha-recover:
  201. stage: deploy-part3
  202. extends: .packet_periodic
  203. when: on_success
  204. variables:
  205. RECOVER_CONTROL_PLANE_TEST: "true"
  206. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube_control_plane[1:]"
  207. packet_ubuntu18-calico-ha-recover-noquorum:
  208. stage: deploy-part3
  209. extends: .packet_periodic
  210. when: on_success
  211. variables:
  212. RECOVER_CONTROL_PLANE_TEST: "true"
  213. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube_control_plane[1:]"