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.

302 lines
5.8 KiB

  1. ---
  2. .packet:
  3. extends: .testcases
  4. variables:
  5. ANSIBLE_TIMEOUT: "120"
  6. CI_PLATFORM: packet
  7. SSH_USER: kubespray
  8. tags:
  9. - packet
  10. except: [triggers]
  11. # CI template for PRs
  12. .packet_pr:
  13. only: [/^pr-.*$/]
  14. extends: .packet
  15. # CI template for periodic CI jobs
  16. # Enabled when PERIODIC_CI_ENABLED var is set
  17. .packet_periodic:
  18. only:
  19. variables:
  20. - $PERIODIC_CI_ENABLED
  21. allow_failure: true
  22. extends: .packet
  23. # The ubuntu20-calico-aio jobs are meant as early stages to prevent running the full CI if something is horribly broken
  24. packet_ubuntu20-calico-aio:
  25. stage: deploy-part1
  26. extends: .packet_pr
  27. when: on_success
  28. variables:
  29. RESET_CHECK: "true"
  30. # ### PR JOBS PART2
  31. packet_ubuntu20-aio-docker:
  32. stage: deploy-part2
  33. extends: .packet_pr
  34. when: on_success
  35. packet_ubuntu20-calico-aio-hardening:
  36. stage: deploy-part2
  37. extends: .packet_pr
  38. when: on_success
  39. packet_ubuntu22-aio-docker:
  40. stage: deploy-part2
  41. extends: .packet_pr
  42. when: on_success
  43. packet_ubuntu22-calico-aio:
  44. stage: deploy-part2
  45. extends: .packet_pr
  46. when: on_success
  47. packet_centos7-flannel-addons-ha:
  48. extends: .packet_pr
  49. stage: deploy-part2
  50. when: on_success
  51. packet_almalinux8-crio:
  52. extends: .packet_pr
  53. stage: deploy-part2
  54. when: on_success
  55. packet_ubuntu20-crio:
  56. extends: .packet_pr
  57. stage: deploy-part2
  58. when: manual
  59. packet_fedora35-crio:
  60. extends: .packet_pr
  61. stage: deploy-part2
  62. when: manual
  63. packet_ubuntu20-flannel-ha:
  64. stage: deploy-part2
  65. extends: .packet_pr
  66. when: manual
  67. packet_debian10-cilium-svc-proxy:
  68. stage: deploy-part2
  69. extends: .packet_periodic
  70. when: on_success
  71. packet_debian10-calico:
  72. stage: deploy-part2
  73. extends: .packet_pr
  74. when: on_success
  75. packet_debian10-docker:
  76. stage: deploy-part2
  77. extends: .packet_pr
  78. when: on_success
  79. packet_debian11-calico:
  80. stage: deploy-part2
  81. extends: .packet_pr
  82. when: on_success
  83. packet_debian11-docker:
  84. stage: deploy-part2
  85. extends: .packet_pr
  86. when: on_success
  87. packet_centos7-calico-ha-once-localhost:
  88. stage: deploy-part2
  89. extends: .packet_pr
  90. when: on_success
  91. variables:
  92. # This will instruct Docker not to start over TLS.
  93. DOCKER_TLS_CERTDIR: ""
  94. services:
  95. - docker:19.03.9-dind
  96. packet_almalinux8-kube-ovn:
  97. stage: deploy-part2
  98. extends: .packet_pr
  99. when: on_success
  100. packet_almalinux8-calico:
  101. stage: deploy-part2
  102. extends: .packet_pr
  103. when: on_success
  104. packet_rockylinux8-calico:
  105. stage: deploy-part2
  106. extends: .packet_pr
  107. when: on_success
  108. packet_rockylinux9-calico:
  109. stage: deploy-part2
  110. extends: .packet_pr
  111. when: on_success
  112. packet_rockylinux9-cilium:
  113. stage: deploy-part2
  114. extends: .packet_pr
  115. when: on_success
  116. variables:
  117. RESET_CHECK: "true"
  118. packet_almalinux8-docker:
  119. stage: deploy-part2
  120. extends: .packet_pr
  121. when: on_success
  122. packet_fedora36-docker-weave:
  123. stage: deploy-part2
  124. extends: .packet_pr
  125. when: on_success
  126. packet_opensuse-docker-cilium:
  127. stage: deploy-part2
  128. extends: .packet_pr
  129. when: manual
  130. # ### MANUAL JOBS
  131. packet_ubuntu20-docker-weave-sep:
  132. stage: deploy-part2
  133. extends: .packet_pr
  134. when: manual
  135. packet_ubuntu20-cilium-sep:
  136. stage: deploy-special
  137. extends: .packet_pr
  138. when: manual
  139. packet_ubuntu20-flannel-ha-once:
  140. stage: deploy-part2
  141. extends: .packet_pr
  142. when: manual
  143. # Calico HA eBPF
  144. packet_almalinux8-calico-ha-ebpf:
  145. stage: deploy-part2
  146. extends: .packet_pr
  147. when: manual
  148. packet_debian10-macvlan:
  149. stage: deploy-part2
  150. extends: .packet_pr
  151. when: manual
  152. packet_centos7-calico-ha:
  153. stage: deploy-part2
  154. extends: .packet_pr
  155. when: manual
  156. packet_centos7-multus-calico:
  157. stage: deploy-part2
  158. extends: .packet_pr
  159. when: manual
  160. packet_fedora36-docker-calico:
  161. stage: deploy-part2
  162. extends: .packet_periodic
  163. when: on_success
  164. variables:
  165. RESET_CHECK: "true"
  166. packet_fedora35-calico-selinux:
  167. stage: deploy-part2
  168. extends: .packet_periodic
  169. when: on_success
  170. packet_fedora35-calico-swap-selinux:
  171. stage: deploy-part2
  172. extends: .packet_pr
  173. when: manual
  174. packet_amazon-linux-2-aio:
  175. stage: deploy-part2
  176. extends: .packet_pr
  177. when: manual
  178. packet_almalinux8-calico-nodelocaldns-secondary:
  179. stage: deploy-part2
  180. extends: .packet_pr
  181. when: manual
  182. packet_fedora36-kube-ovn:
  183. stage: deploy-part2
  184. extends: .packet_periodic
  185. when: on_success
  186. packet_debian11-custom-cni:
  187. stage: deploy-part2
  188. extends: .packet_pr
  189. when: manual
  190. packet_debian11-kubelet-csr-approver:
  191. stage: deploy-part2
  192. extends: .packet_pr
  193. when: manual
  194. # ### PR JOBS PART3
  195. # Long jobs (45min+)
  196. packet_centos7-weave-upgrade-ha:
  197. stage: deploy-part3
  198. extends: .packet_periodic
  199. when: on_success
  200. variables:
  201. UPGRADE_TEST: basic
  202. packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha:
  203. stage: deploy-part3
  204. extends: .packet_periodic
  205. when: on_success
  206. variables:
  207. UPGRADE_TEST: basic
  208. # Calico HA Wireguard
  209. packet_ubuntu20-calico-ha-wireguard:
  210. stage: deploy-part2
  211. extends: .packet_pr
  212. when: manual
  213. packet_debian11-calico-upgrade:
  214. stage: deploy-part3
  215. extends: .packet_pr
  216. when: on_success
  217. variables:
  218. UPGRADE_TEST: graceful
  219. packet_almalinux8-calico-remove-node:
  220. stage: deploy-part3
  221. extends: .packet_pr
  222. when: on_success
  223. variables:
  224. REMOVE_NODE_CHECK: "true"
  225. REMOVE_NODE_NAME: "instance-3"
  226. packet_ubuntu20-calico-etcd-kubeadm:
  227. stage: deploy-part3
  228. extends: .packet_pr
  229. when: on_success
  230. packet_debian11-calico-upgrade-once:
  231. stage: deploy-part3
  232. extends: .packet_periodic
  233. when: on_success
  234. variables:
  235. UPGRADE_TEST: graceful
  236. packet_ubuntu20-calico-ha-recover:
  237. stage: deploy-part3
  238. extends: .packet_periodic
  239. when: on_success
  240. variables:
  241. RECOVER_CONTROL_PLANE_TEST: "true"
  242. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube_control_plane[1:]"
  243. packet_ubuntu20-calico-ha-recover-noquorum:
  244. stage: deploy-part3
  245. extends: .packet_periodic
  246. when: on_success
  247. variables:
  248. RECOVER_CONTROL_PLANE_TEST: "true"
  249. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube_control_plane[1:]"