diff --git a/.gitlab-ci/packet.yml b/.gitlab-ci/packet.yml index 3d1e9ce38..0a96dc21c 100644 --- a/.gitlab-ci/packet.yml +++ b/.gitlab-ci/packet.yml @@ -172,6 +172,9 @@ packet_ubuntu22-all-in-one-docker: packet_fedora37-crio: extends: .packet_pr_manual +packet_fedora39-crio: + extends: .packet_pr_manual + packet_ubuntu20-flannel-ha: extends: .packet_pr_manual @@ -184,6 +187,9 @@ packet_ubuntu20-flannel-ha-once: packet_fedora37-calico-swap-selinux: extends: .packet_pr_manual +packet_fedora39-calico-swap-selinux: + extends: .packet_pr_manual + packet_almalinux8-calico-ha-ebpf: extends: .packet_pr_manual @@ -209,10 +215,19 @@ packet_fedora38-docker-calico: variables: RESET_CHECK: "true" +packet_fedora40-docker-calico: + stage: deploy-extended + extends: .packet_periodic + variables: + RESET_CHECK: "true" + packet_fedora37-calico-selinux: stage: deploy-extended extends: .packet_periodic +packet_fedora39-calico-selinux: + stage: deploy-extended + extends: .packet_periodic packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha: stage: deploy-extended diff --git a/README.md b/README.md index b7713dbb8..6df792b40 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ vagrant up - **Debian** Bookworm, Bullseye - **Ubuntu** 20.04, 22.04, 24.04 - **CentOS/RHEL** [8, 9](docs/operating_systems/centos.md#centos-8) -- **Fedora** 37, 38 +- **Fedora** 37, 38, 39, 40 - **Fedora CoreOS** (see [fcos Note](docs/operating_systems/fcos.md)) - **openSUSE** Leap 15.x/Tumbleweed - **Oracle Linux** [8, 9](docs/operating_systems/centos.md#centos-8) diff --git a/Vagrantfile b/Vagrantfile index f2e13b764..ab48fb7af 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -30,6 +30,10 @@ SUPPORTED_OS = { "rockylinux9" => {box: "rockylinux/9", user: "vagrant"}, "fedora37" => {box: "fedora/37-cloud-base", user: "vagrant"}, "fedora38" => {box: "fedora/38-cloud-base", user: "vagrant"}, + "fedora39" => {box: "fedora/39-cloud-base", user: "vagrant"}, + "fedora40" => {box: "fedora/40-cloud-base", user: "vagrant"}, + "fedora39-arm64" => {box: "bento/fedora-39-arm64", user: "vagrant"}, + "fedora40-arm64" => {box: "bento/fedora-40", user: "vagrant"}, "opensuse" => {box: "opensuse/Leap-15.4.x86_64", user: "vagrant"}, "opensuse-tumbleweed" => {box: "opensuse/Tumbleweed.x86_64", user: "vagrant"}, "oraclelinux" => {box: "generic/oracle7", user: "vagrant"}, @@ -232,6 +236,15 @@ Vagrant.configure("2") do |config| service NetworkManager restart SHELL end + # Hack for fedora39/40 to get the IP address of the second interface + if ["fedora39", "fedora40", "fedora39-arm64", "fedora40-arm64"].include? $os + config.vm.provision "shell", inline: <<-SHELL + nmcli conn modify 'Wired connection 2' ipv4.addresses $(cat /etc/sysconfig/network-scripts/ifcfg-eth1 | grep IPADDR | cut -d "=" -f2)/24 + nmcli conn modify 'Wired connection 2' ipv4.method manual + service NetworkManager restart + SHELL + end + # Rockylinux boxes needs UEFI if ["rockylinux8", "rockylinux9"].include? $os diff --git a/docs/developers/ci.md b/docs/developers/ci.md index 406ad156d..80f86929c 100644 --- a/docs/developers/ci.md +++ b/docs/developers/ci.md @@ -13,6 +13,8 @@ debian11 | :white_check_mark: | :x: | :white_check_mark: | :x: | :x: | :x: | :w debian12 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | fedora37 | :white_check_mark: | :x: | :x: | :x: | :x: | :white_check_mark: | :x: | :x: | fedora38 | :x: | :x: | :x: | :x: | :white_check_mark: | :x: | :x: | :x: | +fedora39 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | +fedora40 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | opensuse | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux8 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux9 | :white_check_mark: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | @@ -31,6 +33,8 @@ debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | debian12 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora37 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora38 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | +fedora39 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | +fedora40 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | opensuse | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux8 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | @@ -49,6 +53,8 @@ debian11 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | debian12 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora37 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | fedora38 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :white_check_mark: | +fedora39 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | +fedora40 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | opensuse | :x: | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux8 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | diff --git a/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml b/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml index 6223d1368..cb9426e13 100644 --- a/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml +++ b/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml @@ -33,6 +33,8 @@ cloud_init: debian-12: "I2Nsb3VkLWNvbmZpZwogdXNlcnM6CiAgLSBuYW1lOiBrdWJlc3ByYXkKICAgIHN1ZG86IEFMTD0oQU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bVdRU3FBUk8vUDhVOEd3dDArSEdwVXdoL2hkeTN0K1NZb1RCMkd3VmIwem95Vnd0VnZmRFF6c204ZnEzYXY0S3ZlejhrWXVOREp2MDV4NGx2VVpnUjE1WkRSWHNBbmRoUXlxb1hkQ0xBZTArZWFLWHE5QmtXeEtGYjloUGUwQVVqamE1Cgo=" amazon-linux-2: "I2Nsb3VkLWNvbmZpZwpzeXN0ZW1faW5mbzoKICBkaXN0cm86IHJoZWwKdXNlcnM6CiAtIG5hbWU6IGt1YmVzcHJheQogICBncm91cHM6IHdoZWVsCiAgIHN1ZG86ICdBTEw9KEFMTCkgTk9QQVNTV0Q6QUxMJwogICBzaGVsbDogL2Jpbi9iYXNoCiAgIGxvY2tfcGFzc3dkOiBGYWxzZQogICBob21lOiAvaG9tZS9rdWJlc3ByYXkKICAgc3NoX2F1dGhvcml6ZWRfa2V5czoKICAgICAtIHNzaC1yc2EgQUFBQUIzTnphQzF5YzJFQUFBQURBUUFCQUFBQkFRQ2FuVGkvZUt4MCt0SFlKQWVEaHErc0ZTMk9iVVAxL0k2OWY3aVYzVXRrS2xUMjBKZlcxZjZGZVh0LzA0VmYyN1dRcStOcXM2dkdCcUQ5UVhTWXVmK3QwL3M3RVBMalRlaTltZTFtcHFyK3VUZStLRHRUUDM5cGZEMy9lVkNhZUI3MjZHUDJGa2FEMEZ6cG1FYjY2TzNOcWh4T1E5Nkd4LzlYVHV3L0szbGxqNE9WRDZHcmpSM0I3YzRYdEVCc1pjWnBwTUovb0gxbUd5R1hkaDMxbVdRU3FBUk8vUDhVOEd3dDArSEdwVXdoL2hkeTN0K1NZb1RCMkd3VmIwem95Vnd0VnZmRFF6c204ZnEzYXY0S3ZlejhrWXVOREp2MDV4NGx2VVpnUjE1WkRSWHNBbmRoUXlxb1hkQ0xBZTArZWFLWHE5QmtXeEtGYjloUGUwQVVqamE1Cgo=" diff --git a/tests/files/packet_fedora39-calico-selinux.yml b/tests/files/packet_fedora39-calico-selinux.yml new file mode 100644 index 000000000..18247117b --- /dev/null +++ b/tests/files/packet_fedora39-calico-selinux.yml @@ -0,0 +1,10 @@ +--- +# Instance settings +cloud_image: fedora-39 +mode: default + +# Kubespray settings +auto_renew_certificates: true + +# Test with SELinux in enforcing mode +preinstall_selinux_state: enforcing diff --git a/tests/files/packet_fedora39-calico-swap-selinux.yml b/tests/files/packet_fedora39-calico-swap-selinux.yml new file mode 100644 index 000000000..f7743d688 --- /dev/null +++ b/tests/files/packet_fedora39-calico-swap-selinux.yml @@ -0,0 +1,15 @@ +--- +# Instance settings +cloud_image: fedora-39 +mode: default + +# Kubespray settings +auto_renew_certificates: true + +# Test with SELinux in enforcing mode +preinstall_selinux_state: enforcing + +# Test Alpha swap feature by leveraging zswap default config in Fedora 35 +kubelet_fail_swap_on: false +kube_feature_gates: + - "NodeSwap=True" diff --git a/tests/files/packet_fedora39-crio.yml b/tests/files/packet_fedora39-crio.yml new file mode 100644 index 000000000..97de63369 --- /dev/null +++ b/tests/files/packet_fedora39-crio.yml @@ -0,0 +1,11 @@ +--- +# Instance settings +cloud_image: fedora-39 +mode: default + +# Kubespray settings +container_manager: crio +auto_renew_certificates: true + +# Test with SELinux in enforcing mode +preinstall_selinux_state: enforcing diff --git a/tests/files/packet_fedora40-docker-calico.yml b/tests/files/packet_fedora40-docker-calico.yml new file mode 100644 index 000000000..36692fcf6 --- /dev/null +++ b/tests/files/packet_fedora40-docker-calico.yml @@ -0,0 +1,11 @@ +--- +# Instance settings +cloud_image: fedora-40 +mode: default + +# Kubespray settings +auto_renew_certificates: true + +# Docker specific settings: +container_manager: docker +etcd_deployment_type: docker