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.

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