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.

67 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: $PIPELINE_IMAGE
  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. allow_failure: false
  42. vagrant_ubuntu16-kube-router-sep:
  43. stage: deploy-part2
  44. extends: .vagrant
  45. when: manual
  46. # Service proxy test fails connectivity testing
  47. vagrant_ubuntu16-kube-router-svc-proxy:
  48. stage: deploy-part2
  49. extends: .vagrant
  50. when: manual
  51. vagrant_fedora35-kube-router:
  52. stage: deploy-part2
  53. extends: .vagrant
  54. when: on_success
  55. vagrant_centos7-kube-router:
  56. stage: deploy-part2
  57. extends: .vagrant
  58. when: manual