dd2d95ecdf
* [calico] make vxlan encapsulation the default * don't enable ipip encapsulation by default * set calico_network_backend by default to vxlan * update sample inventory and documentation * [CI] pin default calico parameters for upgrade tests to ensure proper upgrade * [CI] improve netchecker connectivity testing * [CI] show logs for tests * [calico] tweak task name * [CI] Don't run the provisioner from vagrant since we run it in testcases_run.sh * [CI] move kube-router tests to vagrant to avoid network connectivity issues during netchecker check * service proxy mode still fails connectivity tests so keeping it manual mode * [kube-router] account for containerd use-case
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
---
|
|
|
|
molecule_tests:
|
|
tags: [c3.small.x86]
|
|
only: [/^pr-.*$/]
|
|
except: ['triggers']
|
|
image: quay.io/kubespray/vagrant:$KUBESPRAY_VERSION
|
|
services: []
|
|
stage: deploy-part1
|
|
before_script:
|
|
- tests/scripts/rebase.sh
|
|
- apt-get update && apt-get install -y python3-pip
|
|
- update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
|
- python -m pip uninstall -y ansible
|
|
- python -m pip install -r tests/requirements.txt
|
|
- ./tests/scripts/vagrant_clean.sh
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh
|
|
after_script:
|
|
- chronic ./tests/scripts/molecule_logs.sh
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- molecule_logs/
|
|
|
|
.vagrant:
|
|
extends: .testcases
|
|
variables:
|
|
CI_PLATFORM: "vagrant"
|
|
SSH_USER: "vagrant"
|
|
VAGRANT_DEFAULT_PROVIDER: "libvirt"
|
|
KUBESPRAY_VAGRANT_CONFIG: tests/files/${CI_JOB_NAME}.rb
|
|
tags: [c3.small.x86]
|
|
only: [/^pr-.*$/]
|
|
except: ['triggers']
|
|
image: quay.io/kubespray/vagrant:$KUBESPRAY_VERSION
|
|
services: []
|
|
before_script:
|
|
- apt-get update && apt-get install -y python3-pip
|
|
- update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
|
- python -m pip uninstall -y ansible
|
|
- python -m pip install -r tests/requirements.txt
|
|
- ./tests/scripts/vagrant_clean.sh
|
|
script:
|
|
- ./tests/scripts/testcases_run.sh
|
|
after_script:
|
|
- chronic ./tests/scripts/testcases_cleanup.sh
|
|
allow_failure: true
|
|
|
|
vagrant_ubuntu18-calico-dual-stack:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: on_success
|
|
|
|
vagrant_ubuntu18-flannel:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: on_success
|
|
|
|
vagrant_ubuntu18-weave-medium:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: manual
|
|
|
|
vagrant_ubuntu20-flannel:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: on_success
|
|
|
|
vagrant_ubuntu16-kube-router-sep:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: manual
|
|
|
|
# Service proxy test fails connectivity testing
|
|
vagrant_ubuntu16-kube-router-svc-proxy:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: manual
|
|
|
|
vagrant_fedora35-kube-router:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: on_success
|
|
|
|
vagrant_centos7-kube-router:
|
|
stage: deploy-part2
|
|
extends: .vagrant
|
|
when: manual
|