2020-04-01 22:25:28 +08:00
|
|
|
---
|
2020-04-18 21:09:35 +08:00
|
|
|
.vagrant:
|
|
|
|
extends: .testcases
|
2024-07-01 18:25:36 +08:00
|
|
|
needs:
|
|
|
|
- ci-not-authorized
|
2020-04-18 21:09:35 +08:00
|
|
|
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
|
2024-07-01 18:25:36 +08:00
|
|
|
DOCKER_NAME: vagrant
|
|
|
|
VAGRANT_ANSIBLE_TAGS: facts
|
2024-10-31 21:47:26 +08:00
|
|
|
VAGRANT_HOME: "$CI_PROJECT_DIR/.vagrant.d"
|
|
|
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
2024-07-01 18:25:36 +08:00
|
|
|
tags: [ffci-vm-large]
|
|
|
|
# only: [/^pr-.*$/]
|
|
|
|
# except: ['triggers']
|
2024-10-31 21:47:26 +08:00
|
|
|
image: quay.io/kubespray/vm-kubespray-ci:v13
|
2020-04-18 21:09:35 +08:00
|
|
|
services: []
|
2020-04-24 16:30:07 +08:00
|
|
|
before_script:
|
2024-07-01 18:25:36 +08:00
|
|
|
- echo $USER
|
|
|
|
- python3 -m venv citest
|
|
|
|
- source citest/bin/activate
|
|
|
|
- vagrant plugin expunge --reinstall --force --no-tty
|
|
|
|
- vagrant plugin install vagrant-libvirt
|
|
|
|
- pip install --no-compile --no-cache-dir pip -U
|
|
|
|
- pip install --no-compile --no-cache-dir -r $CI_PROJECT_DIR/requirements.txt
|
|
|
|
- pip install --no-compile --no-cache-dir -r $CI_PROJECT_DIR/tests/requirements.txt
|
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
|
2024-10-31 21:47:26 +08:00
|
|
|
cache:
|
|
|
|
key: $CI_JOB_NAME_SLUG
|
|
|
|
paths:
|
|
|
|
- .vagrant.d/boxes
|
|
|
|
- .cache/pip
|
|
|
|
policy: pull-push # TODO: change to "pull" when not on main
|
2020-04-18 21:09:35 +08:00
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-calico-dual-stack:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2020-12-12 04:52:51 +08:00
|
|
|
extends: .vagrant
|
2024-02-20 02:00:39 +08:00
|
|
|
when: manual
|
|
|
|
# FIXME: this test if broken (perma-failing)
|
2020-12-12 04:52:51 +08:00
|
|
|
|
2020-06-18 16:18:05 +08:00
|
|
|
vagrant_ubuntu20-flannel:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-part1
|
2020-06-18 16:18:05 +08:00
|
|
|
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:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2023-03-27 17:25:55 +08:00
|
|
|
extends: .vagrant
|
2024-07-01 18:25:36 +08:00
|
|
|
when: manual
|
2023-03-27 17:25:55 +08:00
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-kube-router-sep:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2022-03-18 09:05:39 +08:00
|
|
|
extends: .vagrant
|
|
|
|
when: manual
|
|
|
|
|
|
|
|
# Service proxy test fails connectivity testing
|
2023-05-25 10:56:50 +08:00
|
|
|
vagrant_ubuntu20-kube-router-svc-proxy:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2022-03-18 09:05:39 +08:00
|
|
|
extends: .vagrant
|
|
|
|
when: manual
|
|
|
|
|
2024-10-07 16:16:06 +08:00
|
|
|
vagrant_fedora39-kube-router:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2022-03-18 09:05:39 +08:00
|
|
|
extends: .vagrant
|
2024-02-20 02:00:39 +08:00
|
|
|
when: manual
|
|
|
|
# FIXME: this test if broken (perma-failing)
|