Browse Source

Merge pull request #3162 from kubernetes-incubator/add-ubuntu1804-ci

Add ubuntu18 ci job
pull/3165/head
Antoine Legrand 6 years ago
committed by GitHub
parent
commit
32049efbc2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 1 deletions
  1. 17
      .gitlab-ci.yml
  2. 14
      tests/files/gce_ubuntu18-flannel-aio.yml

17
.gitlab-ci.yml

@ -240,6 +240,10 @@ before_script:
# stage: deploy-part1 # stage: deploy-part1
MOVED_TO_GROUP_VARS: "true" MOVED_TO_GROUP_VARS: "true"
.ubuntu18_flannel_aio_variables: &ubuntu18_flannel_aio_variables
# stage: deploy-part1
MOVED_TO_GROUP_VARS: "true"
.ubuntu_canal_ha_variables: &ubuntu_canal_ha_variables .ubuntu_canal_ha_variables: &ubuntu_canal_ha_variables
# stage: deploy-part1 # stage: deploy-part1
UPGRADE_TEST: "graceful" UPGRADE_TEST: "graceful"
@ -263,7 +267,7 @@ before_script:
.ubuntu_cilium_sep_variables: &ubuntu_cilium_sep_variables .ubuntu_cilium_sep_variables: &ubuntu_cilium_sep_variables
# stage: deploy-special # stage: deploy-special
MOVED_TO_GROUP_VARS: "true" MOVED_TO_GROUP_VARS: "true"
.rhel7_weave_variables: &rhel7_weave_variables .rhel7_weave_variables: &rhel7_weave_variables
# stage: deploy-part1 # stage: deploy-part1
MOVED_TO_GROUP_VARS: "true" MOVED_TO_GROUP_VARS: "true"
@ -330,6 +334,17 @@ gce_coreos-calico-aio:
except: ['triggers'] except: ['triggers']
only: [/^pr-.*$/] only: [/^pr-.*$/]
gce_ubuntu18-flannel-aio:
stage: deploy-part1
<<: *job
<<: *gce
variables:
<<: *ubuntu18_flannel_aio_variables
<<: *gce_variables
when: on_success
except: ['triggers']
only: [/^pr-.*$/]
### PR JOBS PART2 ### PR JOBS PART2
gce_centos7-flannel-addons: gce_centos7-flannel-addons:
stage: deploy-part2 stage: deploy-part2

14
tests/files/gce_ubuntu18-flannel-aio.yml

@ -0,0 +1,14 @@
# Instance settings
cloud_image_family: ubuntu-1804-lts
cloud_region: us-central1-a
cloud_machine_type: "n1-standard-2"
mode: aio
# Deployment settings
bootstrap_os: ubuntu
kube_network_plugin: flannel
deploy_netchecker: true
kubedns_min_replicas: 1
cloud_provider: gce
Loading…
Cancel
Save