Skip to content

Commit 07bcfd7

Browse files
authored
feat: promote Fedora 40 to latest and Fedora 39 to GTS (#240)
* Bump tags * Use proper RPMFusion repositories for F40 builds * Update image-info.sh version aliases and bump Containerfile default versions * Add missing version in Containerfile
1 parent 313fc0b commit 07bcfd7

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

.github/workflows/reusable-build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,16 @@ jobs:
9999
if [[ "${{ matrix.fedora_version }}" -eq "38" ]]; then
100100
IS_LATEST_VERSION=false
101101
IS_STABLE_VERSION=true
102-
IS_GTS_VERSION=true
102+
IS_GTS_VERSION=false
103103
elif [[ "${{ matrix.fedora_version }}" -eq "39" ]]; then
104+
IS_LATEST_VERSION=false
105+
IS_STABLE_VERSION=true
106+
IS_GTS_VERSION=true
107+
elif [[ "${{ matrix.fedora_version }}" -eq "40" ]]; then
104108
IS_LATEST_VERSION=true
105109
IS_STABLE_VERSION=true
106110
IS_GTS_VERSION=false
107-
elif [[ "${{ matrix.fedora_version }}" -eq "40" ]]; then
111+
elif [[ "${{ matrix.fedora_version }}" -eq "41" ]]; then
108112
IS_LATEST_VERSION=false
109113
IS_STABLE_VERSION=false
110114
IS_GTS_VERSION=false

Containerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}"
22
ARG SOURCE_IMAGE="${SOURCE_IMAGE:-silverblue-main}"
33
ARG SOURCE_ORG="${SOURCE_ORG:-ublue-os}"
44
ARG BASE_IMAGE="ghcr.io/${SOURCE_ORG}/${SOURCE_IMAGE}"
5-
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
5+
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
66

77
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS main
88

9-
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
9+
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
1010
ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
1111
ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}"
1212
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"
@@ -28,7 +28,7 @@ RUN mkdir -p /var/lib/alternatives && \
2828
FROM main AS nvidia
2929

3030
ARG SOURCE_ORG="${SOURCE_ORG:-ublue-os}"
31-
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}"
31+
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
3232
ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
3333
ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}"
3434
ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}"

image-info.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ IMAGE_INFO="/usr/share/ublue-os/image-info.json"
66
IMAGE_REF="ostree-image-signed:docker://ghcr.io/$IMAGE_VENDOR/$IMAGE_NAME"
77

88
case $FEDORA_MAJOR_VERSION in
9-
39)
9+
40)
1010
IMAGE_TAG="latest"
1111
;;
12-
38)
12+
39)
1313
IMAGE_TAG="gts"
1414
;;
1515
*)

install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ if [ "${KERNEL_FLAVOR}" = "main" ]; then
99
exit 0
1010
fi
1111

12-
# after F40 launches, bump to 41
13-
if [[ "${FEDORA_MAJOR_VERSION}" -ge 40 ]]; then
12+
# after F41 launches, bump to 42
13+
if [[ "${FEDORA_MAJOR_VERSION}" -ge 41 ]]; then
1414
# note: this is done before single mirror hack to ensure this persists in image and is not reset
1515
# pre-release rpmfusion is in a different location
1616
sed -i "s%free/fedora/releases%free/fedora/development%" /etc/yum.repos.d/rpmfusion-*.repo

nvidia-install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ else
1010
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/fedora-cisco-openh264.repo
1111
fi
1212

13-
# after F40 launches, bump to 41
14-
if [[ "${FEDORA_MAJOR_VERSION}" -ge 40 ]]; then
13+
# after F41 launches, bump to 42
14+
if [[ "${FEDORA_MAJOR_VERSION}" -ge 41 ]]; then
1515
# note: this is done before single mirror hack to ensure this persists in image and is not reset
1616
# pre-release rpmfusion is in a different location
1717
sed -i "s%free/fedora/releases%free/fedora/development%" /etc/yum.repos.d/rpmfusion-*.repo

0 commit comments

Comments
 (0)