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.

229 lines
4.2 KiB

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