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.

234 lines
4.5 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. packet_centos8-crio:
  39. extends: .packet_pr
  40. stage: deploy-part2
  41. when: on_success
  42. packet_ubuntu18-crio:
  43. extends: .packet_pr
  44. stage: deploy-part2
  45. when: manual
  46. variables:
  47. MITOGEN_ENABLE: "true"
  48. packet_ubuntu16-canal-kubeadm-ha:
  49. stage: deploy-part2
  50. extends: .packet_periodic
  51. when: on_success
  52. packet_ubuntu16-canal-sep:
  53. stage: deploy-special
  54. extends: .packet_pr
  55. when: manual
  56. packet_ubuntu16-flannel-ha:
  57. stage: deploy-part2
  58. extends: .packet_pr
  59. when: manual
  60. packet_ubuntu16-kube-router-sep:
  61. stage: deploy-part2
  62. extends: .packet_pr
  63. when: manual
  64. packet_ubuntu16-kube-router-svc-proxy:
  65. stage: deploy-part2
  66. extends: .packet_pr
  67. when: manual
  68. packet_debian10-cilium-svc-proxy:
  69. stage: deploy-part2
  70. extends: .packet_periodic
  71. when: on_success
  72. packet_debian10-containerd:
  73. stage: deploy-part2
  74. extends: .packet_pr
  75. when: on_success
  76. variables:
  77. MITOGEN_ENABLE: "true"
  78. packet_centos7-calico-ha-once-localhost:
  79. stage: deploy-part2
  80. extends: .packet_pr
  81. when: on_success
  82. variables:
  83. # This will instruct Docker not to start over TLS.
  84. DOCKER_TLS_CERTDIR: ""
  85. services:
  86. - docker:19.03.9-dind
  87. packet_centos8-kube-ovn:
  88. stage: deploy-part2
  89. extends: .packet_periodic
  90. when: on_success
  91. packet_centos8-calico:
  92. stage: deploy-part2
  93. extends: .packet_pr
  94. when: on_success
  95. packet_fedora34-weave:
  96. stage: deploy-part2
  97. extends: .packet_pr
  98. when: on_success
  99. packet_opensuse-canal:
  100. stage: deploy-part2
  101. extends: .packet_periodic
  102. when: on_success
  103. packet_ubuntu18-ovn4nfv:
  104. stage: deploy-part2
  105. extends: .packet_periodic
  106. when: on_success
  107. # ### MANUAL JOBS
  108. packet_ubuntu16-weave-sep:
  109. stage: deploy-part2
  110. extends: .packet_pr
  111. when: manual
  112. packet_ubuntu18-cilium-sep:
  113. stage: deploy-special
  114. extends: .packet_pr
  115. when: manual
  116. packet_ubuntu18-flannel-containerd-ha:
  117. stage: deploy-part2
  118. extends: .packet_pr
  119. when: manual
  120. packet_ubuntu18-flannel-containerd-ha-once:
  121. stage: deploy-part2
  122. extends: .packet_pr
  123. when: manual
  124. packet_debian9-macvlan:
  125. stage: deploy-part2
  126. extends: .packet_pr
  127. when: manual
  128. packet_centos7-calico-ha:
  129. stage: deploy-part2
  130. extends: .packet_pr
  131. when: manual
  132. packet_centos7-kube-router:
  133. stage: deploy-part2
  134. extends: .packet_pr
  135. when: manual
  136. packet_centos7-multus-calico:
  137. stage: deploy-part2
  138. extends: .packet_pr
  139. when: manual
  140. packet_oracle7-canal-ha:
  141. stage: deploy-part2
  142. extends: .packet_pr
  143. when: manual
  144. packet_fedora33-calico:
  145. stage: deploy-part2
  146. extends: .packet_periodic
  147. when: on_success
  148. variables:
  149. MITOGEN_ENABLE: "true"
  150. packet_amazon-linux-2-aio:
  151. stage: deploy-part2
  152. extends: .packet_pr
  153. when: manual
  154. packet_fedora34-kube-ovn-containerd:
  155. stage: deploy-part2
  156. extends: .packet_periodic
  157. when: on_success
  158. # ### PR JOBS PART3
  159. # Long jobs (45min+)
  160. packet_centos7-weave-upgrade-ha:
  161. stage: deploy-part3
  162. extends: .packet_periodic
  163. when: on_success
  164. variables:
  165. UPGRADE_TEST: basic
  166. MITOGEN_ENABLE: "false"
  167. packet_debian9-calico-upgrade:
  168. stage: deploy-part3
  169. extends: .packet_pr
  170. when: on_success
  171. variables:
  172. UPGRADE_TEST: graceful
  173. MITOGEN_ENABLE: "false"
  174. packet_debian9-calico-upgrade-once:
  175. stage: deploy-part3
  176. extends: .packet_periodic
  177. when: on_success
  178. variables:
  179. UPGRADE_TEST: graceful
  180. MITOGEN_ENABLE: "false"
  181. packet_ubuntu18-calico-ha-recover:
  182. stage: deploy-part3
  183. extends: .packet_periodic
  184. when: on_success
  185. variables:
  186. RECOVER_CONTROL_PLANE_TEST: "true"
  187. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube_control_plane[1:]"
  188. packet_ubuntu18-calico-ha-recover-noquorum:
  189. stage: deploy-part3
  190. extends: .packet_periodic
  191. when: on_success
  192. variables:
  193. RECOVER_CONTROL_PLANE_TEST: "true"
  194. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube_control_plane[1:]"