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.

236 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_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. # ### MANUAL JOBS
  110. packet_ubuntu16-weave-sep:
  111. stage: deploy-part2
  112. extends: .packet_pr
  113. when: manual
  114. packet_ubuntu18-cilium-sep:
  115. stage: deploy-special
  116. extends: .packet_pr
  117. when: manual
  118. packet_ubuntu18-flannel-containerd-ha:
  119. stage: deploy-part2
  120. extends: .packet_pr
  121. when: manual
  122. packet_ubuntu18-flannel-containerd-ha-once:
  123. stage: deploy-part2
  124. extends: .packet_pr
  125. when: manual
  126. packet_debian9-macvlan:
  127. stage: deploy-part2
  128. extends: .packet_pr
  129. when: manual
  130. packet_centos7-calico-ha:
  131. stage: deploy-part2
  132. extends: .packet_pr
  133. when: manual
  134. packet_centos7-kube-router:
  135. stage: deploy-part2
  136. extends: .packet_pr
  137. when: manual
  138. packet_centos7-multus-calico:
  139. stage: deploy-part2
  140. extends: .packet_pr
  141. when: manual
  142. packet_oracle7-canal-ha:
  143. stage: deploy-part2
  144. extends: .packet_pr
  145. when: manual
  146. packet_fedora33-calico:
  147. stage: deploy-part2
  148. extends: .packet_periodic
  149. when: on_success
  150. variables:
  151. MITOGEN_ENABLE: "true"
  152. packet_amazon-linux-2-aio:
  153. stage: deploy-part2
  154. extends: .packet_pr
  155. when: manual
  156. packet_fedora32-kube-ovn-containerd:
  157. stage: deploy-part2
  158. extends: .packet_periodic
  159. when: on_success
  160. # ### PR JOBS PART3
  161. # Long jobs (45min+)
  162. packet_centos7-weave-upgrade-ha:
  163. stage: deploy-part3
  164. extends: .packet_periodic
  165. when: on_success
  166. variables:
  167. UPGRADE_TEST: basic
  168. MITOGEN_ENABLE: "false"
  169. packet_debian9-calico-upgrade:
  170. stage: deploy-part3
  171. extends: .packet_pr
  172. when: on_success
  173. variables:
  174. UPGRADE_TEST: graceful
  175. MITOGEN_ENABLE: "false"
  176. packet_debian9-calico-upgrade-once:
  177. stage: deploy-part3
  178. extends: .packet_periodic
  179. when: on_success
  180. variables:
  181. UPGRADE_TEST: graceful
  182. MITOGEN_ENABLE: "false"
  183. packet_ubuntu18-calico-ha-recover:
  184. stage: deploy-part3
  185. extends: .packet_periodic
  186. when: on_success
  187. variables:
  188. RECOVER_CONTROL_PLANE_TEST: "true"
  189. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
  190. packet_ubuntu18-calico-ha-recover-noquorum:
  191. stage: deploy-part3
  192. extends: .packet_periodic
  193. when: on_success
  194. variables:
  195. RECOVER_CONTROL_PLANE_TEST: "true"
  196. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube-master[1:]"