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.

224 lines
4.1 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_fedora30-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. # Contiv does not work in k8s v1.16
  95. # packet_ubuntu16-contiv-sep:
  96. # stage: deploy-part2
  97. # extends: .packet
  98. # when: on_success
  99. # ### MANUAL JOBS
  100. packet_ubuntu16-weave-sep:
  101. stage: deploy-part2
  102. extends: .packet
  103. when: manual
  104. packet_ubuntu18-cilium-sep:
  105. stage: deploy-special
  106. extends: .packet
  107. when: manual
  108. packet_ubuntu18-flannel-containerd-ha:
  109. stage: deploy-part2
  110. extends: .packet
  111. when: manual
  112. packet_ubuntu18-flannel-containerd-ha-once:
  113. stage: deploy-part2
  114. extends: .packet
  115. when: manual
  116. packet_debian9-macvlan:
  117. stage: deploy-part2
  118. extends: .packet
  119. when: manual
  120. packet_centos7-calico-ha:
  121. stage: deploy-part2
  122. extends: .packet
  123. when: manual
  124. packet_centos7-kube-router:
  125. stage: deploy-part2
  126. extends: .packet
  127. when: manual
  128. packet_centos7-multus-calico:
  129. stage: deploy-part2
  130. extends: .packet
  131. when: manual
  132. packet_oracle7-canal-ha:
  133. stage: deploy-part2
  134. extends: .packet
  135. when: manual
  136. packet_fedora31-flannel:
  137. stage: deploy-part2
  138. extends: .packet
  139. when: on_success
  140. variables:
  141. MITOGEN_ENABLE: "true"
  142. packet_amazon-linux-2-aio:
  143. stage: deploy-part2
  144. extends: .packet
  145. when: manual
  146. packet_fedora30-cilium-containerd:
  147. stage: deploy-part2
  148. extends: .packet
  149. when: on_success
  150. # ### PR JOBS PART3
  151. # Long jobs (45min+)
  152. packet_centos7-weave-upgrade-ha:
  153. stage: deploy-part3
  154. extends: .packet
  155. when: on_success
  156. variables:
  157. UPGRADE_TEST: basic
  158. MITOGEN_ENABLE: "false"
  159. packet_debian9-calico-upgrade:
  160. stage: deploy-part3
  161. extends: .packet
  162. when: on_success
  163. variables:
  164. UPGRADE_TEST: graceful
  165. MITOGEN_ENABLE: "false"
  166. packet_debian9-calico-upgrade-once:
  167. stage: deploy-part3
  168. extends: .packet
  169. when: on_success
  170. variables:
  171. UPGRADE_TEST: graceful
  172. MITOGEN_ENABLE: "false"
  173. packet_ubuntu18-calico-ha-recover:
  174. stage: deploy-part3
  175. extends: .packet
  176. when: on_success
  177. variables:
  178. RECOVER_CONTROL_PLANE_TEST: "true"
  179. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
  180. packet_ubuntu18-calico-ha-recover-noquorum:
  181. stage: deploy-part3
  182. extends: .packet
  183. when: on_success
  184. variables:
  185. RECOVER_CONTROL_PLANE_TEST: "true"
  186. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube-master[1:]"