You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.6 KiB

  1. ---
  2. .vagrant:
  3. extends: .testcases
  4. needs:
  5. - ci-not-authorized
  6. variables:
  7. CI_PLATFORM: "vagrant"
  8. SSH_USER: "vagrant"
  9. VAGRANT_DEFAULT_PROVIDER: "libvirt"
  10. KUBESPRAY_VAGRANT_CONFIG: tests/files/${CI_JOB_NAME}.rb
  11. DOCKER_NAME: vagrant
  12. VAGRANT_ANSIBLE_TAGS: facts
  13. tags: [ffci-vm-large]
  14. # only: [/^pr-.*$/]
  15. # except: ['triggers']
  16. image: quay.io/kubespray/vm-kubespray-ci:v6
  17. services: []
  18. before_script:
  19. - echo $USER
  20. - python3 -m venv citest
  21. - source citest/bin/activate
  22. - vagrant plugin expunge --reinstall --force --no-tty
  23. - vagrant plugin install vagrant-libvirt
  24. - pip install --no-compile --no-cache-dir pip -U
  25. - pip install --no-compile --no-cache-dir -r $CI_PROJECT_DIR/requirements.txt
  26. - pip install --no-compile --no-cache-dir -r $CI_PROJECT_DIR/tests/requirements.txt
  27. - ./tests/scripts/vagrant_clean.sh
  28. script:
  29. - ./tests/scripts/testcases_run.sh
  30. vagrant_ubuntu20-calico-dual-stack:
  31. stage: deploy-extended
  32. extends: .vagrant
  33. when: manual
  34. # FIXME: this test if broken (perma-failing)
  35. vagrant_ubuntu20-flannel:
  36. stage: deploy-part1
  37. extends: .vagrant
  38. when: on_success
  39. allow_failure: false
  40. vagrant_ubuntu20-flannel-collection:
  41. stage: deploy-extended
  42. extends: .vagrant
  43. when: manual
  44. vagrant_ubuntu20-kube-router-sep:
  45. stage: deploy-extended
  46. extends: .vagrant
  47. when: manual
  48. # Service proxy test fails connectivity testing
  49. vagrant_ubuntu20-kube-router-svc-proxy:
  50. stage: deploy-extended
  51. extends: .vagrant
  52. when: manual
  53. vagrant_fedora39-kube-router:
  54. stage: deploy-extended
  55. extends: .vagrant
  56. when: manual
  57. # FIXME: this test if broken (perma-failing)