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.

201 lines
3.7 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_ubuntu18-crio:
  28. extends: .packet
  29. stage: deploy-part2
  30. when: on_success
  31. variables:
  32. MITOGEN_ENABLE: "true"
  33. # ### MANUAL JOBS
  34. packet_centos7-weave-upgrade-ha:
  35. stage: deploy-part3
  36. extends: .packet
  37. when: on_success
  38. variables:
  39. UPGRADE_TEST: basic
  40. MITOGEN_ENABLE: "false"
  41. packet_ubuntu16-weave-sep:
  42. stage: deploy-part2
  43. extends: .packet
  44. when: manual
  45. # # More builds for PRs/merges (manual) and triggers (auto)
  46. packet_ubuntu16-canal-sep:
  47. stage: deploy-special
  48. extends: .packet
  49. when: manual
  50. packet_ubuntu16-canal-kubeadm-ha:
  51. stage: deploy-part2
  52. extends: .packet
  53. when: on_success
  54. packet_ubuntu16-flannel-ha:
  55. stage: deploy-part2
  56. extends: .packet
  57. when: manual
  58. # Contiv does not work in k8s v1.16
  59. # packet_ubuntu16-contiv-sep:
  60. # stage: deploy-part2
  61. # extends: .packet
  62. # when: on_success
  63. packet_ubuntu18-cilium-sep:
  64. stage: deploy-special
  65. extends: .packet
  66. when: manual
  67. packet_ubuntu18-flannel-containerd-ha:
  68. stage: deploy-part2
  69. extends: .packet
  70. when: manual
  71. packet_ubuntu18-flannel-containerd-ha-once:
  72. stage: deploy-part2
  73. extends: .packet
  74. when: manual
  75. packet_debian9-macvlan:
  76. stage: deploy-part2
  77. extends: .packet
  78. when: manual
  79. packet_debian9-calico-upgrade-once:
  80. stage: deploy-part3
  81. extends: .packet
  82. when: on_success
  83. variables:
  84. UPGRADE_TEST: graceful
  85. MITOGEN_ENABLE: "false"
  86. packet_debian10-containerd:
  87. stage: deploy-part2
  88. extends: .packet
  89. when: on_success
  90. variables:
  91. MITOGEN_ENABLE: "true"
  92. packet_centos7-calico-ha:
  93. stage: deploy-part2
  94. extends: .packet
  95. when: manual
  96. packet_centos7-calico-ha-once-localhost:
  97. stage: deploy-part2
  98. extends: .packet
  99. when: on_success
  100. services:
  101. - docker:18.09.9-dind
  102. packet_centos8-kube-ovn:
  103. stage: deploy-part2
  104. extends: .packet
  105. when: on_success
  106. packet_fedora30-weave:
  107. stage: deploy-part2
  108. extends: .packet
  109. when: on_success
  110. packet_fedora31-flannel:
  111. stage: deploy-part2
  112. extends: .packet
  113. when: on_success
  114. variables:
  115. MITOGEN_ENABLE: "true"
  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_centos8-calico:
  125. stage: deploy-part2
  126. extends: .packet
  127. when: on_success
  128. packet_opensuse-canal:
  129. stage: deploy-part2
  130. extends: .packet
  131. when: on_success
  132. packet_oracle7-canal-ha:
  133. stage: deploy-part2
  134. extends: .packet
  135. when: manual
  136. packet_ubuntu16-kube-router-sep:
  137. stage: deploy-part2
  138. extends: .packet
  139. when: manual
  140. packet_amazon-linux-2-aio:
  141. stage: deploy-part2
  142. extends: .packet
  143. when: manual
  144. # ### PR JOBS PART3
  145. # Long jobs (45min+)
  146. packet_debian9-calico-upgrade:
  147. stage: deploy-part3
  148. extends: .packet
  149. when: on_success
  150. variables:
  151. UPGRADE_TEST: graceful
  152. MITOGEN_ENABLE: "false"
  153. packet_ubuntu18-calico-ha-recover:
  154. stage: deploy-part3
  155. extends: .packet
  156. when: on_success
  157. variables:
  158. RECOVER_CONTROL_PLANE_TEST: "true"
  159. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
  160. packet_ubuntu18-calico-ha-recover-noquorum:
  161. stage: deploy-part3
  162. extends: .packet
  163. when: on_success
  164. variables:
  165. RECOVER_CONTROL_PLANE_TEST: "true"
  166. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube-master[1:]"