Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 0 additions & 90 deletions .github/workflows/build-akmods-centos-kmodsig.yml

This file was deleted.

87 changes: 87 additions & 0 deletions .github/workflows/build-akmods-coreos-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,93 @@ on:
- cron: '19 0 * * *' # 0019 UTC everyday
workflow_dispatch:
jobs:
cache_kernel_coreos-stable_43:
name: Cache coreos-stable (43)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["aarch64","x86_64"]'
kernel_flavor: coreos-stable
version: 43
build-coreos-stable_43_common:
name: Build common coreos-stable (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_43
with:
akmods_target: common
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_43.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 43
build-coreos-stable_43_nvidia:
name: Build nvidia coreos-stable (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_43
with:
akmods_target: nvidia
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_43.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 43
build-coreos-stable_43_nvidia-open:
name: Build nvidia-open coreos-stable (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_43
with:
akmods_target: nvidia-open
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_43.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 43
build-coreos-stable_43_zfs:
name: Build zfs coreos-stable (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_43
with:
akmods_target: zfs
architecture: '["aarch64","x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_43.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 43
check-coreos-stable_43:
name: Check coreos-stable (43)
permissions:
actions: read
contents: read
needs: [build-coreos-stable_43_common,build-coreos-stable_43_nvidia,build-coreos-stable_43_nvidia-open,build-coreos-stable_43_zfs]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1

- name: Exit if Success
run: exit 0
cache_kernel_coreos-stable_42:
name: Cache coreos-stable (42)
uses: ./.github/workflows/reusable-cache-kernel.yml
Expand Down
7 changes: 6 additions & 1 deletion build_files/nvidia/build-kmod-nvidia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ cd /tmp

### BUILD nvidia

# query latest available driver in repo
DRIVER_VERSION=$(dnf info nvidia-driver | grep -E '^Version|^Release' | awk '{print $3}' | xargs | sed 's/\ /-/')

# only install the version of akmod-nviida which matches available nvidia-driver
# this works around situations where a new version may be released but not for one arch
dnf install -y \
"akmod-nvidia*.${DIST}.${ARCH}"
"akmod-nvidia-${DRIVER_VERSION}"

# Either successfully build and install the kernel modules, or fail early with debug output
rpm -qa |grep nvidia
Expand Down
4 changes: 2 additions & 2 deletions build_files/prep/build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ echo "Installing ${KERNEL_FLAVOR} kernel-cache RPMs..."
#shellcheck disable=SC2046 #we want word splitting
dnf install -y --allowerasing --setopt=install_weak_deps=False "${PREP_RPMS[@]}" $(find /tmp/kernel_cache/*.rpm -type f | grep "$(uname -m)" | grep -v uki | xargs)

# after F43 launches, bump to 44
if [[ "${VERSION}" -ge 43 && -f /etc/fedora-release ]]; then
# after F44 launches, bump to 45
if [[ "${VERSION}" -ge 44 && -f /etc/fedora-release ]]; then
# pre-release rpmfusion is in a different location
sed -i "s%free/fedora/releases%free/fedora/development%" /etc/yum.repos.d/rpmfusion-*.repo
# pre-release rpmfusion needs to enable testing
Expand Down
8 changes: 4 additions & 4 deletions build_files/test/test-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ else
fedora-repos-archive
)

# after F43 launches, bump to 44
if [[ "${RELEASE}" -ge 43 ]]; then
# after F44 launches, bump to 45
if [[ "${RELEASE}" -ge 44 ]]; then
COPR_RELEASE="rawhide"
else
COPR_RELEASE="${RELEASE}"
Expand All @@ -78,8 +78,8 @@ else
"https://negativo17.org/repos/fedora-multimedia.repo"
fi

# after F43 launches, bump to 44
if [[ "${RELEASE}" -ge 43 && -f /etc/fedora-release ]]; then
# after F44 launches, bump to 45
if [[ "${RELEASE}" -ge 44 && -f /etc/fedora-release ]]; then
# pre-release rpmfusion is in a different location
sed -i "s%free/fedora/releases%free/fedora/development%" /etc/yum.repos.d/rpmfusion-*.repo
# pre-release rpmfusion needs to enable testing
Expand Down
14 changes: 5 additions & 9 deletions images.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
defaults:
kernel_flavor: main
version: 42
version: 43
akmods_target: common

arch-arm-x86: &arch-arm-x86
Expand Down Expand Up @@ -108,9 +108,6 @@ images:
centos:
!!merge <<:
- *server-build-group-arm-x86
centos-kmodsig:
!!merge <<:
- *server-build-group-arm-x86
42:
main:
!!merge <<:
Expand All @@ -119,15 +116,14 @@ images:
!!merge <<:
- *desktop-build-group-arm-x86
- *server-build-group-arm-x86
"longterm-6.12":
!!merge <<:
- *desktop-build-group-arm-x86
- *server-build-group-arm-x86

43:
main:
!!merge <<:
- *desktop-build-group
coreos-stable:
!!merge <<:
- *desktop-build-group-arm-x86
- *server-build-group-arm-x86
coreos-testing:
!!merge <<:
- *desktop-build-group-arm-x86
Expand Down
Loading