Skip to content

ci: Run Tier 2 Linux natively on the runner, not in a Docker image built per job (step 1 of #937) #966

Closed

Description

@zackees

Part of #930 / #937.

Every Tier 2 Linux job starts by building rust/tools/linux-validate/Dockerfile from scratch: about 60 apt packages (Qt6, VLC, Mesa, FFmpeg, …) plus a rustup toolchain. That is most of the 2.4 min setup, paid by every Tier 2 job (two since #956, more once #937 shards the tests).

Direction (maintainer): no Dockerfile in remote CI. Run Tier 2 Linux natively on the ubuntu-26.04 runner, like the macOS and Windows Tier 2 jobs, and use bosn ci run (act2) to run that same workflow job locally.

Plan:

  • rust/tools/linux-validate/apt-packages.txt: the package list, shared by CI and the local Dockerfile.
  • validate.sh takes its source, build and ccache roots from OBS_TIER2_SRC / OBS_TIER2_BUILD, defaulting to today's container paths, so the local Docker harness is unchanged.
  • rust-linux-tier2 installs the list with apt (.github/scripts/retry), gets the Rust toolchain from setup-soldr, and runs validate.sh directly with the matrix mode.
  • Docs: docs/ci-tooling.md names bosn ci run --workflow build-project.yaml --job rust-linux-tier2 as the local way to run the CI job.

Tested by ci/test_tier2_native.py.

Activity

  1. added
    infra
    on Oct 16, 2026
  2. zackees commented on Oct 16, 2026

    @zackees
    MemberAuthor

    Claiming: #966 (one PR, RED then GREEN).

  3. self-assigned this
    on Oct 16, 2026
  4. added
    claimed
    on Oct 16, 2026
  5. github-actions commented on Oct 16, 2026

    @github-actions

    Claim bot: claimed by @zackees. It expires after 48 h (8 h on critical issues) without a progress comment here or a push, comment or review on a linked PR.

  6. changed the title [-]ci: Cache the Tier 2 Linux Docker image instead of rebuilding it on every runner (step 1 of #937)[/-] [+]ci: Run Tier 2 Linux natively on the runner, not in a Docker image built per job (step 1 of #937)[/+] on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

claimedinfra

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions