Skip to content
This repository was archived by the owner on Oct 24, 2026. It is now read-only.
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 21 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
# Default: maintainers team owns everything
* @projectbluefin/maintainers
# Default: the maintainers team owns everything
* @thallium-suite/maintainers

# Sensitive paths — require maintainer review
.github/workflows/ @projectbluefin/maintainers
Justfile @projectbluefin/maintainers
build_scripts/ @projectbluefin/maintainers
# Sensitive paths — require maintainer review.
# Each of these is gated behind review by AGENTS.md: the release and signing
# gates, the build recipe, the image build scripts, and the GNOME factory
# whose buildroot ABI every published RPM is attributable to.
.github/workflows/ @thallium-suite/maintainers
Justfile @thallium-suite/maintainers
build_scripts/ @thallium-suite/maintainers
factory/ @thallium-suite/maintainers
.packit.yaml @thallium-suite/maintainers

# Exempt from CODEOWNERS review (Renovate-managed, auto-merged by renovate-automerge.yml)
# Exempt from CODEOWNERS review (Renovate-managed, auto-merged by
# renovate-automerge.yml)
image-versions.yaml

# BEGIN TRIAGERS — managed by projectbluefin/common, do not edit manually
# docs/** @handle1 @handle2
# *.md @handle1 @handle2
# END TRIAGERS
# Enforcement note — read this before requiring a code-owner review.
# GitHub does not let a code-owner review be satisfied by the PR author.
# @thallium-suite/maintainers currently has a single member, so *requiring*
# one would leave every PR permanently unmergeable with no way to approve it.
# The testing ruleset therefore leaves require_code_owner_review in "evaluate"
# (advisory) and the main ruleset does not set it at all. Both are correct
# today and neither blocks anyone. Add MD-2016 or TheOddCell to
# @thallium-suite/maintainers *before* switching testing to "active".
48 changes: 48 additions & 0 deletions .github/actions/factory-load-buildroot/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Factory load build root

description: >
Load the build root image that the prepare job pulled once, from the run's
own artifact, under a bare local name.

# This is the other half of the "pull the build root once" decision documented
# in factory-build.yml. The image is tagged `factory-buildroot:run` -- a bare
# name with no registry behind it -- so a job that failed to load the artifact
# cannot silently fall back to pulling something else: docker refuses an
# unqualified name it does not have locally.
#
# Deliberately not pulling by digest here. The pin is enforced at prepare and
# the bytes are carried in the artifact, so re-resolving against a registry
# would reintroduce exactly the mid-run expiry this avoids.

inputs:
artifact:
description: Name of the build root artifact.
required: false
default: factory-buildroot-image

runs:
using: composite
steps:
- name: Install zstd
shell: bash
run: sudo apt-get update && sudo apt-get install -y zstd

- name: Download the build root artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v6
with:
name: ${{ inputs.artifact }}
path: work

- name: Load the image
shell: bash
run: |
set -euo pipefail
zstd -d -c work/buildroot.tar.zst | docker load
# docker load names the image factory-buildroot:run because that is
# the tag prepare applied before saving. Verify it rather than assume:
# a rename in prepare would otherwise surface here as a confusing
# "image not found" from a later docker run.
docker image inspect factory-buildroot:run >/dev/null \
|| { echo "the build root artifact did not contain factory-buildroot:run" >&2; exit 1; }
docker image inspect factory-buildroot:run \
--format 'build root loaded: {{.Id}}'
54 changes: 0 additions & 54 deletions .github/renovate.json5

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/bonedigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ permissions:
jobs:
lifecycle:
uses: projectbluefin/bonedigger/.github/workflows/lifecycle.yml@d53076732c23203efd7856eaee7c502742897603 # v1
with:
brand_name: "Bluefin LTS"
brand_emoji: "🦕"
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/build-nvidia-aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Bluefin Nvidia (aarch64)
name: Build Uranium Nvidia (aarch64)

# ARM is intentionally isolated from the x86_64 NVIDIA publication path.
# A missing ARM kmod or transient ARM build failure must not block amd64 users.
Expand Down Expand Up @@ -27,7 +27,7 @@ concurrency:

jobs:
build:
name: Build bluefin-lts-nvidia image (aarch64)
name: Build uranium-nvidia image (aarch64)
uses: projectbluefin/actions/.github/workflows/reusable-build.yml@v1
permissions:
contents: read
Expand All @@ -38,7 +38,7 @@ jobs:
issues: write
secrets: inherit
with:
brand_name: bluefin-lts-nvidia
brand_name: uranium-nvidia
stream_name: testing
image_flavors: '["main"]'
architecture: '["aarch64"]'
Expand Down
37 changes: 21 additions & 16 deletions .github/workflows/build-nvidia-manifest.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Build Bluefin Nvidia Manifest
name: Build Uranium Nvidia Manifest

# Assembles bluefin-lts-nvidia's independently-built amd64 (build-nvidia.yml)
# Assembles uranium-nvidia's independently-built amd64 (build-nvidia.yml)
# and aarch64 (build-nvidia-aarch64.yml) images into one signed multi-arch
# manifest index and publishes it as :testing.
#
# Both per-arch workflows publish immutable architecture-specific aliases
# only (publish_stream_tag: 'false') — neither pushes :testing directly.
# This workflow is the single place :testing is written for
# bluefin-lts-nvidia, which removes the amd64/aarch64 publish race from
# uranium-nvidia, which removes the amd64/aarch64 publish race from
# issue #421 (":stable tag resolving to arm64-only manifest") without
# making the amd64 build wait on the less reliable ARM build (see #455).
#
Expand All @@ -24,8 +24,8 @@ name: Build Bluefin Nvidia Manifest
on:
workflow_run:
workflows:
- "Build Bluefin Nvidia"
- "Build Bluefin Nvidia (aarch64)"
- "Build Uranium Nvidia"
- "Build Uranium Nvidia (aarch64)"
types: [completed]

permissions:
Expand All @@ -45,7 +45,7 @@ concurrency:

jobs:
assemble-manifest:
name: Assemble bluefin-lts-nvidia multi-arch manifest
name: Assemble uranium-nvidia multi-arch manifest
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'testing'
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ steps.find-runs.outputs.amd64_run }}
pattern: image-digest-testing-bluefin-lts-nvidia-*-x86_64
pattern: image-digest-testing-uranium-nvidia-*-x86_64
merge-multiple: true
path: /tmp/digests

Expand All @@ -99,7 +99,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ steps.find-runs.outputs.arm64_run }}
pattern: image-digest-testing-bluefin-lts-nvidia-*-aarch64
pattern: image-digest-testing-uranium-nvidia-*-aarch64
merge-multiple: true
path: /tmp/digests

Expand All @@ -126,13 +126,13 @@ jobs:
')"
echo "Merged digests: ${digests}"

archs="$(jq -r '.["bluefin-lts-nvidia"] // {} | keys | sort | join(",")' <<<"${digests}")"
archs="$(jq -r '.["uranium-nvidia"] // {} | keys | sort | join(",")' <<<"${digests}")"
if [[ "${archs}" != "amd64,arm64" ]]; then
echo "::error::Expected amd64 and arm64 digests for bluefin-lts-nvidia, got: ${archs:-none}"
echo "::error::Expected amd64 and arm64 digests for uranium-nvidia, got: ${archs:-none}"
exit 1
fi

image_digests="$(jq -c '.["bluefin-lts-nvidia"]' <<<"${digests}")"
image_digests="$(jq -c '.["uranium-nvidia"]' <<<"${digests}")"
echo "image_digests=${image_digests}" >> "$GITHUB_OUTPUT"

- name: Prepare runner
Expand Down Expand Up @@ -162,15 +162,15 @@ jobs:
id: manifest
uses: projectbluefin/actions/bootc-build/create-manifest@v1
with:
image-name: bluefin-lts-nvidia
image-name: uranium-nvidia
digests-json: ${{ steps.merge.outputs.image_digests }}
tags: testing
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Verify testing manifest
if: steps.find-runs.outputs.ready == 'true'
env:
IMAGE: ghcr.io/projectbluefin/bluefin-lts-nvidia
IMAGE: ghcr.io/thallium-suite/uranium-nvidia
DIGEST: ${{ steps.manifest.outputs.digest }}
shell: bash
run: |
Expand All @@ -187,11 +187,16 @@ jobs:
if: steps.find-runs.outputs.ready == 'true'
uses: projectbluefin/actions/bootc-build/sign-and-publish@v1
with:
image: ghcr.io/projectbluefin/bluefin-lts-nvidia
image: ghcr.io/thallium-suite/uranium-nvidia
digest: ${{ steps.manifest.outputs.digest }}
generate-sbom: 'true'
push-attestation: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
# The action's default identity regex only covers the projectbluefin
# org, so cosign signs and then rejects its own signature. Keep in
# sync with build-regular.yml and execute-release.yml.
certificate-identity-regexp: >-
^https://github\.com/thallium-suite/uranium/\.github/workflows/

- name: Dispatch post-testing E2E for NVIDIA
if: steps.find-runs.outputs.ready == 'true'
Expand All @@ -202,7 +207,7 @@ jobs:
gh workflow run post-testing-e2e-nvidia.yml \
--repo "${{ github.repository }}" \
--ref testing \
-f image="ghcr.io/projectbluefin/bluefin-lts-nvidia:testing" \
-f image="ghcr.io/thallium-suite/uranium-nvidia:testing" \
-f expected-digest="${TESTING_DIGEST}" \
-f suites="smoke"
echo "Dispatched post-testing-e2e-nvidia for bluefin-lts-nvidia:testing (${TESTING_DIGEST})"
echo "Dispatched post-testing-e2e-nvidia for uranium-nvidia:testing (${TESTING_DIGEST})"
6 changes: 3 additions & 3 deletions .github/workflows/build-nvidia.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Bluefin Nvidia
name: Build Uranium Nvidia

permissions:
contents: read
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- 'Containerfile'

build:
name: Build bluefin-lts-nvidia image
name: Build uranium-nvidia image
needs: [detect-changes]
if: |
always() &&
Expand All @@ -76,7 +76,7 @@ jobs:
issues: write
secrets: inherit
with:
brand_name: bluefin-lts-nvidia
brand_name: uranium-nvidia
stream_name: testing
image_flavors: '["main"]'
architecture: '["x86_64"]'
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/build-regular.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Bluefin LTS
name: Build Uranium

permissions:
contents: read
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- 'Containerfile'

build:
name: Build bluefin-lts image
name: Build uranium image
needs: [detect-changes]
if: |
always() &&
Expand All @@ -75,7 +75,7 @@ jobs:
issues: write
secrets: inherit
with:
brand_name: bluefin-lts
brand_name: uranium
stream_name: testing
image_flavors: '["main"]'
architecture: '["x86_64", "aarch64"]'
Expand Down Expand Up @@ -120,14 +120,14 @@ jobs:
id: manifest
uses: projectbluefin/actions/bootc-build/create-manifest@v1
with:
image-name: bluefin-lts
digests-json: ${{ toJSON(fromJSON(needs.build.outputs.digests)['bluefin-lts']) }}
image-name: uranium
digests-json: ${{ toJSON(fromJSON(needs.build.outputs.digests)['uranium']) }}
tags: testing
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Verify testing manifest
env:
IMAGE: ghcr.io/projectbluefin/bluefin-lts
IMAGE: ghcr.io/thallium-suite/uranium
DIGEST: ${{ steps.manifest.outputs.digest }}
shell: bash
run: |
Expand All @@ -143,11 +143,18 @@ jobs:
- name: Sign testing manifest
uses: projectbluefin/actions/bootc-build/sign-and-publish@v1
with:
image: ghcr.io/projectbluefin/bluefin-lts
image: ghcr.io/thallium-suite/uranium
digest: ${{ steps.manifest.outputs.digest }}
generate-sbom: 'false'
push-attestation: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
# The action's default identity regex only covers the projectbluefin
# org. Without this, cosign signs successfully and then fails its own
# verify step: "none of the expected identities matched what was in
# the certificate". Keep in sync with execute-release.yml and
# promote-testing-to-main.yml.
certificate-identity-regexp: >-
^https://github\.com/thallium-suite/uranium/\.github/workflows/

trigger-post-testing:
name: Trigger post-testing verification
Expand All @@ -172,6 +179,6 @@ jobs:
gh workflow run post-testing-e2e.yml \
--repo "${{ github.repository }}" \
--ref "${GITHUB_REF_NAME}" \
-f image="ghcr.io/projectbluefin/bluefin-lts:testing" \
-f image="ghcr.io/thallium-suite/uranium:testing" \
-f expected-digest="${TESTING_DIGEST}" \
-f suites="smoke"
Loading
Loading