2020-04-01 22:25:28 +08:00
|
|
|
---
|
|
|
|
|
2020-04-18 21:09:35 +08:00
|
|
|
.vagrant:
|
|
|
|
extends: .testcases
|
|
|
|
variables:
|
|
|
|
CI_PLATFORM: "vagrant"
|
2020-05-28 15:46:02 +08:00
|
|
|
SSH_USER: "vagrant"
|
2020-04-18 21:09:35 +08:00
|
|
|
VAGRANT_DEFAULT_PROVIDER: "libvirt"
|
2020-04-29 22:14:24 +08:00
|
|
|
KUBESPRAY_VAGRANT_CONFIG: tests/files/${CI_JOB_NAME}.rb
|
|
|
|
tags: [c3.small.x86]
|
2020-04-18 21:09:35 +08:00
|
|
|
only: [/^pr-.*$/]
|
|
|
|
except: ['triggers']
|
2023-01-09 10:29:27 +08:00
|
|
|
image: $PIPELINE_IMAGE
|
2020-04-18 21:09:35 +08:00
|
|
|
services: []
|
2020-04-24 16:30:07 +08: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-30 06:36:11 +08:00
|
|
|
- python -m pip uninstall -y ansible ansible-base ansible-core
|
2020-04-24 16:30:07 +08:00
|
|
|
- python -m pip install -r tests/requirements.txt
|
2023-06-26 18:15:45 +08:00
|
|
|
- ansible-galaxy install -r tests/requirements.yml
|
2020-04-24 16:30:07 +08:00
|
|
|
- ./tests/scripts/vagrant_clean.sh
|
2020-04-18 21:09:35 +08:00
|
|
|
script:
|
2020-05-28 15:46:02 +08:00
|
|
|
- ./tests/scripts/testcases_run.sh
|
2020-04-18 21:09:35 +08:00
|
|
|
after_script:
|
2020-05-28 15:46:02 +08:00
|
|
|
- chronic ./tests/scripts/testcases_cleanup.sh
|
2021-11-27 01:00:51 +08:00
|
|
|
allow_failure: true
|
2020-04-18 21:09:35 +08:00
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-calico-dual-stack:
|
2020-12-12 04:52:51 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
|
|
|
when: on_success
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-weave-medium:
|
2020-04-29 22:14:24 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
2020-05-28 15:46:02 +08:00
|
|
|
when: manual
|
2020-06-18 16:18:05 +08:00
|
|
|
|
|
|
|
vagrant_ubuntu20-flannel:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
2020-06-30 03:39:59 +08:00
|
|
|
when: on_success
|
2022-11-07 16:08:16 +08:00
|
|
|
allow_failure: false
|
2022-03-18 09:05:39 +08:00
|
|
|
|
2023-03-27 17:25:55 +08:00
|
|
|
vagrant_ubuntu20-flannel-collection:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
|
|
|
when: on_success
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-kube-router-sep:
|
2022-03-18 09:05:39 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .vagrant
|
|
|
|
when: manual
|
|
|
|
|
|
|
|
# Service proxy test fails connectivity testing
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-kube-router-svc-proxy:
|
2022-03-18 09:05:39 +08:00
|
|
|
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
|