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.

240 lines
4.0 KiB

  1. ---
  2. .gce_variables: &gce_variables
  3. GCE_USER: travis
  4. SSH_USER: $GCE_USER
  5. CLOUD_MACHINE_TYPE: "g1-small"
  6. CI_PLATFORM: "gce"
  7. PRIVATE_KEY: $GCE_PRIVATE_KEY
  8. .cache: &cache
  9. cache:
  10. key: "$CI_BUILD_REF_NAME"
  11. paths:
  12. - downloads/
  13. - $HOME/.cache
  14. .gce: &gce
  15. extends: .testcases
  16. <<: *cache
  17. variables:
  18. <<: *gce_variables
  19. tags:
  20. - gce
  21. except: ['triggers']
  22. only: [/^pr-.*$/]
  23. .centos_weave_kubeadm_variables: &centos_weave_kubeadm_variables
  24. # stage: deploy-part1
  25. UPGRADE_TEST: "graceful"
  26. .centos7_multus_calico_variables: &centos7_multus_calico_variables
  27. # stage: deploy-gce
  28. UPGRADE_TEST: "graceful"
  29. # Builds for PRs only (premoderated by unit-tests step) and triggers (auto)
  30. ### PR JOBS PART1
  31. gce_ubuntu18-flannel-aio:
  32. stage: deploy-part1
  33. <<: *gce
  34. when: manual
  35. ### PR JOBS PART2
  36. gce_coreos-calico-aio:
  37. stage: deploy-gce
  38. <<: *gce
  39. when: on_success
  40. gce_centos7-flannel-addons:
  41. stage: deploy-gce
  42. <<: *gce
  43. when: manual
  44. ### MANUAL JOBS
  45. gce_centos-weave-kubeadm-sep:
  46. stage: deploy-gce
  47. extends: .gce
  48. variables:
  49. <<: *centos_weave_kubeadm_variables
  50. when: on_success
  51. only: ['triggers']
  52. except: []
  53. gce_ubuntu-weave-sep:
  54. stage: deploy-gce
  55. <<: *gce
  56. when: manual
  57. only: ['triggers']
  58. except: []
  59. gce_coreos-calico-sep-triggers:
  60. stage: deploy-gce
  61. <<: *gce
  62. when: on_success
  63. only: ['triggers']
  64. except: []
  65. gce_ubuntu-canal-ha-triggers:
  66. stage: deploy-special
  67. <<: *gce
  68. when: on_success
  69. only: ['triggers']
  70. except: []
  71. gce_centos7-flannel-addons-triggers:
  72. stage: deploy-gce
  73. <<: *gce
  74. when: on_success
  75. only: ['triggers']
  76. except: []
  77. gce_ubuntu-weave-sep-triggers:
  78. stage: deploy-gce
  79. <<: *gce
  80. when: on_success
  81. only: ['triggers']
  82. except: []
  83. # More builds for PRs/merges (manual) and triggers (auto)
  84. gce_ubuntu-canal-ha:
  85. stage: deploy-special
  86. <<: *gce
  87. when: manual
  88. gce_ubuntu-canal-kubeadm:
  89. stage: deploy-gce
  90. <<: *gce
  91. when: manual
  92. gce_ubuntu-canal-kubeadm-triggers:
  93. stage: deploy-gce
  94. <<: *gce
  95. when: on_success
  96. only: ['triggers']
  97. except: []
  98. gce_ubuntu-flannel-ha:
  99. stage: deploy-gce
  100. <<: *gce
  101. when: manual
  102. gce_centos-weave-kubeadm-triggers:
  103. stage: deploy-gce
  104. extends: .gce
  105. variables:
  106. <<: *centos_weave_kubeadm_variables
  107. when: on_success
  108. only: ['triggers']
  109. except: []
  110. gce_ubuntu-contiv-sep:
  111. stage: deploy-special
  112. <<: *gce
  113. when: manual
  114. gce_coreos-cilium:
  115. stage: deploy-special
  116. <<: *gce
  117. when: manual
  118. gce_ubuntu18-cilium-sep:
  119. stage: deploy-special
  120. <<: *gce
  121. when: manual
  122. gce_rhel7-weave:
  123. stage: deploy-gce
  124. <<: *gce
  125. when: manual
  126. gce_rhel7-weave-triggers:
  127. stage: deploy-gce
  128. <<: *gce
  129. when: on_success
  130. only: ['triggers']
  131. except: []
  132. gce_debian9-calico-upgrade:
  133. stage: deploy-gce
  134. <<: *gce
  135. when: manual
  136. gce_debian9-calico-triggers:
  137. stage: deploy-gce
  138. <<: *gce
  139. when: on_success
  140. only: ['triggers']
  141. except: []
  142. gce_coreos-canal:
  143. stage: deploy-gce
  144. <<: *gce
  145. when: manual
  146. gce_coreos-canal-triggers:
  147. stage: deploy-gce
  148. <<: *gce
  149. when: on_success
  150. only: ['triggers']
  151. except: []
  152. gce_rhel7-canal-sep:
  153. stage: deploy-special
  154. <<: *gce
  155. when: manual
  156. gce_rhel7-canal-sep-triggers:
  157. stage: deploy-gce
  158. <<: *gce
  159. when: on_success
  160. only: ['triggers']
  161. except: []
  162. gce_centos7-calico-ha:
  163. stage: deploy-special
  164. <<: *gce
  165. when: manual
  166. gce_centos7-calico-ha-triggers:
  167. stage: deploy-gce
  168. <<: *gce
  169. when: on_success
  170. only: ['triggers']
  171. except: []
  172. gce_centos7-kube-router:
  173. stage: deploy-special
  174. <<: *gce
  175. when: manual
  176. gce_centos7-multus-calico:
  177. stage: deploy-gce
  178. extends: .gce
  179. variables:
  180. <<: *centos7_multus_calico_variables
  181. when: manual
  182. gce_opensuse-canal:
  183. stage: deploy-gce
  184. <<: *gce
  185. when: manual
  186. # no triggers yet https://github.com/kubernetes-incubator/kargo/issues/613
  187. gce_coreos-alpha-weave-ha:
  188. stage: deploy-special
  189. <<: *gce
  190. when: manual
  191. gce_coreos-kube-router:
  192. stage: deploy-special
  193. <<: *gce
  194. when: manual
  195. gce_ubuntu-kube-router-sep:
  196. stage: deploy-special
  197. <<: *gce
  198. when: manual