diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 24ce1d0c..00000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,15 +0,0 @@ -# Default: maintainers team owns everything -* @projectbluefin/maintainers - -# Sensitive paths — require maintainer review -.github/workflows/ @projectbluefin/maintainers -Justfile @projectbluefin/maintainers -build_scripts/ @projectbluefin/maintainers - -# 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 diff --git a/.github/renovate.json5 b/.github/renovate.json5 deleted file mode 100644 index 18cf8f1e..00000000 --- a/.github/renovate.json5 +++ /dev/null @@ -1,54 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended", - ], - "baseBranchPatterns": ["testing"], - "branchPrefix": "renovate/", - "schedule": ["* 0-3 * * 1"], - "enabledManagers": ["github-actions", "custom.regex"], - - // Do not rebase when the default branch is updated - "rebaseWhen": "never", - - customManagers: [ - { - customType: "regex", - managerFilePatterns: ["/^Containerfile$/"], - matchStrings: [ - "COPY --from=(?ghcr\\.io/ublue-os/bluefin-wallpapers-gnome):(?[^@]+)@(?sha256:[a-f0-9]+)" - ], - datasourceTemplate: "docker", - versioningTemplate: "docker" - }, - { - customType: "regex", - managerFilePatterns: ["/^system_files/bluefin/usr/share/ublue-os/just/60-bonedigger\\.just$/"], - matchStrings: [ - "BONEDIGGER_VERSION\\s*:=\\s*\"(?v?[0-9.]+)\"" - ], - datasourceTemplate: "github-releases", - depNameTemplate: "projectbluefin/bonedigger" - } - ], - - "packageRules": [ - { - "matchManagers": ["github-actions"], - "matchDepTypes": ["action"], - "pinDigests": true - }, - { - "description": "Never SHA-pin projectbluefin/testsuite refs — use @v1 managed tag", - "matchManagers": ["github-actions"], - "matchPackageNames": ["projectbluefin/testsuite"], - "enabled": false - }, - { - "automerge": true, - "matchManagers": ["github-actions"], - "matchDepTypes": ["action"], - "matchUpdateTypes": ["minor", "patch"] - } - ] -} diff --git a/.github/workflows/bonedigger.yml b/.github/workflows/bonedigger.yml index 4efaf1c5..1f57b191 100644 --- a/.github/workflows/bonedigger.yml +++ b/.github/workflows/bonedigger.yml @@ -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 diff --git a/.github/workflows/build-nvidia-aarch64.yml b/.github/workflows/build-nvidia-aarch64.yml index 559b1400..127f3763 100644 --- a/.github/workflows/build-nvidia-aarch64.yml +++ b/.github/workflows/build-nvidia-aarch64.yml @@ -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. @@ -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 @@ -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"]' diff --git a/.github/workflows/build-nvidia-manifest.yml b/.github/workflows/build-nvidia-manifest.yml index 671d81c1..2c373dd4 100644 --- a/.github/workflows/build-nvidia-manifest.yml +++ b/.github/workflows/build-nvidia-manifest.yml @@ -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). # @@ -29,8 +29,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: @@ -46,7 +46,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' runs-on: ubuntu-24.04 timeout-minutes: 15 @@ -104,7 +104,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 @@ -114,7 +114,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 @@ -141,13 +141,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 @@ -177,7 +177,7 @@ 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 }} @@ -185,7 +185,7 @@ jobs: - 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: | @@ -202,7 +202,7 @@ 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' @@ -217,7 +217,7 @@ jobs: gh workflow run post-testing-e2e-nvidia.yml \ --repo "${{ github.repository }}" \ --ref "${{ github.event.workflow_run.head_branch }}" \ - -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})" diff --git a/.github/workflows/build-nvidia.yml b/.github/workflows/build-nvidia.yml index 2aea3814..b74ec0a6 100644 --- a/.github/workflows/build-nvidia.yml +++ b/.github/workflows/build-nvidia.yml @@ -1,4 +1,4 @@ -name: Build Bluefin Nvidia +name: Build Uranium Nvidia permissions: contents: read @@ -60,7 +60,7 @@ jobs: - 'Containerfile' build: - name: Build bluefin-lts-nvidia image + name: Build uranium-nvidia image needs: [detect-changes] if: | always() && @@ -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"]' diff --git a/.github/workflows/build-regular.yml b/.github/workflows/build-regular.yml index c1b01ee5..cd97b06a 100644 --- a/.github/workflows/build-regular.yml +++ b/.github/workflows/build-regular.yml @@ -1,4 +1,4 @@ -name: Build Bluefin LTS +name: Build Uranium permissions: contents: read @@ -59,7 +59,7 @@ jobs: - 'Containerfile' build: - name: Build bluefin-lts image + name: Build uranium image needs: [detect-changes] if: | always() && @@ -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"]' @@ -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: | @@ -143,7 +143,7 @@ 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: 'true' push-attestation: 'true' @@ -172,6 +172,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" diff --git a/.github/workflows/execute-release.yml b/.github/workflows/execute-release.yml index 9a8e21ac..b6333a2a 100644 --- a/.github/workflows/execute-release.yml +++ b/.github/workflows/execute-release.yml @@ -49,13 +49,18 @@ jobs: promoted_digests: ${{ steps.resolve.outputs.digests }} promoted_sha: ${{ steps.resolve-sha.outputs.sha }} env: - REGISTRY: ghcr.io/projectbluefin + REGISTRY: ghcr.io/thallium-suite VARIANTS_JSON: >- [ - {"image":"bluefin-lts","source_tag":"testing","target_tag":"stable"}, - {"image":"bluefin-lts-nvidia","source_tag":"testing","target_tag":"stable"} + {"image":"uranium","source_tag":"testing","target_tag":"stable"}, + {"image":"uranium-nvidia","source_tag":"testing","target_tag":"stable"} ] - COSIGN_IDENTITY_REGEXP: ^https://github\.com/projectbluefin/(bluefin-lts|actions|execute-release)/\.github/workflows/ + # Only this repository may sign. A reusable workflow invoked through + # `uses:` takes the caller's OIDC identity, so signing always happens as + # thallium-suite/uranium regardless of which action performs it. Nothing + # at this registry path pre-dates the move, so there is no legacy + # signature to accommodate. + COSIGN_IDENTITY_REGEXP: ^https://github\.com/thallium-suite/uranium/\.github/workflows/ steps: - name: Check out repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 @@ -281,21 +286,21 @@ jobs: contents: write id-token: write packages: read - # Use bluefin-lts as the primary image so the stock LTS (CoreOS stable) kernel + # Use uranium as the primary image so the stock LTS (CoreOS stable) kernel # version appears in the Key components table instead of the base CentOS kernel. uses: projectbluefin/actions/.github/workflows/reusable-release.yml@v1 with: stream_name: stable - image: ghcr.io/projectbluefin/bluefin-lts + image: ghcr.io/thallium-suite/uranium build_workflow: build-regular.yml build_branch: testing generate_sbom_inline: true checkout_ref: main - project_name: Bluefin LTS + project_name: Uranium badge_label: LTS accent_color: "#0ea5e9" cert_identity_regexp: >- - ^https://github\.com/projectbluefin/(bluefin-lts|actions|execute-release)/\.github/workflows/ + ^https://github\.com/thallium-suite/uranium/\.github/workflows/ notable_packages: >- [ {"sbom_name": "kernel", "label": "Kernel (LTS)"}, @@ -303,7 +308,13 @@ jobs: {"sbom_name": "flatpak", "label": "Flatpak"}, {"sbom_name": "bootc", "label": "bootc"} ] - docs_url: https://docs.projectbluefin.io/changelogs + # The reusable's default is the Bluefin docs site, which builds from + # projectbluefin/documentation and does not cover this repository. + # Release notes are published as GitHub release bodies, so that is where + # the changelog link points until Uranium has its own docs site. + # Do not set this to an empty string: render_notes.py interpolates it + # unconditionally and would emit a dangling "Full changelog → ". + docs_url: https://github.com/thallium-suite/uranium/releases secrets: inherit post-release-variants: @@ -321,16 +332,16 @@ jobs: id: digests run: | set -euo pipefail - for image in bluefin-lts bluefin-lts-nvidia; do - digest=$(skopeo inspect --no-tags "docker://ghcr.io/projectbluefin/${image}:stable" \ + for image in uranium uranium-nvidia; do + digest=$(skopeo inspect --no-tags "docker://ghcr.io/thallium-suite/${image}:stable" \ | jq -r '.Digest' | cut -c1-19) echo "${image}=${digest}" >> "$GITHUB_OUTPUT" done - name: Prepend variants table to release env: - LTS_DIGEST: ${{ steps.digests.outputs.bluefin-lts }} - NVIDIA_DIGEST: ${{ steps.digests.outputs.bluefin-lts-nvidia }} + LTS_DIGEST: ${{ steps.digests.outputs.uranium }} + NVIDIA_DIGEST: ${{ steps.digests.outputs.uranium-nvidia }} run: | set -euo pipefail TAG=$(gh release list --repo "${{ github.repository }}" --limit 1 --json tagName --jq '.[0].tagName') @@ -347,10 +358,10 @@ jobs: '' \ '| Variant | Tag | Digest |' \ '|---|---|---|' \ - "| \`bluefin-lts\` | \`:stable\` | \`${LTS_DIGEST}\` |" \ - "| \`bluefin-lts-nvidia\` | \`:stable\` | \`${NVIDIA_DIGEST}\` |" \ + "| \`uranium\` | \`:stable\` | \`${LTS_DIGEST}\` |" \ + "| \`uranium-nvidia\` | \`:stable\` | \`${NVIDIA_DIGEST}\` |" \ '' \ - '> **bluefin-lts** and **bluefin-lts-nvidia** use the Fedora CoreOS stable kernel. The **Kernel (LTS)** version above applies to both.' \ + '> **uranium** and **uranium-nvidia** use the Fedora CoreOS stable kernel. The **Kernel (LTS)** version above applies to both.' \ '' \ '---' \ '') diff --git a/.github/workflows/factory-build.yml b/.github/workflows/factory-build.yml index 712d47e0..2b42e17c 100644 --- a/.github/workflows/factory-build.yml +++ b/.github/workflows/factory-build.yml @@ -156,7 +156,7 @@ jobs: run: | set -euo pipefail owner=$(printf '%s' "$REPOSITORY_OWNER" | tr "[:upper:]" "[:lower:]") - image="ghcr.io/${owner}/bluefin-lts-packages" + image="ghcr.io/${owner}/uranium-packages" echo "${GITHUB_TOKEN}" | docker login ghcr.io -u "$ACTOR" --password-stdin if [ "$REF" = "refs/heads/main" ]; then candidates="latest" @@ -166,8 +166,8 @@ jobs: fi resolved="" for tag in $candidates; do - if docker pull --quiet "ghcr.io/${owner}/bluefin-lts-packages:${tag}" >&2; then - digest=$(docker image inspect "ghcr.io/${owner}/bluefin-lts-packages:${tag}" \ + if docker pull --quiet "ghcr.io/${owner}/uranium-packages:${tag}" >&2; then + digest=$(docker image inspect "ghcr.io/${owner}/uranium-packages:${tag}" \ --format '{{index .RepoDigests 0}}' | sed 's/.*@//') resolved="${image}@${digest}" break @@ -197,7 +197,7 @@ jobs: python3 - <<'PY' import json, os, sys labels = json.load(open("work/factory-labels.json")) or {} - value = labels.get("org.projectbluefin.factory.state", "{}") + value = labels.get("org.thallium-suite.factory.state", "{}") try: document = json.loads(value) except json.JSONDecodeError: diff --git a/.github/workflows/factory-publish.yml b/.github/workflows/factory-publish.yml index 932e5cf7..3a02862f 100644 --- a/.github/workflows/factory-publish.yml +++ b/.github/workflows/factory-publish.yml @@ -162,8 +162,8 @@ jobs: cp -a work/candidate/. image/repository/ cp work/buildroot-provenance.json image/repository/reports/buildroot.json printf 'FROM scratch\nCOPY repository /factory\n' > image/Containerfile - docker build -f image/Containerfile --label "org.projectbluefin.factory.state=$(cat work/state.json)" \ - --label "org.projectbluefin.factory.buildroot=$BUILDROOT_DIGEST" \ + docker build -f image/Containerfile --label "org.thallium-suite.factory.state=$(cat work/state.json)" \ + --label "org.thallium-suite.factory.buildroot=$BUILDROOT_DIGEST" \ --label "org.opencontainers.image.revision=$(git rev-parse HEAD)" \ -t factory-repo:stage image @@ -177,7 +177,7 @@ jobs: run: | set -euo pipefail owner=$(printf '%s' "$REPOSITORY_OWNER" | tr '[:upper:]' '[:lower:]') - image="ghcr.io/$owner/bluefin-lts-packages" + image="ghcr.io/$owner/uranium-packages" immutable="$image:run-$RUN_ID-$RUN_ATTEMPT" docker tag factory-repo:stage "$immutable" docker push "$immutable" @@ -190,7 +190,7 @@ jobs: - uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2 if: steps.assemble.outputs.count != '0' with: - subject-name: ghcr.io/${{ github.repository_owner }}/bluefin-lts-packages + subject-name: ghcr.io/${{ github.repository_owner }}/uranium-packages subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true diff --git a/.github/workflows/lab-check.yml b/.github/workflows/lab-check.yml deleted file mode 100644 index 28be003d..00000000 --- a/.github/workflows/lab-check.yml +++ /dev/null @@ -1,113 +0,0 @@ -name: Lab check - -on: - repository_dispatch: - types: [lab-check] - -permissions: - contents: read - -jobs: - report: - name: Update testing-lab check - if: >- - github.event.client_payload.repository == github.repository && - github.event.client_payload.sha != '' - runs-on: ubuntu-24.04 - permissions: - checks: write - contents: read - steps: - - name: Create or update lab check - env: - GH_TOKEN: ${{ github.token }} - SHA: ${{ github.event.client_payload.sha }} - CHECK_JSON: ${{ toJSON(github.event.client_payload.check) }} - run: | - set -euo pipefail - - PRODUCT="${GITHUB_REPOSITORY#*/}" - CHECK_NAME="testing-lab / ${PRODUCT}" - APP_SLUG="github-actions" - - if [[ ! "${SHA}" =~ ^[0-9a-f]{40}$ ]]; then - echo "Invalid commit SHA: ${SHA}" >&2 - exit 1 - fi - gh api "repos/${GITHUB_REPOSITORY}/commits/${SHA}" >/dev/null - - STATE=$(jq -r '.state // empty' <<<"${CHECK_JSON}") - case "${STATE}" in - queued|in_progress|completed) ;; - *) - echo "Invalid check state: ${STATE}" >&2 - exit 1 - ;; - esac - - CONCLUSION=$(jq -r '.conclusion // empty' <<<"${CHECK_JSON}") - if [[ "${STATE}" == "completed" ]]; then - case "${CONCLUSION}" in - success|failure|neutral|cancelled|timed_out|action_required|skipped|stale) ;; - *) - echo "Invalid completed conclusion: ${CONCLUSION}" >&2 - exit 1 - ;; - esac - fi - - DETAILS_URL=$(jq -r '.details_url // empty' <<<"${CHECK_JSON}") - EXTERNAL_ID=$(jq -r '.external_id // empty' <<<"${CHECK_JSON}") - TITLE=$(jq -r '(.title // "Lab validation")[0:255]' <<<"${CHECK_JSON}") - SUMMARY=$(jq -r '(.summary // "No lab summary was provided.")[0:60000]' <<<"${CHECK_JSON}") - TEXT=$(jq -r '(.text // "")[0:60000]' <<<"${CHECK_JSON}") - STARTED_AT=$(jq -r '.started_at // empty' <<<"${CHECK_JSON}") - COMPLETED_AT=$(jq -r '.completed_at // empty' <<<"${CHECK_JSON}") - - CHECK_ID=$( - gh api --method GET \ - "repos/${GITHUB_REPOSITORY}/commits/${SHA}/check-runs" \ - -f per_page=100 \ - --jq '.check_runs - | map(select(.name == "'"${CHECK_NAME}"'" and .app.slug == "'"${APP_SLUG}"'")) - | sort_by(.id) - | last - | .id // empty' - ) - - BODY=$( - jq -n \ - --arg name "${CHECK_NAME}" \ - --arg head_sha "${SHA}" \ - --arg details_url "${DETAILS_URL}" \ - --arg external_id "${EXTERNAL_ID}" \ - --arg status "${STATE}" \ - --arg conclusion "${CONCLUSION}" \ - --arg started_at "${STARTED_AT}" \ - --arg completed_at "${COMPLETED_AT}" \ - --arg title "${TITLE}" \ - --arg summary "${SUMMARY}" \ - --arg text "${TEXT}" \ - '{ - name: $name, - head_sha: $head_sha, - status: $status, - output: {title: $title, summary: $summary, text: $text} - } - + if $details_url != "" then {details_url: $details_url} else {} end - + if $external_id != "" then {external_id: $external_id} else {} end - + if $started_at != "" then {started_at: $started_at} else {} end - + if $status == "completed" then {conclusion: $conclusion} else {} end - + if $status == "completed" and $completed_at != "" then {completed_at: $completed_at} else {} end' - ) - - if [[ -n "${CHECK_ID}" ]]; then - jq 'del(.head_sha)' <<<"${BODY}" | - gh api --method PATCH \ - "repos/${GITHUB_REPOSITORY}/check-runs/${CHECK_ID}" \ - --input - >/dev/null - else - gh api --method POST \ - "repos/${GITHUB_REPOSITORY}/check-runs" \ - --input - <<<"${BODY}" >/dev/null - fi diff --git a/.github/workflows/post-testing-e2e-nvidia.yml b/.github/workflows/post-testing-e2e-nvidia.yml index 43a24ca5..eef154b8 100644 --- a/.github/workflows/post-testing-e2e-nvidia.yml +++ b/.github/workflows/post-testing-e2e-nvidia.yml @@ -2,7 +2,7 @@ name: Post-Testing E2E (nvidia) # Runs e2e smoke tests after the NVIDIA testing image manifest is assembled # so promote-testing-to-main can gate on an existing verified run for both -# bluefin-lts and bluefin-lts-nvidia. +# uranium and uranium-nvidia. on: workflow_dispatch: @@ -10,7 +10,7 @@ on: image: description: Full image reference to test required: false - default: ghcr.io/projectbluefin/bluefin-lts-nvidia:testing + default: ghcr.io/thallium-suite/uranium-nvidia:testing type: string suites: description: Comma-separated list of test suites to run @@ -41,7 +41,7 @@ jobs: - name: Resolve image reference id: resolve env: - IMAGE_REF: ${{ inputs.image || 'ghcr.io/projectbluefin/bluefin-lts-nvidia:testing' }} + IMAGE_REF: ${{ inputs.image || 'ghcr.io/thallium-suite/uranium-nvidia:testing' }} run: echo "image=${IMAGE_REF}" >> "$GITHUB_OUTPUT" - name: Verify testing image is reachable and multi-arch diff --git a/.github/workflows/post-testing-e2e.yml b/.github/workflows/post-testing-e2e.yml index c0f21971..9b2980d7 100644 --- a/.github/workflows/post-testing-e2e.yml +++ b/.github/workflows/post-testing-e2e.yml @@ -8,7 +8,7 @@ on: image: description: Full image reference to test required: false - default: ghcr.io/projectbluefin/bluefin-lts:testing + default: ghcr.io/thallium-suite/uranium:testing type: string suites: description: Comma-separated list of test suites to run @@ -36,7 +36,7 @@ jobs: steps: - name: Verify testing image is reachable env: - IMAGE_REF: ${{ github.event_name == 'workflow_dispatch' && inputs.image || 'ghcr.io/projectbluefin/bluefin-lts:testing' }} + IMAGE_REF: ${{ github.event_name == 'workflow_dispatch' && inputs.image || 'ghcr.io/thallium-suite/uranium:testing' }} EXPECTED_DIGEST: ${{ inputs['expected-digest'] }} shell: bash run: | diff --git a/.github/workflows/pr-e2e.yml b/.github/workflows/pr-e2e.yml index a22d3fb0..0f6834e8 100644 --- a/.github/workflows/pr-e2e.yml +++ b/.github/workflows/pr-e2e.yml @@ -1,6 +1,6 @@ name: PR E2E Gate (advisory) -# Composes system_files/ changes from the PR on top of bluefin-lts:testing +# Composes system_files/ changes from the PR on top of uranium:testing # and runs the smoke suite. Non-blocking — informational coverage only. # See: issue #68, ACMM Level 3 bridge gap. @@ -19,9 +19,9 @@ concurrency: cancel-in-progress: true env: - BASE_IMAGE: ghcr.io/projectbluefin/bluefin-lts:testing + BASE_IMAGE: ghcr.io/thallium-suite/uranium:testing IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} - IMAGE_NAME: bluefin-lts + IMAGE_NAME: uranium jobs: compose: diff --git a/.github/workflows/pr-testsuite.yml b/.github/workflows/pr-testsuite.yml index af347949..a2577ed2 100644 --- a/.github/workflows/pr-testsuite.yml +++ b/.github/workflows/pr-testsuite.yml @@ -29,7 +29,7 @@ jobs: if grep -r "copr enable\|copr_install_isolated\|dnf5 copr" build_scripts/ 2>/dev/null | grep -v "^Binary"; then echo "" echo "ERROR: Found COPR usage in build scripts." - echo "bluefin-lts is built on CentOS Stream 10 where COPR does not exist." + echo "uranium is built on CentOS Stream 10 where COPR does not exist." echo "Use EPEL or CentOS Stream repos instead." echo "See docs/skills/centos-vs-fedora/SKILL.md for details." exit 1 diff --git a/.github/workflows/promote-testing-to-main.yml b/.github/workflows/promote-testing-to-main.yml index 388505d9..4bf9561a 100644 --- a/.github/workflows/promote-testing-to-main.yml +++ b/.github/workflows/promote-testing-to-main.yml @@ -10,7 +10,7 @@ name: Promote testing to main # # Release cadence: the actual merge/release only happens on Thursdays (UTC), # as part of the factory-wide 3x/week promotion schedule (bluefin: Tuesday, -# bluefin-lts: Thursday, dakota: Sunday). LTS sits two days after Bluefin's +# uranium: Thursday, dakota: Sunday). LTS sits two days after Bluefin's # Tuesday stable, giving a soak window for Fedora/CentOS-base regressions # that surface in Bluefin's stable before they reach LTS. The daily heartbeat # below keeps the promotion PR fresh and gate checks re-running all week; @@ -105,7 +105,7 @@ jobs: exit 0 fi - # bluefin-lts stable releases on Thursdays (UTC), day 4 of ISO 8601 week. + # uranium stable releases on Thursdays (UTC), day 4 of ISO 8601 week. day_of_week="$(date -u +%u)" if [[ "$day_of_week" == "4" ]]; then echo "is-release-window=true" >> "$GITHUB_OUTPUT" @@ -121,13 +121,16 @@ jobs: uses: projectbluefin/actions/.github/workflows/reusable-promote-squash.yml@v1 with: variants: >- - [{"image":"bluefin-lts"},{"image":"bluefin-lts-nvidia"}] + [{"image":"uranium"},{"image":"uranium-nvidia"}] + # Only this repository may sign. A reusable workflow invoked through `uses:` + # takes the caller's OIDC identity, and nothing at this registry path + # pre-dates the move, so there is no legacy signature to accommodate. cosign_identity_regexp: >- - ^https://github\.com/projectbluefin/(bluefin-lts|actions)/\.github/workflows/ + ^https://github\.com/thallium-suite/uranium/\.github/workflows/ source_branch: testing target_branch: main run_e2e: true - e2e_image: ghcr.io/projectbluefin/bluefin-lts:testing + e2e_image: ghcr.io/thallium-suite/uranium:testing # main uses a merge queue ruleset (17070416): gh pr merge --auto is blocked. # use_merge_queue: true calls enqueuePullRequest GraphQL instead, which # places the PR in the queue and lets it squash-merge once checks pass. @@ -173,7 +176,7 @@ jobs: gh workflow run post-testing-e2e.yml \ --repo "$REPO" \ --ref testing \ - -f image="ghcr.io/projectbluefin/bluefin-lts:testing" \ + -f image="ghcr.io/thallium-suite/uranium:testing" \ -f suites="smoke" echo "Dispatched post-testing-e2e against testing ($testing_head)." else @@ -183,7 +186,7 @@ jobs: gh workflow run post-testing-e2e.yml \ --repo "$REPO" \ --ref testing \ - -f image="ghcr.io/projectbluefin/bluefin-lts:testing" \ + -f image="ghcr.io/thallium-suite/uranium:testing" \ -f suites="smoke" echo "Dispatched post-testing-e2e against testing ($testing_head)." diff --git a/.github/workflows/run-testsuite.yml b/.github/workflows/run-testsuite.yml index 97d8963d..42518ddc 100644 --- a/.github/workflows/run-testsuite.yml +++ b/.github/workflows/run-testsuite.yml @@ -7,7 +7,7 @@ on: workflow_call: inputs: image: - description: "Full image reference to test (e.g. ghcr.io/projectbluefin/bluefin-lts:testing)" + description: "Full image reference to test (e.g. ghcr.io/thallium-suite/uranium:testing)" required: true type: string suites: @@ -26,6 +26,6 @@ jobs: image: ${{ inputs.image }} suites: ${{ inputs.suites }} # Keep the checked-out tests aligned with the managed workflow tag. - # Defaulting to testsuite/main can gate bluefin-lts on unreleased test changes. + # Defaulting to testsuite/main can gate uranium on unreleased test changes. test_ref: v1 secrets: inherit diff --git a/.github/workflows/track-common.yml b/.github/workflows/track-common.yml deleted file mode 100644 index 038b8be9..00000000 --- a/.github/workflows/track-common.yml +++ /dev/null @@ -1,102 +0,0 @@ -name: Track Common Image - -on: - repository_dispatch: - types: [common-updated] - workflow_dispatch: - -permissions: read-all - -jobs: - track: - runs-on: ubuntu-24.04 - permissions: - contents: write - pull-requests: write - steps: - - name: Get mergeraptor token - id: app-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 - with: - app-id: ${{ secrets.MERGERAPTOR_APP_ID }} - private-key: ${{ secrets.MERGERAPTOR_PRIVATE_KEY }} - - - name: Checkout - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - with: - token: ${{ steps.app-token.outputs.token }} - ref: testing - fetch-depth: 0 - - - name: Fetch new common digest - id: digest - run: | - set -euo pipefail - NEW=$(skopeo inspect --raw docker://ghcr.io/projectbluefin/common:latest \ - | sha256sum | awk '{print "sha256:"$1}') - CURRENT=$(awk '/name: common/{found=1} found && /digest:/{print $2; exit}' image-versions.yaml) - echo "new=${NEW}" >> "$GITHUB_OUTPUT" - echo "current=${CURRENT}" >> "$GITHUB_OUTPUT" - if [ "$NEW" = "$CURRENT" ]; then - echo "changed=false" >> "$GITHUB_OUTPUT" - echo "common already up to date: ${NEW}" - else - echo "changed=true" >> "$GITHUB_OUTPUT" - echo "common digest: ${CURRENT} -> ${NEW}" - fi - - - name: Open PR - if: steps.digest.outputs.changed == 'true' - env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} - NEW_DIGEST: ${{ steps.digest.outputs.new }} - OLD_DIGEST: ${{ steps.digest.outputs.current }} - run: | - set -euo pipefail - BRANCH="auto/track-common" - TITLE="chore(deps): update common digest" - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - - awk -v new="$NEW_DIGEST" ' - /^ - name: common$/ { in_common=1 } - in_common && /^ - name:/ && !/^ - name: common$/ { in_common=0 } - in_common && /^ digest:/ { print " digest: " new; next } - { print } - ' image-versions.yaml > image-versions.yaml.tmp - mv image-versions.yaml.tmp image-versions.yaml - - git stash push -- image-versions.yaml - git checkout -B "$BRANCH" origin/testing - git stash pop - - git add image-versions.yaml - git commit -m "$TITLE" - git push --force-with-lease origin "$BRANCH" - - { - echo "## common digest update" - echo "" - echo "| | |" - echo "| --- | --- |" - echo "| **Image** | \`ghcr.io/projectbluefin/common:latest\` |" - echo "| **Old** | \`${OLD_DIGEST:0:19}\` |" - echo "| **New** | \`${NEW_DIGEST:0:19}\` |" - echo "" - echo "---" - echo "*Generated by [Track Common Image](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})*" - } > /tmp/pr-body.md - - EXISTING_PR=$(gh pr list --head "$BRANCH" --json number --jq '.[0].number' 2>/dev/null || true) - if [ -n "$EXISTING_PR" ]; then - gh pr edit "$EXISTING_PR" --title "$TITLE" --body-file /tmp/pr-body.md - gh pr edit "$EXISTING_PR" --base testing 2>/dev/null || true - PR_URL=$(gh pr view "$EXISTING_PR" --json url --jq '.url') - else - PR_URL=$(gh pr create \ - --base testing \ - --head "$BRANCH" \ - --title "$TITLE" \ - --body-file /tmp/pr-body.md) - fi - echo "PR: $PR_URL" diff --git a/.github/workflows/validate-renovate.yaml b/.github/workflows/validate-renovate.yaml index 54c06169..7cd32066 100644 --- a/.github/workflows/validate-renovate.yaml +++ b/.github/workflows/validate-renovate.yaml @@ -4,13 +4,13 @@ name: Validate Renovate Config on: pull_request: paths: - - ".github/renovate.json5" + - "renovate.json" - ".github/workflows/renovate.yml" push: branches: - main paths: - - ".github/renovate.json5" + - "renovate.json" - ".github/workflows/renovate.yml" permissions: {} diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index 5ee63ffb..10bdfca6 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -3,7 +3,7 @@ name: Vulnerability Scan on: workflow_run: - workflows: ["Build Bluefin LTS"] + workflows: ["Build Uranium"] types: [completed] branches: [testing] schedule: @@ -31,7 +31,7 @@ jobs: security-events: write uses: projectbluefin/actions/.github/workflows/reusable-vulnerability-scan.yml@v1 with: - image_matrix: '{"include":[{"image_name":"bluefin-lts","artifact_suffix":"bluefin-lts-main"},{"image_name":"bluefin-lts-nvidia","artifact_suffix":"bluefin-lts-nvidia"}]}' + image_matrix: '{"include":[{"image_name":"uranium","artifact_suffix":"uranium-main"},{"image_name":"uranium-nvidia","artifact_suffix":"uranium-nvidia"}]}' default_tag: 'testing' workflow_run_id: ${{ github.event.workflow_run.id || '' }} image_ref: ${{ inputs.image_ref || '' }} diff --git a/Containerfile b/Containerfile index da5efd03..0207d8f4 100644 --- a/Containerfile +++ b/Containerfile @@ -27,6 +27,11 @@ FROM scratch AS ctx COPY system_files /files COPY --from=brew /system_files /files COPY --from=common /system_files/shared /files +# Bluefin-branded desktop payload (wallpapers, dconf, zsh/fish, just recipes, +# the custom-command-list extension, icons). Owned by projectbluefin/common. +# Removing this line breaks the build: 26-packages-post.sh and the nvidia +# overrides sed -i /usr/share/ublue-os/fastfetch.jsonc and +# .../zz0-bluefin-modifications.gschema.override, which exist only here. COPY --from=common /system_files/bluefin /files COPY system_files_overrides /overrides COPY build_scripts /build_scripts @@ -40,7 +45,7 @@ ARG ENABLE_DX="${ENABLE_DX:-0}" ARG ENABLE_NVIDIA="${ENABLE_NVIDIA:-0}" ARG FEDORA_AKMODS_VERSION="${FEDORA_AKMODS_VERSION:-43}" ARG GNOME_VERSION="${GNOME_VERSION:-50}" -ARG IMAGE_NAME="${IMAGE_NAME:-bluefin}" +ARG IMAGE_NAME="${IMAGE_NAME:-uranium}" ARG IMAGE_VENDOR="${IMAGE_VENDOR:-ublue-os}" ARG MAJOR_VERSION="${MAJOR_VERSION:-lts}" ARG SHA_HEAD_SHORT="${SHA_HEAD_SHORT:-deadbeef}" diff --git a/Justfile b/Justfile index 3b10bea9..65a90718 100644 --- a/Justfile +++ b/Justfile @@ -1,5 +1,5 @@ -export repo_organization := env("GITHUB_REPOSITORY_OWNER", "projectbluefin") -export image_name := env("IMAGE_NAME", "bluefin") +export repo_organization := env("GITHUB_REPOSITORY_OWNER", "thallium-suite") +export image_name := env("IMAGE_NAME", "uranium") export centos_version := env("CENTOS_VERSION", "stream10") export default_tag := env("DEFAULT_TAG", "stable") export bib_image := env("BIB_IMAGE", "quay.io/centos-bootc/bootc-image-builder:latest") @@ -9,7 +9,7 @@ export coreos_stable_kernel := env("COREOS_STABLE_KERNEL", "7.1.8-200.fc44") export HOME := env("HOME", "") export common_image := env("COMMON_IMAGE", "ghcr.io/projectbluefin/common:latest") export brew_image := env("BREW_IMAGE", "ghcr.io/ublue-os/brew:latest") -export gnome_packages_image := env("GNOME_PACKAGES_IMAGE", "ghcr.io/projectbluefin/bluefin-lts-packages:latest") +export gnome_packages_image := env("GNOME_PACKAGES_IMAGE", "ghcr.io/thallium-suite/uranium-packages:latest") alias build-vm := build-qcow2 alias rebuild-vm := rebuild-qcow2 @@ -76,7 +76,7 @@ sudoif command *args: # This Justfile recipe builds a container image using Podman. # # Arguments: -# $target_image - The tag you want to apply to the image (default: bluefin). +# $target_image - The tag you want to apply to the image (default: uranium). # $tag - The tag for the image (default: stable). # $dx - Enable DX (default: "0"). # $nvidia - Enable Nvidia drivers (default: "0"). @@ -94,9 +94,9 @@ sudoif command *args: # just build $target_image $tag $dx $nvidia # # Example usage: -# just build bluefin-lts stable 1 0 +# just build uranium stable 1 0 # -# This will build an image 'bluefin-lts:stable' with DX and the HWE CoreOS kernel enabled. +# This will build an image 'uranium:stable' with DX and the HWE CoreOS kernel enabled. # [private] @@ -286,8 +286,8 @@ build-iso $target_image=("localhost/" + image_name) $tag=default_tag: fi # Determine Variant - VARIANT="bluefin" - if [[ "{{ target_image }}" =~ bluefin-lts ]]; then + VARIANT="uranium" + if [[ "{{ target_image }}" =~ uranium ]]; then VARIANT="lts" fi @@ -412,14 +412,14 @@ lint: # Usage: just create-test-vm [name] [tag] [ssh-key] [group('VM Testing')] -create-test-vm name="bluefin-test-ssh" tag="stable" ssh_key="": +create-test-vm name="uranium-test-ssh" tag="stable" ssh_key="": @echo "Creating test VM: {{ name }}" @if [ -z "{{ ssh_key }}" ]; then ssh_key="{{ HOME }}/.ssh/id_ed25519.pub"; fi @./scripts/create-test-vm.sh "{{ name }}" "{{ tag }}" "{{ ssh_key }}" # Create and immediately start a test VM [group('VM Testing')] -run-test-vm name="bluefin-test-ssh" tag="stable": +run-test-vm name="uranium-test-ssh" tag="stable": @just create-test-vm "{{ name }}" "{{ tag }}" "" @echo "Starting VM: {{ name }}" @limactl start "{{ name }}" @@ -432,7 +432,7 @@ run-test-vm name="bluefin-test-ssh" tag="stable": # Return the OCI image name for a given brand/stream/flavor combination. # For LTS each variant is its own brand_name so flavor is always "main". [group('Utility')] -image_name base="bluefin-lts" stream="stable" flavor="main": +image_name base="uranium" stream="stable" flavor="main": echo "{{ base }}" # Return the default OCI tag for the given stream (tag == stream for LTS). @@ -442,7 +442,7 @@ generate-default-tag stream="stable" ghcr="0": # Return "cache-name allow-cache-write" for the dnf-cache composite action. [group('Utility')] -setup-cache base="bluefin-lts" stream="stable" ghcr="0" event="push": +setup-cache base="uranium" stream="stable" ghcr="0" event="push": #!/usr/bin/bash set -eou pipefail ALLOW_CACHE_WRITE="false" @@ -455,7 +455,7 @@ setup-cache base="bluefin-lts" stream="stable" ghcr="0" event="push": # Build image for GHCR publication — called with sudo by reusable-build.yml. # Maps brand_name suffix to ENABLE_NVIDIA build args. [group('Image')] -build-ghcr base="bluefin-lts" stream="stable" flavor="main" kernel_pin="": +build-ghcr base="uranium" stream="stable" flavor="main" kernel_pin="": #!/usr/bin/bash set -eoux pipefail if [[ "${UID}" -gt "0" ]]; then @@ -468,7 +468,7 @@ build-ghcr base="bluefin-lts" stream="stable" flavor="main" kernel_pin="": # Generate space-separated alias tags (dated + CentOS version aliases for production). [group('Utility')] -generate-build-tags base="bluefin-lts" tag="stable" flavor="main" kernel_pin="" ghcr="0" version="" github_event="" github_number="": +generate-build-tags base="uranium" tag="stable" flavor="main" kernel_pin="" ghcr="0" version="" github_event="" github_number="": #!/usr/bin/bash set -eou pipefail TODAY="$(date +%Y%m%d)" @@ -492,7 +492,7 @@ tag-images image_name="" default_tag="" tags="": # Generate SBOM for the built image using syft. [group('Utility')] -gen-sbom base="bluefin-lts" stream="stable" flavor="main" syft_cmd="syft": +gen-sbom base="uranium" stream="stable" flavor="main" syft_cmd="syft": #!/usr/bin/bash set -eou pipefail IMAGE_NAME="$({{ just_executable() }} image_name {{ base }} {{ stream }} {{ flavor }})" @@ -517,7 +517,7 @@ gen-sbom base="bluefin-lts" stream="stable" flavor="main" syft_cmd="syft": # Secureboot validation stub — LTS uses bootc + TPM2/Verity, not UKI. [group('Utility')] -secureboot base="bluefin-lts" tag="stable" flavor="main": +secureboot base="uranium" tag="stable" flavor="main": echo "Secureboot check: LTS is CentOS bootc-based (TPM2/Verity). UKI check not applicable." # Run unit tests for build scripts diff --git a/README.md b/README.md index 736b2ecc..4e63b645 100644 --- a/README.md +++ b/README.md @@ -1,67 +1,52 @@ -# Bluefin LTS -*Achillobator giganticus* +# Uranium -[![Build Bluefin LTS](https://github.com/projectbluefin/bluefin-lts/actions/workflows/build-regular.yml/badge.svg)](https://github.com/projectbluefin/bluefin-lts/actions/workflows/build-regular.yml) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/10098/badge)](https://www.bestpractices.dev/projects/10098) [![Bluefin LTS on ArtifactHub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/bluefin)](https://artifacthub.io/packages/container/bluefin/bluefin) [![Installs](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/ublue-os/countme/main/badge-endpoints/bluefin-lts.json&label=Installs)](https://github.com/projectbluefin/bluefin-lts) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/projectbluefin/bluefin-lts) +> NOTE: This once was Project Bluefin's LTS it's still close to the original just different branding. -Larger, more lethal [Bluefin](https://projectbluefin.io). Built on CentOS Stream 10 for longer support windows, conservative upgrades, and production-focused workstations. +[![Build Uranium](https://github.com/thallium-suite/uranium/actions/workflows/build-regular.yml/badge.svg)](https://github.com/thallium-suite/uranium/actions/workflows/build-regular.yml) -![image](https://github.com/user-attachments/assets/2e160934-44e6-4aee-b2b8-accb3bcf0a41) - -## Latest Release +Long-term support desktop built on CentOS Stream 10 for longer support windows, conservative upgrades, and production-focused workstations. - - - - Bluefin LTS latest release - - +![image](https://github.com/user-attachments/assets/2e160934-44e6-4aee-b2b8-accb3bcf0a41) ## Images -Full catalog at [docs.projectbluefin.io/images →](https://docs.projectbluefin.io/images/) - -### Bluefin LTS +### Uranium -Long-term support Bluefin stream built on CentOS Stream 10. +Long-term support stream built on CentOS Stream 10. ```bash # LTS — recommended -sudo bootc switch ghcr.io/projectbluefin/bluefin-lts:stable --enforce-container-sigpolicy +sudo bootc switch ghcr.io/thallium-suite/uranium:stable --enforce-container-sigpolicy # LTS — NVIDIA -sudo bootc switch ghcr.io/projectbluefin/bluefin-lts-nvidia:stable --enforce-container-sigpolicy +sudo bootc switch ghcr.io/thallium-suite/uranium-nvidia:stable --enforce-container-sigpolicy ``` -## Migrating from ublue-os/bluefin-lts +## Migrating -Users on the previous `ghcr.io/ublue-os/bluefin*:lts` images will be migrated automatically via a systemd service. No action required — your machine will switch on its next reboot after pulling the update. +Uranium is published at a new registry path, so existing installs keep +receiving updates from their current image reference and **will not** be moved +automatically. There is no automatic migration: switch explicitly. -| Old image (ublue-os) | New image (projectbluefin) | +| Previous image | Current image | |---|---| -| `bluefin:lts` | `bluefin-lts:stable` | -| `bluefin:lts-hwe` (legacy tag) | `bluefin-lts:stable` | -| `bluefin-dx:lts` | `bluefin-lts:stable` + run `ujust devmode` after reboot | -| `bluefin-dx:lts-hwe` (legacy tag) | `bluefin-lts:stable` + run `ujust devmode` after reboot | -| `bluefin-gdx:lts` | `bluefin-lts-nvidia:stable` + run `ujust devmode` after reboot | -| arm64 variants | No automatic migration — reinstall from new image | - -To migrate manually before the automatic migration ships: +| `ghcr.io/projectbluefin/bluefin-lts:stable` | `ghcr.io/thallium-suite/uranium:stable` | +| `ghcr.io/projectbluefin/bluefin-lts-nvidia:stable` | `ghcr.io/thallium-suite/uranium-nvidia:stable` | +| `ghcr.io/ublue-os/bluefin:lts` (legacy) | `ghcr.io/thallium-suite/uranium:stable` | +| `ghcr.io/ublue-os/bluefin-dx:lts` (legacy) | `ghcr.io/thallium-suite/uranium:stable` + run `ujust devmode` after reboot | +| `ghcr.io/ublue-os/bluefin-gdx:lts` (legacy) | `ghcr.io/thallium-suite/uranium-nvidia:stable` + run `ujust devmode` after reboot | +| arm64 variants | No in-place migration — reinstall from the current image | ```bash -sudo bootc switch ghcr.io/projectbluefin/bluefin-lts:stable --enforce-container-sigpolicy +sudo bootc switch ghcr.io/thallium-suite/uranium:stable --enforce-container-sigpolicy ``` -## Getting Started - -Visit **[projectbluefin.io](https://projectbluefin.io/#scene-picker)** to download Bluefin LTS, or check the **[LTS Documentation](https://docs.projectbluefin.io/lts/)** for installation and upgrade instructions. - -Rebasing between the Bluefin (Fedora) and Bluefin LTS (CentOS) image families is not supported. Plan migrations as fresh installs or supported upgrade paths. +Rebasing between the Fedora-based Amotic family and Uranium is not supported. +Plan migrations as fresh installs or supported upgrade paths. ## Community -- 📰 **[Blog](https://blog.projectbluefin.io/)** — announcements and release posts -- 💬 **[Discussions](https://community.projectbluefin.io/)** — community forum -- 📋 **[Project Board](https://todo.projectbluefin.io/)** — what we're working on -- 📖 **[Documentation](https://docs.projectbluefin.io/)** — user guides and reference +Uranium has no community infrastructure of its own yet. Until it does, use this +repository's [issue tracker](https://github.com/thallium-suite/uranium/issues) ## Contributing @@ -73,4 +58,4 @@ Report security vulnerabilities via [SECURITY.md](SECURITY.md). Apache License 2.0 — see [LICENSE](LICENSE). -Bluefin LTS incorporates [CentOS Stream](https://www.centos.org/centos-stream/), [GNOME](https://www.gnome.org/), [Universal Blue](https://universal-blue.org/), and various CNCF projects, each under their respective licenses. +Uranium incorporates [CentOS Stream](https://www.centos.org/centos-stream/), [GNOME](https://www.gnome.org/), [Universal Blue](https://universal-blue.org/), and various CNCF projects, each under their respective licenses. diff --git a/SECURITY.md b/SECURITY.md index 9406b7d7..47ccf288 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,13 +4,13 @@ | Branch | Supported | |---|---| -| `main` (active development) | ✅ Active development | -| `lts` | ✅ Security fixes | +| `main` (stable releases) | ✅ Security fixes | +| `testing` (integration) | ✅ Active development | | Older releases | ❌ | ## Reporting a Vulnerability -**Please use [GitHub Private Vulnerability Reporting](https://github.com/projectbluefin/bluefin-lts/security/advisories/new) to report security issues.** +**Please use [GitHub Private Vulnerability Reporting](https://github.com/thallium-suite/uranium/security/advisories/new) to report security issues.** This ensures your report is handled confidentially before public disclosure. @@ -38,7 +38,7 @@ We follow coordinated disclosure. Reporters are credited in the release notes un ## Scope -This policy covers the `projectbluefin/bluefin-lts` OCI image build pipeline, including: +This policy covers the `thallium-suite/uranium` OCI image build pipeline, including: - `Containerfile` and build scripts in `build_scripts/` - GitHub Actions workflows in `.github/workflows/` diff --git a/build_scripts/26-packages-post.sh b/build_scripts/26-packages-post.sh index 58ca0838..4c35b2cf 100755 --- a/build_scripts/26-packages-post.sh +++ b/build_scripts/26-packages-post.sh @@ -13,10 +13,6 @@ glib-compile-schemas /usr/share/glib-2.0/schemas # Rebuild gdk-pixbuf loader cache so all installed loaders are registered gdk-pixbuf-query-loaders-64 --update-cache -# Offline Bluefin documentation -ghcurl https://github.com/projectbluefin/documentation/releases/download/0.1/bluefin.pdf --retry 3 -Lo /tmp/bluefin.pdf -install -Dm0644 -t /usr/share/doc/bluefin/ /tmp/bluefin.pdf - # Add Flathub by default mkdir -p /etc/flatpak/remotes.d curl --retry 3 -o /etc/flatpak/remotes.d/flathub.flatpakrepo "https://dl.flathub.org/repo/flathub.flatpakrepo" diff --git a/build_scripts/40-services.sh b/build_scripts/40-services.sh index 4f0ba0a1..537b882e 100755 --- a/build_scripts/40-services.sh +++ b/build_scripts/40-services.sh @@ -24,13 +24,13 @@ systemctl enable uupd.timer systemctl enable ublue-system-setup.service systemctl --global enable ublue-user-setup.service systemctl mask bootc-fetch-apply-updates.timer bootc-fetch-apply-updates.service -# rpm-ostree-countme uses embedded libdnf4 that cannot expand -# ${releasever_minor:+-z} in EPEL 10's metalink URL (HTTP 404 on CentOS). -# Replace with a dnf-based equivalent; the dnf CLI resolves the metalink -# correctly (dnf5 is unavailable in CentOS Stream 10 and EPEL 10). -# Ref: coreos/rpm-ostree#5464 +# Count me reporting was removed with the Bluefin branding: the weekly +# rpm-ostree-countme ping had no Uranium endpoint to report to. The inherited +# units are masked so neither the upstream timer nor the pre-rebrand +# bluefin-lts-countme.timer leaves an orphaned enable symlink after upgrade. +# Ref: coreos/rpm-ostree#5464 (rpm-ostree-countme is broken on CentOS anyway) systemctl mask rpm-ostree-countme.service rpm-ostree-countme.timer -systemctl enable bluefin-lts-countme.timer +systemctl mask bluefin-lts-countme.timer uranium-countme.timer || true systemctl disable sshd.service # Disable lastlog display on previous failed login in GDM (This makes logins slow) diff --git a/build_scripts/90-image-info.sh b/build_scripts/90-image-info.sh index 27cddeca..fa98a2fe 100755 --- a/build_scripts/90-image-info.sh +++ b/build_scripts/90-image-info.sh @@ -19,11 +19,14 @@ tee "$IMAGE_INFO" < /usr/share/ublue-os/fastfetch-user-count +# Weekly user count for fastfetch. +# Removed with the Bluefin branding: the only endpoint available was +# ublue-os/countme's bluefin.json, which reports Bluefin's install count. +# fastfetch.jsonc still runs `cat` on this path, so write a neutral +# placeholder rather than letting it fail on every invocation. +# Restore the real fetch once a Uranium endpoint is published upstream. +printf 'N/A\n' > /usr/share/ublue-os/fastfetch-user-count # bazaar weekly downloads used for fastfetch curl -X 'GET' \ diff --git a/build_scripts/build.sh b/build_scripts/build.sh index 114ae336..f519c8f8 100755 --- a/build_scripts/build.sh +++ b/build_scripts/build.sh @@ -62,7 +62,7 @@ fi run_buildscripts_for base -CUSTOM_NAME="bluefin" +CUSTOM_NAME="uranium" copy_systemfiles_for ../files run_buildscripts_for .. CUSTOM_NAME="" diff --git a/build_scripts/overrides/dx/90-image-info.sh b/build_scripts/overrides/dx/90-image-info.sh index f243ef74..72f6c397 100755 --- a/build_scripts/overrides/dx/90-image-info.sh +++ b/build_scripts/overrides/dx/90-image-info.sh @@ -3,8 +3,8 @@ set -xeuo pipefail FLAVOR="dx" -IMAGE_NAME="bluefin-${FLAVOR}" -IMAGE_REF="ostree-image-signed:docker://ghcr.io/${IMAGE_VENDOR}/bluefin-${FLAVOR}" +IMAGE_NAME="uranium-${FLAVOR}" +IMAGE_REF="ostree-image-signed:docker://ghcr.io/${IMAGE_VENDOR}/uranium-${FLAVOR}" export FLAVOR export IMAGE_NAME export IMAGE_REF diff --git a/build_scripts/overrides/nvidia/90-image-info.sh b/build_scripts/overrides/nvidia/90-image-info.sh index d1eb61cc..18206e01 100755 --- a/build_scripts/overrides/nvidia/90-image-info.sh +++ b/build_scripts/overrides/nvidia/90-image-info.sh @@ -3,8 +3,8 @@ set -xeuo pipefail FLAVOR="nvidia" -IMAGE_NAME="bluefin-lts-${FLAVOR}" -IMAGE_REF="ostree-image-signed:docker://ghcr.io/${IMAGE_VENDOR}/bluefin-lts-${FLAVOR}" +IMAGE_NAME="uranium-${FLAVOR}" +IMAGE_REF="ostree-image-signed:docker://ghcr.io/${IMAGE_VENDOR}/uranium-${FLAVOR}" export FLAVOR export IMAGE_NAME export IMAGE_REF diff --git a/build_scripts/packages/base.toml b/build_scripts/packages/base.toml index a6b22f78..cfa093f5 100644 --- a/build_scripts/packages/base.toml +++ b/build_scripts/packages/base.toml @@ -1,10 +1,10 @@ -# Package manifest for the bluefin-lts base image (CentOS Stream 10). +# Package manifest for the uranium base image (CentOS Stream 10). # Read by build scripts via build_scripts/scripts/read-packages. # # Sections: # [gnome] GNOME 50 packages (10-packages-image-base.sh) # [gnome_excluded] packages excluded via -x during GNOME install -# [install] main bluefin-lts packages (20-packages.sh) +# [install] main uranium packages (20-packages.sh) # [install_excluded] packages excluded via -x during main install # [remove] packages removed before install (20-packages.sh) # [versionlock_gnome] GNOME 50 components pinned against EL10 downgrades @@ -54,7 +54,7 @@ packages = [ ] [install] -# Main bluefin-lts packages from base/EPEL repos. +# Main uranium packages from base/EPEL repos. packages = [ "NetworkManager-openconnect-gnome", "NetworkManager-openvpn-gnome", @@ -99,7 +99,7 @@ packages = [ [versionlock_gnome] # GNOME 50 components pinned to prevent downgrades to EL10 base versions. -# See: https://github.com/projectbluefin/bluefin-lts/issues — GNOME 50 skew +# See: https://github.com/thallium-suite/uranium/issues — GNOME 50 skew packages = [ "gnome-shell", "gdm", diff --git a/cliff.toml b/cliff.toml index b5b14bf8..5537fd5e 100644 --- a/cliff.toml +++ b/cliff.toml @@ -1,4 +1,4 @@ -# git-cliff configuration for projectbluefin/bluefin-lts +# git-cliff configuration for thallium-suite/uranium # # Generates structured changelogs from Conventional Commits. # Consumed by the release workflow (reusable-release.yml). diff --git a/docs/skills/build/SKILL.md b/docs/skills/build/SKILL.md index e98de54d..90989f90 100644 --- a/docs/skills/build/SKILL.md +++ b/docs/skills/build/SKILL.md @@ -1,7 +1,7 @@ --- name: build description: >- - Local builds, validation, variants, and VM artifacts for projectbluefin/bluefin-lts. + Local builds, validation, variants, and VM artifacts for thallium-suite/uranium. Use when running just recipes, understanding the LTS/NVIDIA variant map, or debugging a build failure. --- @@ -42,8 +42,8 @@ Run before every commit. | Goal | Command | Time | |---|---|---| -| Regular LTS | `just build bluefin-lts lts 0 0` | 45–90 min | -| NVIDIA | `just build bluefin-lts-nvidia lts 0 1` | 45–90 min | +| Regular LTS | `just build uranium lts 0 0` | 45–90 min | +| NVIDIA | `just build uranium-nvidia lts 0 1` | 45–90 min | `gnome_version` defaults to `50`; override only when testing a future GNOME version. @@ -51,7 +51,7 @@ LTS uses the Fedora CoreOS 44 akmods stream by default. Override it explicitly w ```bash COREOS_STABLE_VERSION=44 COREOS_STABLE_KERNEL=7.1.8-200.fc44 \ - just build bluefin-lts-nvidia lts 0 1 + just build uranium-nvidia lts 0 1 ``` **Never cancel builds.** Use a 120+ minute timeout. @@ -60,8 +60,8 @@ COREOS_STABLE_VERSION=44 COREOS_STABLE_KERNEL=7.1.8-200.fc44 \ | Variant | What changes | |---|---| -| `bluefin-lts` | base image, CoreOS-stable kernel track | -| `bluefin-lts-nvidia` | NVIDIA drivers, CUDA toolkit, rootless Podman CDI configuration | +| `uranium` | base image, CoreOS-stable kernel track | +| `uranium-nvidia` | NVIDIA drivers, CUDA toolkit, rootless Podman CDI configuration | NVIDIA overrides live in `build_scripts/overrides/nvidia/`, `system_files_overrides/nvidia/`, and arch-specific directories. diff --git a/docs/skills/centos-vs-fedora/SKILL.md b/docs/skills/centos-vs-fedora/SKILL.md index 4271939e..460e454a 100644 --- a/docs/skills/centos-vs-fedora/SKILL.md +++ b/docs/skills/centos-vs-fedora/SKILL.md @@ -1,14 +1,14 @@ --- name: centos-vs-fedora description: >- - CentOS Stream 10 vs Fedora package and repo differences for bluefin-lts. + CentOS Stream 10 vs Fedora package and repo differences for uranium. Use when adding packages, enabling repos, choosing akmods tags, or resolving COPR chroot names. --- # CentOS vs Fedora -bluefin-lts is built on **CentOS Stream 10**, not Fedora. Stock builds use the Fedora CoreOS stable kernel. +uranium is built on **CentOS Stream 10**, not Fedora. Stock builds use the Fedora CoreOS stable kernel. ## What does not exist on CentOS Stream 10 diff --git a/docs/skills/ci-cd/SKILL.md b/docs/skills/ci-cd/SKILL.md index cf21f046..0f8395b8 100644 --- a/docs/skills/ci-cd/SKILL.md +++ b/docs/skills/ci-cd/SKILL.md @@ -52,7 +52,6 @@ metadata: | CentOS factory smoke | `.github/workflows/factory-smoke.yml` | | GNOME factory build/publication | `.github/workflows/factory-build.yml`, `factory-build-stage.yml`, `factory-publish.yml` | | Syntax and repository checks | `.github/workflows/pr-testsuite.yml`, `unit-tests.yml` | -| Lab PR Check Run | `.github/workflows/lab-check.yml` | | Dependency updates | `renovate.json`, Renovate workflows | The exact workflow files in the repository are authoritative. Update this table @@ -121,12 +120,16 @@ Check in order: Use the GitHub workflow run, job summary, and logs as evidence. Do not infer success from a green caller job if the reusable job or publication step failed. -Every open Bluefin LTS PR is discovered by the lab's five-minute PR poller. The -lab runs smoke QA against `bluefin-lts:testing` and sends bounded -`repository_dispatch` lifecycle events to `lab-check.yml`, which must exist on -the default branch. That workflow uses a short-lived MergeRaptor installation -token to update one `testing-lab / bluefin-lts` Check Run for the exact PR head -SHA. Do not duplicate the result in a PR comment or commit status. +Automated dependency bumps are Renovate's job, including the `image-versions.yaml` +container digests. The `customManagers` entry in `renovate.json` matches the +`image`/`tag`/`digest` triplet and automerges digest updates; it is declared +locally rather than inherited, because the shared preset resolves its inherited +config through `{{parentOrg}}` and this repository is not a network fork. + +Do not reintroduce a bespoke digest-tracking workflow. A PR opened with the +default `GITHUB_TOKEN` does not trigger `pull_request` workflows, so it can never +satisfy the required `validate` check and would be permanently unmergeable; +Renovate's own app token does not have that problem. ## Common Rationalizations @@ -143,7 +146,7 @@ SHA. Do not duplicate the result in a PR comment or commit status. - A release or signing failure hidden with `continue-on-error`. - Copying a workflow from another image variant without checking path and input differences. -- Posting a lab result as a PR comment instead of updating the MergeRaptor Check Run. +- Reintroducing a bespoke dependency/digest-tracking workflow in place of Renovate. - Calling `create-manifest@v1` without first preparing the runner. ## Verification @@ -160,5 +163,5 @@ commit, artifact tag, and digest. For signing or release changes, also follow ## Sources -- Context7: `/websites/github_en_actions` — `repository_dispatch` payloads and - the requirement that the workflow exist on the default branch. +- Context7: `/websites/github_en_actions` — `workflow_run` payloads and the + requirement that a `workflow_run` workflow exist on the default branch. diff --git a/docs/skills/gnome-extensions/SKILL.md b/docs/skills/gnome-extensions/SKILL.md index b3ee1a32..6159dd0e 100644 --- a/docs/skills/gnome-extensions/SKILL.md +++ b/docs/skills/gnome-extensions/SKILL.md @@ -6,7 +6,7 @@ description: >- # GNOME Shell Extensions -Extensions in bluefin-lts are **git submodules** tracked in `system_files/usr/share/gnome-shell/extensions//`. Renovate updates submodule digests automatically. +Extensions in uranium are **git submodules** tracked in `system_files/usr/share/gnome-shell/extensions//`. Renovate updates submodule digests automatically. ## Adding an extension @@ -135,10 +135,10 @@ Do not remove this step — it regenerates the system schemas DB after all per-e If an extension needs preconfigured defaults, create a keyfile: ``` -system_files/etc/dconf/db/distro.d/-bluefin-lts- +system_files/etc/dconf/db/distro.d/-uranium- ``` -Example path: `system_files/etc/dconf/db/distro.d/05-bluefin-lts-custom-command-menu` +Example path: `system_files/etc/dconf/db/distro.d/05-uranium-custom-command-menu` Use numeric prefix to control override priority. Higher numbers win. diff --git a/docs/skills/hardware/SKILL.md b/docs/skills/hardware/SKILL.md index 42082050..89d6dba5 100644 --- a/docs/skills/hardware/SKILL.md +++ b/docs/skills/hardware/SKILL.md @@ -4,7 +4,7 @@ description: >- Change hardware hooks and device integration safely. Use when modifying setup hooks, services, or device-specific image behavior. --- -# Hardware Setup — bluefin-lts +# Hardware Setup — uranium ## When to Use @@ -51,9 +51,9 @@ If absent, add: systemctl enable ublue-user-setup.service ``` -## Hardware hooks: shipped by common, not by bluefin-lts +## Hardware hooks: shipped by common, not by uranium -**bluefin-lts does not ship any hardware hooks directly.** They are provided by +**uranium does not ship any hardware hooks directly.** They are provided by `projectbluefin/common` and land automatically via the common OCI layer. The shared layer currently provides the following hooks: @@ -68,8 +68,8 @@ The shared layer currently provides the following hooks: ### Updating common hooks If a new hardware quirk needs a hook: -1. File the hook in `projectbluefin/common` (not in bluefin-lts) -2. Bump `image-versions.yaml` `common.digest` in bluefin-lts to the new published common image +1. File the hook in `projectbluefin/common` (not in uranium) +2. Bump `image-versions.yaml` `common.digest` in uranium to the new published common image 3. Verify with `skopeo inspect docker://ghcr.io/projectbluefin/common@sha256:` that the hook files are present before bumping ### Removing a local hook that moved to common @@ -105,13 +105,13 @@ set -xeuo pipefail - `grubby` is available on CentOS Stream — kernel arg management works the same as Fedora - `dconf write` is available — icon/setting hooks work without modification - `glib-compile-schemas` is available — extension schema compilation works -- `brew` is present in bluefin-lts — it ships via a dedicated brew image layer (`BREW_IMAGE_REF`) +- `brew` is present in uranium — it ships via a dedicated brew image layer (`BREW_IMAGE_REF`) copied in the Containerfile, and `brew-setup.service` is enabled in `build_scripts/40-services.sh`. Hooks using brew work the same as in bluefin ## NVIDIA — NVIDIA CDI (rootless Podman GPU passthrough) -The `bluefin-lts-nvidia` variant ships full CDI configuration so `podman run --device nvidia.com/gpu=all` works out of the box without root or privileged containers. +The `uranium-nvidia` variant ships full CDI configuration so `podman run --device nvidia.com/gpu=all` works out of the box without root or privileged containers. ### NVIDIA CDI wiring diff --git a/docs/skills/release/SKILL.md b/docs/skills/release/SKILL.md index ec32a11e..dd3d6f00 100644 --- a/docs/skills/release/SKILL.md +++ b/docs/skills/release/SKILL.md @@ -52,21 +52,28 @@ testing → main → :stable ```bash # Check promotion PR status -gh pr list --repo projectbluefin/bluefin-lts --head auto/promote-testing-to-main +gh pr list --repo thallium-suite/uranium --head auto/promote-testing-to-main -# Emergency bypass (CODEOWNERS or merge queue blocking — requires admin) -gh pr merge --repo projectbluefin/bluefin-lts --squash --admin +# Emergency bypass (merge queue blocking — requires admin) +gh pr merge --repo thallium-suite/uranium --squash --admin ``` ## Branch protection -`main` requires a PR with merge queue entry. Gate check: `Lint & syntax`. 0 approvals required. -`.github/workflows/` is CODEOWNERS-protected — PRs touching workflow files require `--admin` bypass. +`main` is governed by ruleset "uranium — release (main)": PR only, squash-only, +non-fast-forward, merge queue, and one required status check. The required +context is `validate`, which `merge-queue-validate.yml` posts once the PR is +enqueued in the merge queue. `pr-testsuite.yml` supplies the separate lint, +syntax and COPR-guard checks that run against the PR itself. 0 approvals +required and no CODEOWNERS: this is a single-maintainer repository, so a +code-owner requirement could never be satisfied, because GitHub does not let +you approve your own PR. Reintroduce CODEOWNERS together with a ruleset bypass +actor once a second maintainer exists. ## Daily cadence - Fully automated: **daily 04:00 UTC** — cron fires, promote workflow updates the PR, merge queue processes it, execute-release publishes `:stable` -- No human approval required — `Lint & syntax` is the only gate +- No human approval required — the `validate` context is the only gate, and it is posted by the merge queue itself - `workflow_dispatch` is the supported manual release path ## Image verification — always check digests @@ -75,8 +82,8 @@ Do NOT trust "the fix is in main" as evidence the fix is published. Verify: ```bash GHCR_TOKEN=$(gh auth token) -for IMAGE in bluefin-lts bluefin-lts-nvidia; do - skopeo inspect --no-tags --creds "castrojo:${GHCR_TOKEN}" docker://ghcr.io/projectbluefin/${IMAGE}:stable \ +for IMAGE in uranium uranium-nvidia; do + skopeo inspect --no-tags --creds "castrojo:${GHCR_TOKEN}" docker://ghcr.io/thallium-suite/${IMAGE}:stable \ | python3 -c "import json,sys; d=json.load(sys.stdin); print('${IMAGE}:stable', d['Digest'][:22], d['Labels'].get('org.opencontainers.image.created','?')[:10])" done ``` @@ -84,7 +91,7 @@ done A fix is published when: 1. The `:stable` digest differs from the last known digest 2. The `org.opencontainers.image.created` date is after the fix merged -3. Both variants (bluefin-lts and bluefin-lts-nvidia) are updated +3. Both variants (uranium and uranium-nvidia) are updated 4. `skopeo inspect --raw` shows a complete amd64/arm64 index. ## Build cascade — rapid commits cancel in-progress builds @@ -93,7 +100,7 @@ Each push to `testing` triggers new builds which cancel in-progress builds via c ```bash SHA= -gh run list --repo projectbluefin/bluefin-lts \ +gh run list --repo thallium-suite/uranium \ --json workflowName,status,conclusion,headSha \ --jq "[.[] | select(.headSha | startswith(\"$SHA\")) | select(.workflowName | contains(\"Build\"))]" ``` @@ -102,13 +109,13 @@ gh run list --repo projectbluefin/bluefin-lts \ ```bash gh auth token | skopeo login ghcr.io -u castrojo --password-stdin -skopeo list-tags docker://ghcr.io/projectbluefin/bluefin-lts -skopeo list-tags docker://ghcr.io/projectbluefin/bluefin-lts-nvidia +skopeo list-tags docker://ghcr.io/thallium-suite/uranium +skopeo list-tags docker://ghcr.io/thallium-suite/uranium-nvidia ``` Images publish to: -- `ghcr.io/projectbluefin/bluefin-lts` -- `ghcr.io/projectbluefin/bluefin-lts-nvidia` +- `ghcr.io/thallium-suite/uranium` +- `ghcr.io/thallium-suite/uranium-nvidia` ## Emergency rollback @@ -117,8 +124,8 @@ GHCR_TOKEN=$(gh auth token) skopeo copy \ --src-no-creds \ --dest-creds "castrojo:${GHCR_TOKEN}" \ - docker://ghcr.io/projectbluefin/IMAGE:stable-YYYYMMDD \ - docker://ghcr.io/projectbluefin/IMAGE:stable + docker://ghcr.io/thallium-suite/IMAGE:stable-YYYYMMDD \ + docker://ghcr.io/thallium-suite/IMAGE:stable ``` Rollback both variants, then verify digest/created time. @@ -132,14 +139,14 @@ Rollback both variants, then verify digest/created time. ```bash GHCR_TOKEN=$(gh auth token) -for IMAGE in bluefin-lts bluefin-lts-nvidia; do - DIGEST=$(skopeo inspect --no-tags --creds "castrojo:${GHCR_TOKEN}" docker://ghcr.io/projectbluefin/${IMAGE}:testing \ +for IMAGE in uranium uranium-nvidia; do + DIGEST=$(skopeo inspect --no-tags --creds "castrojo:${GHCR_TOKEN}" docker://ghcr.io/thallium-suite/${IMAGE}:testing \ | python3 -c "import json,sys; print(json.load(sys.stdin)['Digest'])") skopeo copy \ --src-creds "castrojo:${GHCR_TOKEN}" \ --dest-creds "castrojo:${GHCR_TOKEN}" \ - docker://ghcr.io/projectbluefin/${IMAGE}@${DIGEST} \ - docker://ghcr.io/projectbluefin/${IMAGE}:stable + docker://ghcr.io/thallium-suite/${IMAGE}@${DIGEST} \ + docker://ghcr.io/thallium-suite/${IMAGE}:stable done ``` @@ -160,7 +167,7 @@ PR builds validate that the image builds but do not push to GHCR. bootc stores the kernel and initramfs under `/usr/lib/modules//`, not `/boot/`. An empty `/boot/` in the container layer is expected and correct. ```bash -podman run --rm ghcr.io/projectbluefin/bluefin-lts:stable bash -c ' +podman run --rm ghcr.io/thallium-suite/uranium:stable bash -c ' sha256sum /usr/lib/modules/*/initramfs.img ls -la /usr/lib/modules/*/vmlinuz grep BUILD_ID /etc/os-release @@ -172,9 +179,9 @@ podman run --rm ghcr.io/projectbluefin/bluefin-lts:stable bash -c ' After a dracut-related fix, verify the initramfs SHA changed: ```bash -OLD=$(podman run --rm ghcr.io/projectbluefin/bluefin-lts:stable bash -c 'sha256sum /usr/lib/modules/*/initramfs.img' 2>/dev/null | awk '{print $1}') -podman pull ghcr.io/projectbluefin/bluefin-lts:stable -NEW=$(podman run --rm ghcr.io/projectbluefin/bluefin-lts:stable bash -c 'sha256sum /usr/lib/modules/*/initramfs.img' 2>/dev/null | awk '{print $1}') +OLD=$(podman run --rm ghcr.io/thallium-suite/uranium:stable bash -c 'sha256sum /usr/lib/modules/*/initramfs.img' 2>/dev/null | awk '{print $1}') +podman pull ghcr.io/thallium-suite/uranium:stable +NEW=$(podman run --rm ghcr.io/thallium-suite/uranium:stable bash -c 'sha256sum /usr/lib/modules/*/initramfs.img' 2>/dev/null | awk '{print $1}') [ "$OLD" != "$NEW" ] && echo "initramfs changed" || echo "same initramfs — promotion may be a no-op" ``` diff --git a/docs/skills/testing/SKILL.md b/docs/skills/testing/SKILL.md index 051a3fc7..b18a2b15 100644 --- a/docs/skills/testing/SKILL.md +++ b/docs/skills/testing/SKILL.md @@ -69,7 +69,7 @@ spec: templates: - name: run container: - image: ghcr.io/projectbluefin/bluefin-lts:stable + image: ghcr.io/thallium-suite/uranium:stable command: [bash, -c] args: - | @@ -124,7 +124,7 @@ spec: - name: image value: "ghcr.io/ublue-os/bluefin:lts" - name: expected_target - value: "ghcr.io/projectbluefin/bluefin-lts:stable" + value: "ghcr.io/thallium-suite/uranium:stable" - name: legacy-hwe template: smoke arguments: @@ -132,7 +132,7 @@ spec: - name: image value: "ghcr.io/ublue-os/bluefin:lts-hwe" - name: expected_target - value: "ghcr.io/projectbluefin/bluefin-lts:stable" + value: "ghcr.io/thallium-suite/uranium:stable" - name: smoke inputs: parameters: diff --git a/factory/README.md b/factory/README.md index da1adb7d..8e386baa 100644 --- a/factory/README.md +++ b/factory/README.md @@ -9,7 +9,7 @@ it produces a repository, and the image points dnf at it. ## Why this exists -bluefin-lts is built on CentOS Stream 10, which ships GNOME 47. Until recently +Uranium is built on CentOS Stream 10, which ships GNOME 47. Until recently the GNOME 50 stack came from a third-party COPR project (`jreilly1821/c10s-gnome-50`). That works, and it was the right call while the stack was somebody else's problem to maintain. It is not a durable answer for diff --git a/factory/docs/architecture.md b/factory/docs/architecture.md index f742d165..8493f60d 100644 --- a/factory/docs/architecture.md +++ b/factory/docs/architecture.md @@ -125,11 +125,17 @@ overflow: the alternative is a plan that quietly omits packages. ## Incremental rebuilds -`prepare` reads the `org.projectbluefin.factory.state` label on the published +`prepare` reads the `org.thallium-suite.factory.state` label on the published image, which records the input digest of every build it contains. A package is selected when its digest differs from the recorded one, or when the label has never seen it. +The label was `org.projectbluefin.factory.state` before the org migration. It is +a published OCI label, so the rename means `prepare` cannot resume state from an +image published under the old key and treats every package as never seen. That +costs one full rebuild; it is not a correctness problem, because the migration +also publishes to a new registry path, so there is no old image to resume from. + Not a git diff: once two runs queue, the second push's diff says nothing about what the first run built. Not a NEVR comparison: it misses a patch change that does not move the release. diff --git a/factory/tools/buildroot.py b/factory/tools/buildroot.py index bf057fa5..32274054 100644 --- a/factory/tools/buildroot.py +++ b/factory/tools/buildroot.py @@ -38,7 +38,7 @@ from tools.inventory import factory_root, inventory -MIRROR_PREFIX = "ghcr.io/projectbluefin/bluefin-lts-buildroot" +MIRROR_PREFIX = "ghcr.io/thallium-suite/uranium-buildroot" def buildroot_config(root: Path) -> dict: diff --git a/factory/tools/rebuild_plan.py b/factory/tools/rebuild_plan.py index c4985b42..7e1c647f 100644 --- a/factory/tools/rebuild_plan.py +++ b/factory/tools/rebuild_plan.py @@ -31,7 +31,7 @@ from tools.build_graph import reverse_dependencies from tools.inventory import factory_root, inventory, recipe_files -LABEL = "org.projectbluefin.factory.state" +LABEL = "org.thallium-suite.factory.state" def input_digest(record, root: Path) -> str: diff --git a/factory/tools/srpm_gate.py b/factory/tools/srpm_gate.py index a1edb368..cf725d5b 100644 --- a/factory/tools/srpm_gate.py +++ b/factory/tools/srpm_gate.py @@ -26,7 +26,7 @@ from tools.inventory import factory_root, inventory from tools.source_pipeline import fetch_source, verify_staged -PACKIT_IMAGE = "quay.io/packit/packit@sha256:b4667f390c25f4a871e458bddc62003db30c60fac64f17a925dfaaa9279a8af7" +PACKIT_IMAGE = "quay.io/packit/packit@sha256:1eb66a731ba6e5733db0a77feb76dabf83b145c0c676a8a8e30278ac2ba34a85" def command(package: str, record, output: Path, root: Path, image: str, engine: str = "docker") -> list[str]: diff --git a/image-versions.yaml b/image-versions.yaml index c23a3de3..d6db572b 100644 --- a/image-versions.yaml +++ b/image-versions.yaml @@ -17,7 +17,7 @@ images: # image's GNOME rather than failing. Pinned by digest once populated, so a # rebuild cannot silently pick up different packages. - name: gnome_packages - image: ghcr.io/projectbluefin/bluefin-lts-packages + image: ghcr.io/thallium-suite/uranium-packages tag: latest digest: "" diff --git a/iso.toml b/iso.toml index ac1528c7..cd5de9b0 100644 --- a/iso.toml +++ b/iso.toml @@ -1,7 +1,7 @@ [customizations.installer.kickstart] contents = """ %post -bootc switch --mutate-in-place --transport registry --enforce-container-sigpolicy ghcr.io/projectbluefin/bluefin-lts:stable +bootc switch --mutate-in-place --transport registry --enforce-container-sigpolicy ghcr.io/thallium-suite/uranium:stable %end """ diff --git a/renovate.json b/renovate.json index 38024362..d8e41f21 100644 --- a/renovate.json +++ b/renovate.json @@ -4,6 +4,16 @@ "local>projectbluefin/renovate-config" ], "baseBranchPatterns": ["testing"], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": ["/image-versions(\\.[^.]+)?\\.(yaml|yml)$/"], + "matchStrings": [ + "image:\\s*(?\\S+)\\s*tag:\\s*(?\\S+)\\s*digest:\\s*(?sha256:[a-f0-9]+)" + ], + "datasourceTemplate": "docker" + } + ], "packageRules": [ { "description": "Automerge digest/pin/patch/minor for all dependencies", diff --git a/scripts/create-test-vm.sh b/scripts/create-test-vm.sh index f69ff10d..ecbdb835 100755 --- a/scripts/create-test-vm.sh +++ b/scripts/create-test-vm.sh @@ -1,29 +1,29 @@ #!/bin/bash set -e -# Script to create a test VM from Bluefin LTS with SSH enabled +# Script to create a test VM from Uranium with SSH enabled # This allows testing bootc images in Lima/QEMU VMs -VM_NAME="${1:-bluefin-test-ssh}" +VM_NAME="${1:-uranium-test-ssh}" IMAGE_TAG="${2:-stable}" SSH_PUB_KEY="${3:-$HOME/.ssh/id_ed25519.pub}" DISK_SIZE="32G" MEMORY="8GiB" CPUS="4" -echo "=== Bluefin LTS Test VM Creator ===" +echo "=== Uranium Test VM Creator ===" echo "VM Name: $VM_NAME" -echo "Base Image: ghcr.io/projectbluefin/bluefin-lts:$IMAGE_TAG" +echo "Base Image: ghcr.io/thallium-suite/uranium:$IMAGE_TAG" echo "SSH Key: $SSH_PUB_KEY" echo "" # Step 1: Pull the base image echo "Step 1: Pulling base image..." -podman pull "ghcr.io/projectbluefin/bluefin-lts:$IMAGE_TAG" +podman pull "ghcr.io/thallium-suite/uranium:$IMAGE_TAG" # Step 2: Create disk image echo "Step 2: Creating disk image..." -DISK_IMAGE="/tmp/bluefin-vm-${VM_NAME}.img" +DISK_IMAGE="/tmp/uranium-vm-${VM_NAME}.img" rm -f "$DISK_IMAGE" truncate -s "$DISK_SIZE" "$DISK_IMAGE" @@ -32,7 +32,7 @@ echo "Step 3: Installing to disk with SSH key injection..." sudo podman run --rm --privileged --pid=host -e BOOTC_SETENFORCE0_FALLBACK=1 \ -v /tmp:/tmp \ -v "$(dirname "$SSH_PUB_KEY"):/ssh" \ - "ghcr.io/projectbluefin/bluefin-lts:$IMAGE_TAG" \ + "ghcr.io/thallium-suite/uranium:$IMAGE_TAG" \ bootc install to-disk \ --via-loopback \ --filesystem xfs \ diff --git a/system_files/etc/dconf/db/distro.d/05-bluefin-lts-custom-command-menu b/system_files/etc/dconf/db/distro.d/05-uranium-custom-command-menu similarity index 100% rename from system_files/etc/dconf/db/distro.d/05-bluefin-lts-custom-command-menu rename to system_files/etc/dconf/db/distro.d/05-uranium-custom-command-menu diff --git a/system_files/usr/lib/systemd/system/bluefin-lts-countme.service b/system_files/usr/lib/systemd/system/bluefin-lts-countme.service deleted file mode 100644 index 160a30e5..00000000 --- a/system_files/usr/lib/systemd/system/bluefin-lts-countme.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Weekly Bluefin LTS Count Me reporting -Documentation=https://github.com/projectbluefin/bluefin-lts -# Only run on bootc/ostree systems -ConditionPathExists=/run/ostree-booted - -[Service] -Type=oneshot -# Plain dnf (dnf4 CLI) is used: dnf5 is not packaged in CentOS Stream 10 or -# EPEL 10. Unlike rpm-ostree-countme's embedded libdnf4, the dnf CLI resolves -# the EPEL metalink correctly and reports User-Agent "Bluefin LTS 10" from -# os-release, so the weekly countme ping lands. -# Ref: coreos/rpm-ostree#5464 (rpm-ostree-countme broken on CentOS) -ExecStart=/usr/bin/dnf makecache diff --git a/system_files/usr/lib/systemd/system/bluefin-lts-countme.timer b/system_files/usr/lib/systemd/system/bluefin-lts-countme.timer deleted file mode 100644 index 61a8abea..00000000 --- a/system_files/usr/lib/systemd/system/bluefin-lts-countme.timer +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Weekly Bluefin LTS Count Me timer -Documentation=https://github.com/projectbluefin/bluefin-lts -ConditionPathExists=/run/ostree-booted - -[Timer] -# Matches Fedora's rpm-ostree-countme.timer exactly. -# Fires every 3 days so systems offline for a few days don't miss a week. -# dnf's countme cookie (7-day window) prevents double-counting. -OnBootSec=5m -OnUnitInactiveSec=3d -AccuracySec=1h -RandomizedDelaySec=1d - -[Install] -WantedBy=timers.target diff --git a/tests/unit/countme_test.bats b/tests/unit/countme_test.bats deleted file mode 100644 index 19567b23..00000000 --- a/tests/unit/countme_test.bats +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bats - -# Regression tests for bluefin-lts-countme.service dependencies. -# The service runs `/usr/bin/dnf makecache`. dnf5 is uninstallable on CentOS -# Stream 10 (not in base/AppStream/CRB/EPEL, verified 2026-08-09), but the -# dnf CLI (dnf4) covers the job: it refreshes the EPEL metalink fine, fires -# the countme cookie, and reports User-Agent "Bluefin LTS 10" from os-release -# (verified against bluefin-lts:testing, 2026-08-09). The -# ${releasever_minor:+-z} failure in coreos/rpm-ostree#5464 is specific to -# rpm-ostree-countme's embedded libdnf4 usage, not the dnf CLI. -# Run with: bats tests/unit/countme_test.bats - -SCRIPT_DIR="$(cd "$(dirname "$BATS_TEST_FILENAME")" && pwd)" -PKGS_TOML="${SCRIPT_DIR}/../../build_scripts/packages/base.toml" -COUNTME_SERVICE="${SCRIPT_DIR}/../../system_files/usr/lib/systemd/system/bluefin-lts-countme.service" - -# Binaries provided by the centos-bootc base image, not by base.toml. -BASE_IMAGE_BINARIES=("dnf") - -@test "countme: service unit exists" { - [ -f "${COUNTME_SERVICE}" ] -} - -@test "countme: every binary the service executes is available in the image" { - # Extract the binary from each Exec* directive (strip modifiers like -, @, +). - while IFS= read -r bin; do - pkg="$(basename "${bin}")" - provided=1 - for base_pkg in "${BASE_IMAGE_BINARIES[@]}"; do - [ "${pkg}" = "${base_pkg}" ] && provided=0 - done - if [ "${provided}" -ne 0 ]; then - run grep -Eq "^[[:space:]]*\"${pkg}\"," "${PKGS_TOML}" - [ "$status" -eq 0 ] || { - echo "package '${pkg}' (for ${bin} in bluefin-lts-countme.service) missing from [install] in base.toml" - return 1 - } - fi - done < <(grep -E '^Exec' "${COUNTME_SERVICE}" | sed -E 's/^Exec[A-Za-z]*=[-@+!:]*//' | awk '{print $1}') -} - -@test "countme: service uses dnf, and dnf5 is not required from base.toml" { - grep -q '^ExecStart=/usr/bin/dnf ' "${COUNTME_SERVICE}" - # dnf5 is uninstallable on CS10 (verified 2026-08-09); adding it back to - # base.toml kills the image build. - ! grep -Eq '^[[:space:]]*"dnf5",' "${PKGS_TOML}" -} diff --git a/tests/unit/image_info_set_test.bats b/tests/unit/image_info_set_test.bats index faac53fb..81e9af29 100644 --- a/tests/unit/image_info_set_test.bats +++ b/tests/unit/image_info_set_test.bats @@ -23,10 +23,10 @@ setup() { IMAGE_INFO_FILE="${BATS_TEST_TMPDIR}/image-info.json" cat > "${IMAGE_INFO_FILE}" <<'EOF' { - "image-name": "bluefin-lts", + "image-name": "uranium", "image-flavor": "main", - "image-vendor": "projectbluefin", - "image-ref": "ostree-image-signed:docker://ghcr.io/projectbluefin/bluefin-lts", + "image-vendor": "thallium-suite", + "image-ref": "ostree-image-signed:docker://ghcr.io/thallium-suite/uranium", "image-tag": "stable", "centos-version": "10" } @@ -66,33 +66,36 @@ json_field() { @test "image-info-set: preserves image-name when IMAGE_NAME is not overridden" { run_image_info_set dx [ "$status" -eq 0 ] - [ "$(json_field '."image-name"')" = "bluefin-lts" ] + [ "$(json_field '."image-name"')" = "uranium" ] } @test "image-info-set: preserves image-ref when IMAGE_REF is not overridden" { run_image_info_set dx [ "$status" -eq 0 ] - [ "$(json_field '."image-ref"')" = "ostree-image-signed:docker://ghcr.io/projectbluefin/bluefin-lts" ] + [ "$(json_field '."image-ref"')" = "ostree-image-signed:docker://ghcr.io/thallium-suite/uranium" ] } @test "image-info-set: IMAGE_NAME overrides the recorded image name" { - IMAGE_INFO="${IMAGE_INFO_FILE}" IMAGE_NAME=bluefin-lts-dx run bash "${IMAGE_INFO_SET}" dx + IMAGE_INFO="${IMAGE_INFO_FILE}" IMAGE_NAME=uranium-dx run bash "${IMAGE_INFO_SET}" dx [ "$status" -eq 0 ] - [ "$(json_field '."image-name"')" = "bluefin-lts-dx" ] + [ "$(json_field '."image-name"')" = "uranium-dx" ] } @test "image-info-set: IMAGE_REF overrides the recorded image ref" { IMAGE_INFO="${IMAGE_INFO_FILE}" \ - IMAGE_REF="ostree-image-signed:docker://ghcr.io/projectbluefin/bluefin-lts-dx" \ + IMAGE_REF="ostree-image-signed:docker://ghcr.io/thallium-suite/uranium-dx" \ run bash "${IMAGE_INFO_SET}" dx [ "$status" -eq 0 ] - [ "$(json_field '."image-ref"')" = "ostree-image-signed:docker://ghcr.io/projectbluefin/bluefin-lts-dx" ] + [ "$(json_field '."image-ref"')" = "ostree-image-signed:docker://ghcr.io/thallium-suite/uranium-dx" ] } @test "image-info-set: leaves unrelated keys untouched" { run_image_info_set dx [ "$status" -eq 0 ] - [ "$(json_field '."image-vendor"')" = "projectbluefin" ] + # image-vendor is never written by image-info-set, so this holds for any + # value already in the file, including a legacy one carried across an + # upgrade from a pre-rename image. + [ "$(json_field '."image-vendor"')" = "thallium-suite" ] [ "$(json_field '."image-tag"')" = "stable" ] [ "$(json_field '."centos-version"')" = "10" ] } diff --git a/tests/unit/image_info_test.bats b/tests/unit/image_info_test.bats index 7bc8ad4b..afb1e0b5 100644 --- a/tests/unit/image_info_test.bats +++ b/tests/unit/image_info_test.bats @@ -79,8 +79,8 @@ teardown() { # boundaries. Uses `run env ...` (direct command) instead of a function wrapper # to avoid bats function-dispatch inconsistencies with PATH export. _run_image_info() { - local image_name="${1:-bluefin}" - local image_vendor="${2:-projectbluefin}" + local image_name="${1:-uranium}" + local image_vendor="${2:-thallium-suite}" local major_version="${3:-10}" local sha="${4:-deadbeef}" @@ -104,25 +104,25 @@ _run_image_info() { } @test "image-info: image-info.json contains image-name" { - _run_image_info bluefin + _run_image_info uranium [ "$status" -eq 0 ] - grep -q '"image-name": "bluefin"' "${TEST_ROOT}/usr/share/ublue-os/image-info.json" + grep -q '"image-name": "uranium"' "${TEST_ROOT}/usr/share/ublue-os/image-info.json" } @test "image-info: image-info.json contains image-vendor" { - _run_image_info bluefin projectbluefin + _run_image_info uranium thallium-suite [ "$status" -eq 0 ] - grep -q '"image-vendor": "projectbluefin"' "${TEST_ROOT}/usr/share/ublue-os/image-info.json" + grep -q '"image-vendor": "thallium-suite"' "${TEST_ROOT}/usr/share/ublue-os/image-info.json" } @test "image-info: image-info.json contains centos-version" { - _run_image_info bluefin projectbluefin 10 + _run_image_info uranium thallium-suite 10 [ "$status" -eq 0 ] grep -q '"centos-version": "10"' "${TEST_ROOT}/usr/share/ublue-os/image-info.json" } @test "image-info: image-tag reflects the release stream" { - _run_image_info bluefin projectbluefin 10 + _run_image_info uranium thallium-suite 10 [ "$status" -eq 0 ] grep -q '"image-tag": "stable/testing"' "${TEST_ROOT}/usr/share/ublue-os/image-info.json" } @@ -131,16 +131,16 @@ _run_image_info() { # os-release patching # ────────────────────────────────────────────────────────────────────────────── -@test "image-info: os-release NAME is set to 'Bluefin LTS'" { +@test "image-info: os-release NAME is set to 'Uranium'" { _run_image_info [ "$status" -eq 0 ] - grep -q 'NAME="Bluefin LTS"' "${TEST_ROOT}/usr/lib/os-release" + grep -q 'NAME="Uranium"' "${TEST_ROOT}/usr/lib/os-release" } -@test "image-info: os-release PRETTY_NAME is set to 'Bluefin LTS'" { +@test "image-info: os-release PRETTY_NAME is set to 'Uranium'" { _run_image_info [ "$status" -eq 0 ] - grep -q 'PRETTY_NAME="Bluefin LTS"' "${TEST_ROOT}/usr/lib/os-release" + grep -q 'PRETTY_NAME="Uranium"' "${TEST_ROOT}/usr/lib/os-release" } @test "image-info: os-release VERSION_CODENAME is set to Achillobator" { @@ -149,10 +149,10 @@ _run_image_info() { grep -q 'VERSION_CODENAME="Achillobator"' "${TEST_ROOT}/usr/lib/os-release" } -@test "image-info: os-release CPE_NAME is rewritten to universal-blue:bluefin-lts" { +@test "image-info: os-release CPE_NAME is rewritten to universal-blue:uranium" { _run_image_info [ "$status" -eq 0 ] - grep -q 'cpe:/o:universal-blue:bluefin-lts' "${TEST_ROOT}/usr/lib/os-release" + grep -q 'cpe:/o:universal-blue:uranium' "${TEST_ROOT}/usr/lib/os-release" } @test "image-info: os-release strips REDHAT_ fields" { @@ -169,15 +169,15 @@ _run_image_info() { } @test "image-info: os-release appends BUILD_ID from SHA_HEAD_SHORT" { - _run_image_info bluefin projectbluefin 10 abc1234 + _run_image_info uranium thallium-suite 10 abc1234 [ "$status" -eq 0 ] grep -q 'BUILD_ID="abc1234"' "${TEST_ROOT}/usr/lib/os-release" } -@test "image-info: os-release appends DEFAULT_HOSTNAME=bluefin" { +@test "image-info: os-release appends DEFAULT_HOSTNAME=uranium" { _run_image_info [ "$status" -eq 0 ] - grep -q 'DEFAULT_HOSTNAME="bluefin"' "${TEST_ROOT}/usr/lib/os-release" + grep -q 'DEFAULT_HOSTNAME="uranium"' "${TEST_ROOT}/usr/lib/os-release" } # ──────────────────────────────────────────────────────────────────────────────