Skip to content

Commit 1f4ef0e

Browse files
floryutMiouge1electrocucarachap37ruh4caruccio
authored
[2.13] Backport recent bugfixes and mainly docker-cli issue (#6179)
* Reorder tests in packet file (#6067) * Skip molecule tests for Ubuntu 18.04 (#6077) * Fix kubernetes-dashboard template identation (#6066) The 98e7a07 commit udpates the dashboard version to 2.0.0 but it enable skip login flag wasn't updated. This change updates its identation to avoid issues when dashboard_skip_login is enabled. * Disable OVH CI (#6114) * Create namespace when dashboard deployment uses customized namespace. (#6107) * Create namespace when dashboard deployment uses customized namespace. * Fix syntax. * Fix apiserver port when upgrading (#6136) * Fix docker fedora packages (#6097) * Match docker-cli version with docker-engine version (when available) * Disable upgrade jobs to allow release 2.13.1 (docker-cli bug) Co-authored-by: Maxime Guyot <[email protected]> Co-authored-by: Victor Morales <[email protected]> Co-authored-by: petruha <[email protected]> Co-authored-by: Mateus Caruccio <[email protected]>
1 parent 01dbc90 commit 1f4ef0e

File tree

16 files changed

+220
-170
lines changed

16 files changed

+220
-170
lines changed

.gitlab-ci/packet.yml

Lines changed: 68 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -29,91 +29,47 @@ packet_centos7-flannel-containerd-addons-ha:
2929
variables:
3030
MITOGEN_ENABLE: "true"
3131

32-
packet_ubuntu18-crio:
32+
packet_centos7-crio:
3333
extends: .packet
3434
stage: deploy-part2
3535
when: on_success
3636
variables:
3737
MITOGEN_ENABLE: "true"
3838

39-
# ### MANUAL JOBS
40-
41-
packet_centos7-weave-upgrade-ha:
42-
stage: deploy-part3
39+
packet_ubuntu18-crio:
4340
extends: .packet
44-
when: on_success
45-
variables:
46-
UPGRADE_TEST: basic
47-
MITOGEN_ENABLE: "false"
48-
49-
packet_ubuntu16-weave-sep:
5041
stage: deploy-part2
51-
extends: .packet
52-
when: manual
53-
54-
# # More builds for PRs/merges (manual) and triggers (auto)
55-
56-
packet_ubuntu16-canal-sep:
57-
stage: deploy-special
58-
extends: .packet
5942
when: manual
43+
variables:
44+
MITOGEN_ENABLE: "true"
6045

6146
packet_ubuntu16-canal-kubeadm-ha:
6247
stage: deploy-part2
6348
extends: .packet
6449
when: on_success
6550

66-
packet_ubuntu16-flannel-ha:
67-
stage: deploy-part2
68-
extends: .packet
69-
when: manual
70-
71-
# Contiv does not work in k8s v1.16
72-
# packet_ubuntu16-contiv-sep:
73-
# stage: deploy-part2
74-
# extends: .packet
75-
# when: on_success
76-
77-
packet_ubuntu18-cilium-sep:
51+
packet_ubuntu16-canal-sep:
7852
stage: deploy-special
7953
extends: .packet
8054
when: manual
8155

82-
packet_ubuntu18-flannel-containerd-ha:
83-
stage: deploy-part2
84-
extends: .packet
85-
when: manual
86-
87-
packet_ubuntu18-flannel-containerd-ha-once:
56+
packet_ubuntu16-flannel-ha:
8857
stage: deploy-part2
8958
extends: .packet
9059
when: manual
9160

92-
packet_debian9-macvlan:
61+
packet_ubuntu16-kube-router-sep:
9362
stage: deploy-part2
9463
extends: .packet
9564
when: manual
9665

97-
packet_debian9-calico-upgrade-once:
98-
stage: deploy-part3
99-
extends: .packet
100-
when: on_success
101-
variables:
102-
UPGRADE_TEST: graceful
103-
MITOGEN_ENABLE: "false"
104-
10566
packet_debian10-containerd:
10667
stage: deploy-part2
10768
extends: .packet
10869
when: on_success
10970
variables:
11071
MITOGEN_ENABLE: "true"
11172

112-
packet_centos7-calico-ha:
113-
stage: deploy-part2
114-
extends: .packet
115-
when: manual
116-
11773
packet_centos7-calico-ha-once-localhost:
11874
stage: deploy-part2
11975
extends: .packet
@@ -126,48 +82,81 @@ packet_centos8-kube-ovn:
12682
extends: .packet
12783
when: on_success
12884

85+
packet_centos8-calico:
86+
stage: deploy-part2
87+
extends: .packet
88+
when: on_success
89+
12990
packet_fedora30-weave:
13091
stage: deploy-part2
13192
extends: .packet
13293
when: on_success
13394

134-
packet_fedora31-flannel:
95+
packet_opensuse-canal:
13596
stage: deploy-part2
13697
extends: .packet
13798
when: on_success
138-
variables:
139-
MITOGEN_ENABLE: "true"
14099

141-
packet_centos7-kube-router:
100+
# Contiv does not work in k8s v1.16
101+
# packet_ubuntu16-contiv-sep:
102+
# stage: deploy-part2
103+
# extends: .packet
104+
# when: on_success
105+
106+
# ### MANUAL JOBS
107+
108+
packet_ubuntu16-weave-sep:
142109
stage: deploy-part2
143110
extends: .packet
144111
when: manual
145112

146-
packet_centos7-multus-calico:
113+
packet_ubuntu18-cilium-sep:
114+
stage: deploy-special
115+
extends: .packet
116+
when: manual
117+
118+
packet_ubuntu18-flannel-containerd-ha:
147119
stage: deploy-part2
148120
extends: .packet
149121
when: manual
150122

151-
packet_centos8-calico:
123+
packet_ubuntu18-flannel-containerd-ha-once:
152124
stage: deploy-part2
153125
extends: .packet
154-
when: on_success
126+
when: manual
155127

156-
packet_opensuse-canal:
128+
packet_debian9-macvlan:
157129
stage: deploy-part2
158130
extends: .packet
159-
when: on_success
131+
when: manual
160132

161-
packet_oracle7-canal-ha:
133+
packet_centos7-calico-ha:
162134
stage: deploy-part2
163135
extends: .packet
164136
when: manual
165137

166-
packet_ubuntu16-kube-router-sep:
138+
packet_centos7-kube-router:
139+
stage: deploy-part2
140+
extends: .packet
141+
when: manual
142+
143+
packet_centos7-multus-calico:
144+
stage: deploy-part2
145+
extends: .packet
146+
when: manual
147+
148+
packet_oracle7-canal-ha:
167149
stage: deploy-part2
168150
extends: .packet
169151
when: manual
170152

153+
packet_fedora31-flannel:
154+
stage: deploy-part2
155+
extends: .packet
156+
when: on_success
157+
variables:
158+
MITOGEN_ENABLE: "true"
159+
171160
packet_amazon-linux-2-aio:
172161
stage: deploy-part2
173162
extends: .packet
@@ -176,10 +165,26 @@ packet_amazon-linux-2-aio:
176165
# ### PR JOBS PART3
177166
# Long jobs (45min+)
178167

168+
packet_centos7-weave-upgrade-ha:
169+
stage: deploy-part3
170+
extends: .packet
171+
when: manual
172+
variables:
173+
UPGRADE_TEST: basic
174+
MITOGEN_ENABLE: "false"
175+
179176
packet_debian9-calico-upgrade:
180177
stage: deploy-part3
181178
extends: .packet
182-
when: on_success
179+
when: manual
180+
variables:
181+
UPGRADE_TEST: graceful
182+
MITOGEN_ENABLE: "false"
183+
184+
packet_debian9-calico-upgrade-once:
185+
stage: deploy-part3
186+
extends: .packet
187+
when: manual
183188
variables:
184189
UPGRADE_TEST: graceful
185190
MITOGEN_ENABLE: "false"

.gitlab-ci/terraform.yml

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -98,80 +98,80 @@ tf-validate-aws:
9898
# TF_VAR_public_key_path: ""
9999
# TF_VAR_operating_system: ubuntu_18_04
100100

101-
.ovh_variables: &ovh_variables
102-
OS_AUTH_URL: https://auth.cloud.ovh.net/v3
103-
OS_PROJECT_ID: 8d3cd5d737d74227ace462dee0b903fe
104-
OS_PROJECT_NAME: "9361447987648822"
105-
OS_USER_DOMAIN_NAME: Default
106-
OS_PROJECT_DOMAIN_ID: default
107-
OS_USERNAME: 8XuhBMfkKVrk
108-
OS_REGION_NAME: UK1
109-
OS_INTERFACE: public
110-
OS_IDENTITY_API_VERSION: "3"
101+
# .ovh_variables: &ovh_variables
102+
# OS_AUTH_URL: https://auth.cloud.ovh.net/v3
103+
# OS_PROJECT_ID: 8d3cd5d737d74227ace462dee0b903fe
104+
# OS_PROJECT_NAME: "9361447987648822"
105+
# OS_USER_DOMAIN_NAME: Default
106+
# OS_PROJECT_DOMAIN_ID: default
107+
# OS_USERNAME: 8XuhBMfkKVrk
108+
# OS_REGION_NAME: UK1
109+
# OS_INTERFACE: public
110+
# OS_IDENTITY_API_VERSION: "3"
111111

112-
tf-ovh_cleanup:
113-
stage: unit-tests
114-
tags: [light]
115-
image: python
116-
variables:
117-
<<: *ovh_variables
118-
before_script:
119-
- pip install -r scripts/openstack-cleanup/requirements.txt
120-
script:
121-
- ./scripts/openstack-cleanup/main.py
112+
# tf-ovh_cleanup:
113+
# stage: unit-tests
114+
# tags: [light]
115+
# image: python
116+
# variables:
117+
# <<: *ovh_variables
118+
# before_script:
119+
# - pip install -r scripts/openstack-cleanup/requirements.txt
120+
# script:
121+
# - ./scripts/openstack-cleanup/main.py
122122

123-
tf-ovh_ubuntu18-calico:
124-
extends: .terraform_apply
125-
when: on_success
126-
variables:
127-
<<: *ovh_variables
128-
TF_VERSION: 0.12.24
129-
PROVIDER: openstack
130-
CLUSTER: $CI_COMMIT_REF_NAME
131-
ANSIBLE_TIMEOUT: "60"
132-
SSH_USER: ubuntu
133-
TF_VAR_number_of_k8s_masters: "0"
134-
TF_VAR_number_of_k8s_masters_no_floating_ip: "1"
135-
TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd: "0"
136-
TF_VAR_number_of_etcd: "0"
137-
TF_VAR_number_of_k8s_nodes: "0"
138-
TF_VAR_number_of_k8s_nodes_no_floating_ip: "1"
139-
TF_VAR_number_of_gfs_nodes_no_floating_ip: "0"
140-
TF_VAR_number_of_bastions: "0"
141-
TF_VAR_number_of_k8s_masters_no_etcd: "0"
142-
TF_VAR_use_neutron: "0"
143-
TF_VAR_floatingip_pool: "Ext-Net"
144-
TF_VAR_external_net: "6011fbc9-4cbf-46a4-8452-6890a340b60b"
145-
TF_VAR_network_name: "Ext-Net"
146-
TF_VAR_flavor_k8s_master: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8
147-
TF_VAR_flavor_k8s_node: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8
148-
TF_VAR_image: "Ubuntu 18.04"
149-
TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]'
123+
# tf-ovh_ubuntu18-calico:
124+
# extends: .terraform_apply
125+
# when: on_success
126+
# variables:
127+
# <<: *ovh_variables
128+
# TF_VERSION: 0.12.24
129+
# PROVIDER: openstack
130+
# CLUSTER: $CI_COMMIT_REF_NAME
131+
# ANSIBLE_TIMEOUT: "60"
132+
# SSH_USER: ubuntu
133+
# TF_VAR_number_of_k8s_masters: "0"
134+
# TF_VAR_number_of_k8s_masters_no_floating_ip: "1"
135+
# TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd: "0"
136+
# TF_VAR_number_of_etcd: "0"
137+
# TF_VAR_number_of_k8s_nodes: "0"
138+
# TF_VAR_number_of_k8s_nodes_no_floating_ip: "1"
139+
# TF_VAR_number_of_gfs_nodes_no_floating_ip: "0"
140+
# TF_VAR_number_of_bastions: "0"
141+
# TF_VAR_number_of_k8s_masters_no_etcd: "0"
142+
# TF_VAR_use_neutron: "0"
143+
# TF_VAR_floatingip_pool: "Ext-Net"
144+
# TF_VAR_external_net: "6011fbc9-4cbf-46a4-8452-6890a340b60b"
145+
# TF_VAR_network_name: "Ext-Net"
146+
# TF_VAR_flavor_k8s_master: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8
147+
# TF_VAR_flavor_k8s_node: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8
148+
# TF_VAR_image: "Ubuntu 18.04"
149+
# TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]'
150150

151-
tf-ovh_coreos-calico:
152-
extends: .terraform_apply
153-
when: on_success
154-
variables:
155-
<<: *ovh_variables
156-
TF_VERSION: 0.12.24
157-
PROVIDER: openstack
158-
CLUSTER: $CI_COMMIT_REF_NAME
159-
ANSIBLE_TIMEOUT: "60"
160-
SSH_USER: core
161-
TF_VAR_number_of_k8s_masters: "0"
162-
TF_VAR_number_of_k8s_masters_no_floating_ip: "1"
163-
TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd: "0"
164-
TF_VAR_number_of_etcd: "0"
165-
TF_VAR_number_of_k8s_nodes: "0"
166-
TF_VAR_number_of_k8s_nodes_no_floating_ip: "1"
167-
TF_VAR_number_of_gfs_nodes_no_floating_ip: "0"
168-
TF_VAR_number_of_bastions: "0"
169-
TF_VAR_number_of_k8s_masters_no_etcd: "0"
170-
TF_VAR_use_neutron: "0"
171-
TF_VAR_floatingip_pool: "Ext-Net"
172-
TF_VAR_external_net: "6011fbc9-4cbf-46a4-8452-6890a340b60b"
173-
TF_VAR_network_name: "Ext-Net"
174-
TF_VAR_flavor_k8s_master: "4d4fd037-9493-4f2b-9afe-b542b5248eac" # b2-7
175-
TF_VAR_flavor_k8s_node: "4d4fd037-9493-4f2b-9afe-b542b5248eac" # b2-7
176-
TF_VAR_image: "CoreOS Stable"
177-
TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]'
151+
# tf-ovh_coreos-calico:
152+
# extends: .terraform_apply
153+
# when: on_success
154+
# variables:
155+
# <<: *ovh_variables
156+
# TF_VERSION: 0.12.24
157+
# PROVIDER: openstack
158+
# CLUSTER: $CI_COMMIT_REF_NAME
159+
# ANSIBLE_TIMEOUT: "60"
160+
# SSH_USER: core
161+
# TF_VAR_number_of_k8s_masters: "0"
162+
# TF_VAR_number_of_k8s_masters_no_floating_ip: "1"
163+
# TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd: "0"
164+
# TF_VAR_number_of_etcd: "0"
165+
# TF_VAR_number_of_k8s_nodes: "0"
166+
# TF_VAR_number_of_k8s_nodes_no_floating_ip: "1"
167+
# TF_VAR_number_of_gfs_nodes_no_floating_ip: "0"
168+
# TF_VAR_number_of_bastions: "0"
169+
# TF_VAR_number_of_k8s_masters_no_etcd: "0"
170+
# TF_VAR_use_neutron: "0"
171+
# TF_VAR_floatingip_pool: "Ext-Net"
172+
# TF_VAR_external_net: "6011fbc9-4cbf-46a4-8452-6890a340b60b"
173+
# TF_VAR_network_name: "Ext-Net"
174+
# TF_VAR_flavor_k8s_master: "4d4fd037-9493-4f2b-9afe-b542b5248eac" # b2-7
175+
# TF_VAR_flavor_k8s_node: "4d4fd037-9493-4f2b-9afe-b542b5248eac" # b2-7
176+
# TF_VAR_image: "CoreOS Stable"
177+
# TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]'

0 commit comments

Comments
 (0)