mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
* [kubernetes] Add hashes for kubernetes 1.26.11, 1.26.10 Make kubernetes 1.26.11 default * Workaround for yaml/pyyaml#601 * Convert exoscale tf provider to new version (#10646) This is untested. It passes terraform validate to un-broke the CI. * Update 0040-verify-settings.yml (#10699) remove embedded template * 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> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> Co-authored-by: piwinkler <9642809+piwinkler@users.noreply.github.com> Co-authored-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
87 lines
2.1 KiB
YAML
87 lines
2.1 KiB
YAML
---
|
|
|
|
.molecule:
|
|
tags: [c3.small.x86]
|
|
only: [/^pr-.*$/]
|
|
except: ['triggers']
|
|
image: $PIPELINE_IMAGE
|
|
services: []
|
|
stage: deploy-part1
|
|
before_script:
|
|
- tests/scripts/rebase.sh
|
|
- apt-get update && apt-get install -y python3-pip
|
|
- update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
|
- python -m pip uninstall -y ansible ansible-base ansible-core
|
|
- PIP_CONSTRAINT=tests/constraints.txt python -m pip install -r tests/requirements.txt
|
|
- ./tests/scripts/vagrant_clean.sh
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh
|
|
after_script:
|
|
- chronic ./tests/scripts/molecule_logs.sh
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- molecule_logs/
|
|
|
|
# CI template for periodic CI jobs
|
|
# Enabled when PERIODIC_CI_ENABLED var is set
|
|
.molecule_periodic:
|
|
only:
|
|
variables:
|
|
- $PERIODIC_CI_ENABLED
|
|
allow_failure: true
|
|
extends: .molecule
|
|
|
|
molecule_full:
|
|
extends: .molecule_periodic
|
|
|
|
molecule_no_container_engines:
|
|
extends: .molecule
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -e container-engine
|
|
when: on_success
|
|
|
|
molecule_docker:
|
|
extends: .molecule
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i container-engine/cri-dockerd
|
|
when: on_success
|
|
|
|
molecule_containerd:
|
|
extends: .molecule
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i container-engine/containerd
|
|
when: on_success
|
|
|
|
molecule_cri-o:
|
|
extends: .molecule
|
|
stage: deploy-part2
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i container-engine/cri-o
|
|
when: on_success
|
|
|
|
# Stage 3 container engines don't get as much attention so allow them to fail
|
|
molecule_kata:
|
|
extends: .molecule
|
|
stage: deploy-part3
|
|
allow_failure: true
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i container-engine/kata-containers
|
|
when: on_success
|
|
|
|
molecule_gvisor:
|
|
extends: .molecule
|
|
stage: deploy-part3
|
|
allow_failure: true
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i container-engine/gvisor
|
|
when: on_success
|
|
|
|
molecule_youki:
|
|
extends: .molecule
|
|
stage: deploy-part3
|
|
allow_failure: true
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i container-engine/youki
|
|
when: on_success
|