Skip to content

ci: Cache Tier 2 Linux's apt downloads in the job container #1055

Description

@zackees

Part of #930.

Each of the 7 Tier 2 Linux jobs (build + 6 shards, #975/#1049) installs the shared package list in the stock ubuntu:26.04 container: 566 packages, 339 MB downloaded in ~20 s + ~4 s index, then ~28 s unpack/configure (master run 38878876640, ON 2/3). The download repeats on every job.

Fix: keep the .debs (the stock image's /etc/apt/apt.conf.d/docker-clean deletes them after install) and actions/cache /var/cache/apt/archives, keyed on apt-packages.txt and the image digest. Expected ~20 s saved per job, ~2.5 runner-minutes per master run.

A bigger cut (no install at all) would be a prebuilt image published from obs-studio-libs; that's a maintainer call given "no Dockerfile in remote CI".

Activity

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

    @zackees
    MemberAuthor

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

  3. added
    claimed
    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

No one assigned

    Labels

    claimedinfra

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions