mirror of https://github.com/k3s-io/k3s
[Release-1.23] Bump install tests OS images (#6381)
* Bump to Leap 15.4 for testing * Replace fedora-coreos with fedora 36 for install tests * Bump alpine to 3.16 Signed-off-by: Derek Nola <derek.nola@suse.com>pull/6419/head
parent
567dad04f3
commit
2e95008735
|
@ -37,7 +37,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
vm: [centos-7, rocky-8, fedora-coreos, opensuse-leap, opensuse-microos, ubuntu-focal]
|
||||
vm: [centos-7, rocky-8, fedora, opensuse-leap, opensuse-microos, ubuntu-focal]
|
||||
max-parallel: 2
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG GOLANG=golang:1.17.13-alpine3.15
|
||||
ARG GOLANG=golang:1.17.13-alpine3.16
|
||||
FROM ${GOLANG}
|
||||
|
||||
ARG http_proxy=$http_proxy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG GOLANG=golang:1.17.13-alpine3.15
|
||||
ARG GOLANG=golang:1.17.13-alpine3.16
|
||||
FROM ${GOLANG}
|
||||
|
||||
COPY --from=plugins/manifest:1.2.3 /bin/* /bin/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG GOLANG=golang:1.17.13-alpine3.15
|
||||
ARG GOLANG=golang:1.17.13-alpine3.16
|
||||
FROM ${GOLANG}
|
||||
|
||||
RUN apk -U --no-cache add bash git gcc musl-dev docker curl jq coreutils python3 openssl py3-pip procps
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG GOLANG=golang:1.17.13-alpine3.15
|
||||
ARG GOLANG=golang:1.17.13-alpine3.16
|
||||
FROM ${GOLANG}
|
||||
|
||||
RUN apk -U --no-cache add bash jq
|
||||
|
|
|
@ -364,6 +364,8 @@ if [ "$(cat /sys/module/apparmor/parameters/enabled 2>/dev/null)" = 'Y' ]; then
|
|||
wrap_color '(use "apt-get install apparmor" to fix this)'
|
||||
elif command -v yum &> /dev/null; then
|
||||
wrap_color '(your best bet is "yum install apparmor-parser")'
|
||||
elif command -v zypper &> /dev/null; then
|
||||
wrap_color '(your best bet is "zypper install apparmor-parser")'
|
||||
else
|
||||
wrap_color '(look for an "apparmor" package for your distribution)'
|
||||
fi
|
||||
|
|
|
@ -63,10 +63,11 @@ ___
|
|||
Smoke tests are a collection of tests defined under the [tests](../tests) path at the root of this repository.
|
||||
The sub-directories therein contain fixtures for running simple clusters to assert correct behavior for "happy path" scenarios. These fixtures are mostly self-contained Vagrantfiles describing single-node installations that are easily spun up with Vagrant for the `libvirt` and `virtualbox` providers:
|
||||
|
||||
- [Install Script](../tests/install) :arrow_right: on proposed changes to [install.sh](../install.sh)
|
||||
- [Install Script](../tests/install) :arrow_right: scheduled nightly
|
||||
- [CentOS 7](../tests/install/centos-7) (stand-in for RHEL 7)
|
||||
- [Rocky Linux 8](../tests/install/rocky-8) (stand-in for RHEL 8)
|
||||
- [Leap 15.3](../tests/install/opensuse-microos) (stand-in for SLES)
|
||||
- [Fedora](../tests/install/fedora)
|
||||
- [Leap 15.4](../tests/install/opensuse-leap) (stand-in for SLES)
|
||||
- [MicroOS](../tests/install/opensuse-microos) (stand-in for SLE-Micro)
|
||||
- [Ubuntu 20.04](../tests/install/ubuntu-focal) (Focal Fossa)
|
||||
- [Control Groups](../tests/cgroup) :arrow_right: on any code change
|
||||
|
@ -74,7 +75,7 @@ The sub-directories therein contain fixtures for running simple clusters to asse
|
|||
- [Fedora 35](../tests/cgroup/unified/fedora-35) (rootfull + rootless)
|
||||
- [Snapshotter](../tests/snapshotter/btrfs/opensuse-leap) :arrow_right: on any code change
|
||||
- [BTRFS](../tests/snapshotter/btrfs) ([containerd built-in](https://github.com/containerd/containerd/tree/main/snapshots/btrfs))
|
||||
- [Leap 15.3](../tests/snapshotter/btrfs/opensuse-leap)
|
||||
- [Leap 15.4](../tests/snapshotter/btrfs/opensuse-leap)
|
||||
|
||||
When adding new installer test(s) please copy the prevalent style for the `Vagrantfile`.
|
||||
Ideally, the boxes used for additional assertions will support the default `virtualbox` provider which
|
||||
|
|
|
@ -8,15 +8,16 @@ Vagrant.configure("2") do |config|
|
|||
config.vagrant.plugins = {
|
||||
'vagrant-k3s' => {:version => '~> 0.1.3'},
|
||||
}
|
||||
config.vm.box = 'dhml/fedora-coreos-34.20210725.3.0-20210813'
|
||||
config.vm.box = 'generic/fedora36'
|
||||
config.vm.boot_timeout = ENV['TEST_VM_BOOT_TIMEOUT'] || 600 # seconds
|
||||
config.vm.synced_folder '.', '/vagrant', disabled: true
|
||||
|
||||
config.vm.define 'install-fedora-coreos', primary: true do |test|
|
||||
config.vm.define 'install-fedora', primary: true do |test|
|
||||
test.vm.hostname = 'smoke'
|
||||
test.vm.provision "disable-firewall", type: "shell", inline: "systemctl stop firewalld"
|
||||
test.vm.provision 'k3s-upload', type: 'file', run: 'always', source: ENV['TEST_INSTALL_SH'], destination: 'install.sh'
|
||||
test.vm.provision 'k3s-install', type: 'k3s', run: 'once' do |k3s|
|
||||
k3s.installer_url = 'file:///var/home/core/install.sh'
|
||||
k3s.installer_url = 'file:///home/vagrant/install.sh'
|
||||
k3s.args = %w[server]
|
||||
k3s.env = ENV.select{|k,v| k.start_with?('K3S_') || k.start_with?('INSTALL_K3S_')}.merge({
|
||||
:INSTALL_K3S_NAME => 'server',
|
|
@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
|
|||
config.vagrant.plugins = {
|
||||
'vagrant-k3s' => {:version => '~> 0.1.3'},
|
||||
}
|
||||
config.vm.box = 'opensuse/Leap-15.3.x86_64'
|
||||
config.vm.box = 'opensuse/Leap-15.4.x86_64'
|
||||
config.vm.boot_timeout = ENV['TEST_VM_BOOT_TIMEOUT'] || 600 # seconds
|
||||
config.vm.synced_folder '.', '/vagrant', disabled: true
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
|
|||
config.vagrant.plugins = {
|
||||
'vagrant-k3s' => {:version => '~> 0.1.3'},
|
||||
}
|
||||
config.vm.box = "opensuse/Leap-15.3.x86_64"
|
||||
config.vm.box = "opensuse/Leap-15.4.x86_64"
|
||||
config.vm.boot_timeout = ENV['TEST_VM_BOOT_TIMEOUT'] || 600 # seconds
|
||||
config.vm.synced_folder '../../../../dist/artifacts', '/vagrant', type: 'rsync', disabled: false,
|
||||
rsync__exclude: ENV['RSYNC_EXCLUDE'] || '*.tar.*'
|
||||
|
|
Loading…
Reference in New Issue