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.

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