Browse Source

Skip molecule tests for Ubuntu 18.04 (#6077)

pull/6064/head
Maxime Guyot 4 years ago
committed by GitHub
parent
commit
641a2a8bb4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 9 deletions
  1. 9
      .gitlab-ci/packet.yml
  2. 2
      docs/ci.md
  3. 2
      docs/integration.md
  4. 12
      roles/container-engine/cri-o/molecule/default/molecule.yml
  5. 14
      tests/files/packet_centos7-crio.yml

9
.gitlab-ci/packet.yml

@ -29,13 +29,20 @@ packet_centos7-flannel-containerd-addons-ha:
variables:
MITOGEN_ENABLE: "true"
packet_ubuntu18-crio:
packet_centos7-crio:
extends: .packet
stage: deploy-part2
when: on_success
variables:
MITOGEN_ENABLE: "true"
packet_ubuntu18-crio:
extends: .packet
stage: deploy-part2
when: manual
variables:
MITOGEN_ENABLE: "true"
packet_ubuntu16-canal-kubeadm-ha:
stage: deploy-part2
extends: .packet

2
docs/ci.md

@ -25,7 +25,7 @@ ubuntu20 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
| OS / CNI | calico | canal | cilium | contiv | flannel | kube-ovn | kube-router | macvlan | weave |
|---| --- | --- | --- | --- | --- | --- | --- | --- | --- |
amazon | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
centos7 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
centos7 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
centos8 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
coreos | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian10 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: |

2
docs/integration.md

@ -7,7 +7,7 @@
2. Add **forked repo** as submodule to desired folder in your existent ansible repo(for example 3d/kubespray):
```git submodule add https://github.com/YOUR_GITHUB/kubespray.git kubespray```
Git will create _.gitmodules_ file in your existent ansible repo:
Git will create `.gitmodules` file in your existent ansible repo:
```ini
[submodule "3d/kubespray"]

12
roles/container-engine/cri-o/molecule/default/molecule.yml

@ -8,12 +8,12 @@ lint:
options:
config-file: ../../../.yamllint
platforms:
- name: ubuntu1804
box: generic/ubuntu1804
cpus: 2
memory: 1024
groups:
- kube-master
# - name: ubuntu1804
# box: generic/ubuntu1804
# cpus: 2
# memory: 1024
# groups:
# - kube-master
- name: centos7
box: centos/7
cpus: 2

14
tests/files/packet_centos7-crio.yml

@ -0,0 +1,14 @@
---
# Instance settings
cloud_image: centos-7
mode: default
# Kubespray settings
deploy_netchecker: true
dns_min_replicas: 1
container_manager: crio
# CRI-O requirements
download_container: false
etcd_deployment_type: host
kubelet_deployment_type: host
Loading…
Cancel
Save