kubespray/.gitlab-ci/vagrant.yml

64 lines
1.3 KiB
YAML
Raw Normal View History

---
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: []
before_script:
- ./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
allow_failure: true
2020-04-18 21:09:35 +08:00
vagrant_ubuntu20-calico-dual-stack:
stage: deploy-part2
extends: .vagrant
when: on_success
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
vagrant_ubuntu20-flannel:
stage: deploy-part2
extends: .vagrant
2020-06-30 03:39:59 +08:00
when: on_success
allow_failure: false
vagrant_ubuntu20-flannel-collection:
stage: deploy-part2
extends: .vagrant
when: on_success
vagrant_ubuntu20-kube-router-sep:
stage: deploy-part2
extends: .vagrant
when: manual
# Service proxy test fails connectivity testing
vagrant_ubuntu20-kube-router-svc-proxy:
stage: deploy-part2
extends: .vagrant
when: manual
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
2023-08-08 15:50:12 +08:00
vagrant_fedora37-kube-router:
stage: deploy-part2
extends: .vagrant
when: on_success
vagrant_centos7-kube-router:
stage: deploy-part2
extends: .vagrant
when: manual