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

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>
1 year ago
  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_fedora37-kube-router:
  54. stage: deploy-extended
  55. extends: .vagrant
  56. when: manual
  57. # FIXME: this test if broken (perma-failing)