mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-02-05 09:45:30 +01:00
tree: import changes from testing-devel at 5c9ec57af9
This commit is contained in:
@@ -5,6 +5,6 @@
|
||||
#
|
||||
# This image is used by CoreOS CI to build software like
|
||||
# Ignition, rpm-ostree, ostree, coreos-installer, etc...
|
||||
FROM quay.io/fedora/fedora:39
|
||||
FROM quay.io/fedora/fedora:40
|
||||
COPY . /src
|
||||
RUN ./src/install-buildroot.sh && yum clean all && rm /src -rf
|
||||
|
||||
@@ -20,7 +20,7 @@ set -xeuo pipefail
|
||||
|
||||
case "$(arch)" in
|
||||
aarch64|ppc64le|s390x)
|
||||
containerArch=$(podman run --arch=amd64 --rm quay.io/fedora/fedora:39 arch)
|
||||
containerArch=$(podman run --arch=amd64 --rm quay.io/fedora/fedora:40 arch)
|
||||
if [ "$containerArch" != "x86_64" ]; then
|
||||
fatal "Test failed: x86_64 qemu emulator failed to run"
|
||||
fi
|
||||
|
||||
@@ -13,6 +13,6 @@ set -xeuo pipefail
|
||||
# shellcheck disable=SC1091
|
||||
. "$KOLA_EXT_DATA/commonlib.sh"
|
||||
|
||||
docker run --rm quay.io/fedora/fedora:39 true
|
||||
docker run --rm quay.io/fedora/fedora:40 true
|
||||
|
||||
ok "basic docker run successfully"
|
||||
|
||||
@@ -20,7 +20,7 @@ ntp_test_setup() {
|
||||
# run podman commands to set up dnsmasq server
|
||||
pushd "$(mktemp -d)"
|
||||
cat <<EOF >Dockerfile
|
||||
FROM quay.io/fedora/fedora:39
|
||||
FROM quay.io/fedora/fedora:40
|
||||
RUN dnf -y install systemd dnsmasq iproute iputils \
|
||||
&& dnf clean all \
|
||||
&& systemctl enable dnsmasq
|
||||
|
||||
@@ -23,7 +23,7 @@ runascoreuserscript='
|
||||
set -euxo pipefail
|
||||
|
||||
podman network create testnetwork
|
||||
podman run --rm -t --network=testnetwork quay.io/fedora/fedora:39 getent hosts google.com
|
||||
podman run --rm -t --network=testnetwork quay.io/fedora/fedora:40 getent hosts google.com
|
||||
podman network rm testnetwork
|
||||
'
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ set -xeuo pipefail
|
||||
runascoreuserscript='#!/bin/bash
|
||||
set -euxo pipefail
|
||||
# Just a basic test that uses pasta network and sets the gateway
|
||||
podman run -i --net=pasta:--mtu,1500 quay.io/fedora/fedora:39 bash <<"EOF"
|
||||
podman run -i --net=pasta:--mtu,1500 quay.io/fedora/fedora:40 bash <<"EOF"
|
||||
set -euxo pipefail
|
||||
# Verify the mtu got set to 1500. No /sbin/ip so just use /sys/class/net/<nic>/mtu
|
||||
cat /sys/class/net/e*/mtu | grep 1500
|
||||
|
||||
@@ -35,7 +35,7 @@ set -euxo pipefail
|
||||
# https://github.com/coreos/coreos-assembler/issues/1645
|
||||
cd $(mktemp -d)
|
||||
cat <<EOF > Containerfile
|
||||
FROM quay.io/fedora/fedora:39
|
||||
FROM quay.io/fedora/fedora:40
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install systemd httpd \
|
||||
&& dnf clean all \
|
||||
|
||||
@@ -15,7 +15,7 @@ set -xeuo pipefail
|
||||
# shellcheck disable=SC1091
|
||||
. "$KOLA_EXT_DATA/commonlib.sh"
|
||||
|
||||
context=$(podman run --rm --privileged quay.io/fedora/fedora:39 \
|
||||
context=$(podman run --rm --privileged quay.io/fedora/fedora-toolbox:40 \
|
||||
bash -c "mount -t tmpfs tmpfs /mnt/ && stat --format '%C' /mnt/")
|
||||
if [ "$context" != "system_u:object_r:container_file_t:s0" ]; then
|
||||
fatal "SELinux context for files on a tmpfs inside a container is wrong"
|
||||
|
||||
Reference in New Issue
Block a user