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.

66 lines
1.5 KiB

  1. ---
  2. .vagrant:
  3. extends: .testcases
  4. variables:
  5. CI_PLATFORM: "vagrant"
  6. SSH_USER: "vagrant"
  7. VAGRANT_DEFAULT_PROVIDER: "libvirt"
  8. KUBESPRAY_VAGRANT_CONFIG: tests/files/${CI_JOB_NAME}.rb
  9. tags: [c3.small.x86]
  10. only: [/^pr-.*$/]
  11. except: ['triggers']
  12. image: quay.io/kubespray/vagrant:$KUBESPRAY_VERSION
  13. services: []
  14. before_script:
  15. - apt-get update && apt-get install -y python3-pip
  16. - update-alternatives --install /usr/bin/python python /usr/bin/python3 10
  17. - python -m pip uninstall -y ansible ansible-base ansible-core
  18. - python -m pip install -r tests/requirements.txt
  19. - ./tests/scripts/vagrant_clean.sh
  20. script:
  21. - ./tests/scripts/testcases_run.sh
  22. after_script:
  23. - chronic ./tests/scripts/testcases_cleanup.sh
  24. allow_failure: true
  25. vagrant_ubuntu18-calico-dual-stack:
  26. stage: deploy-part2
  27. extends: .vagrant
  28. when: on_success
  29. vagrant_ubuntu18-flannel:
  30. stage: deploy-part2
  31. extends: .vagrant
  32. when: on_success
  33. vagrant_ubuntu18-weave-medium:
  34. stage: deploy-part2
  35. extends: .vagrant
  36. when: manual
  37. vagrant_ubuntu20-flannel:
  38. stage: deploy-part2
  39. extends: .vagrant
  40. when: on_success
  41. vagrant_ubuntu16-kube-router-sep:
  42. stage: deploy-part2
  43. extends: .vagrant
  44. when: manual
  45. # Service proxy test fails connectivity testing
  46. vagrant_ubuntu16-kube-router-svc-proxy:
  47. stage: deploy-part2
  48. extends: .vagrant
  49. when: manual
  50. vagrant_fedora35-kube-router:
  51. stage: deploy-part2
  52. extends: .vagrant
  53. when: on_success
  54. vagrant_centos7-kube-router:
  55. stage: deploy-part2
  56. extends: .vagrant
  57. when: manual