Need a complete runtime image inventory for pre-caching (beyond get-default-config)
C
Curved Harrier
Title:
CI – Need a complete runtime image inventory for pre-caching (beyond get-default-config
)Problem
Teams running CI on private or VM-based build infrastructure need to pre-cache container images to avoid cold pulls and keep build times predictable.
Today, the
GET /gateway/ci/execution-config/get-default-config?infra=K8
API only returns core CI images (lite-engine, ci-addon, some plugins), but not
all images that can be pulled during real CI executions (for example security job-runners and several plugin/utility images).As a result, platform teams don’t have a single, reliable source of truth for “all images Harness may pull at runtime.”
---
Pain
* Build farms rely on aggressive image caching to keep build times low.
* Because only a subset of images is exposed via
get-default-config
, teams have to:* Discover missing images reactively when pipelines pull something new.
* Manually maintain a pre-cache list that easily goes out of date.
* Frequent image updates or new plugin images can
break the cache
and reintroduce cold pulls, which:* Increases build times and variance.
* Adds operational overhead just to keep the cache aligned with what Harness actually uses.
---
Enhancement Request
Provide a way to programmatically retrieve a
complete list of runtime images
used by CI and adjacent modules, suitable for pre-caching. For example:* Extend
get-default-config
(via a flag) or
* Introduce a new endpoint that returns a
“runtime image inventory”
including:* Core CI engine/addon images
* CI plugins (kaniko, buildx, docker/ecr/gcr/gar/acr, artifact-metadata-publisher, etc.)
* Security / STO job-runner images
* SSCA/SCS and other CI-adjacent images where applicable
The response should include image names and tags in a structured format, so platform teams can plug it directly into their image build / cache-warmup workflows.
This would let users:
Pre-cache
all* relevant images more reliably.* Reduce cold pulls and runtime surprises.
* Spend less time chasing down “which image did this pipeline just pull?” and more time actually running builds.
Log In