2020-04-01 14:25:28 +00:00
|
|
|
---
|
|
|
|
|
2020-04-18 13:09:35 +00:00
|
|
|
.vagrant:
|
|
|
|
extends: .testcases
|
|
|
|
variables:
|
|
|
|
CI_PLATFORM: "vagrant"
|
2020-05-28 07:46:02 +00:00
|
|
|
SSH_USER: "vagrant"
|
2020-04-18 13:09:35 +00:00
|
|
|
VAGRANT_DEFAULT_PROVIDER: "libvirt"
|
2020-04-29 14:14:24 +00:00
|
|
|
KUBESPRAY_VAGRANT_CONFIG: tests/files/${CI_JOB_NAME}.rb
|
|
|
|
tags: [c3.small.x86]
|
2020-04-18 13:09:35 +00:00
|
|
|
only: [/^pr-.*$/]
|
|
|
|
except: ['triggers']
|
2020-04-18 20:53:36 +00:00
|
|
|
image: quay.io/kubespray/vagrant:$KUBESPRAY_VERSION
|
2020-04-18 13:09:35 +00:00
|
|
|
services: []
|
2020-04-24 08:30:07 +00:00
|
|
|
before_script:
|
|
|
|
- apt-get update && apt-get install -y python3-pip
|
|
|
|
- update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
2022-03-29 22:36:11 +00:00
|
|
|
- python -m pip uninstall -y ansible ansible-base ansible-core
|
2020-04-24 08:30:07 +00:00
|
|
|
- python -m pip install -r tests/requirements.txt
|
|
|
|
- ./tests/scripts/vagrant_clean.sh
|
2020-04-18 13:09:35 +00:00
|
|
|
script:
|
2020-05-28 07:46:02 +00:00
|
|
|
- ./tests/scripts/testcases_run.sh
|
2020-04-18 13:09:35 +00:00
|
|
|
after_script:
|
2020-05-28 07:46:02 +00:00
|
|
|
- chronic ./tests/scripts/testcases_cleanup.sh
|
2021-11-26 17:00:51 +00:00
|
|
|
allow_failure: true
|
2020-04-18 13:09:35 +00:00
|
|
|
|
2020-12-11 20:52:51 +00:00
|
|
|
vagrant_ubuntu18-calico-dual-stack:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
|
|
|
when: on_success
|
|
|
|
|
2020-04-18 13:09:35 +00:00
|
|
|
vagrant_ubuntu18-flannel:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
2020-04-29 14:14:24 +00:00
|
|
|
when: on_success
|
|
|
|
|
|
|
|
vagrant_ubuntu18-weave-medium:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
2020-05-28 07:46:02 +00:00
|
|
|
when: manual
|
2020-06-18 08:18:05 +00:00
|
|
|
|
|
|
|
vagrant_ubuntu20-flannel:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
2020-06-29 19:39:59 +00:00
|
|
|
when: on_success
|
2022-03-18 01:05:39 +00:00
|
|
|
|
|
|
|
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
|