Files
git.stella-ops.org/docs/doctor/articles/verification/verification-artifact-pull.md
2026-03-31 23:26:24 +03:00

2.0 KiB

checkId, plugin, severity, tags
checkId plugin severity tags
check.verification.artifact.pull stellaops.doctor.verification fail
verification
artifact
registry
supply-chain

Test Artifact Pull

What It Checks

Requires the verification plugin to be enabled and a test artifact to be configured with either Doctor:Plugins:Verification:TestArtifact:Reference or Doctor:Plugins:Verification:TestArtifact:OfflineBundlePath.

For offline mode it checks the bundle file exists. For online mode it performs a registry HEAD request against the OCI manifest and optionally compares the returned digest to the expected digest.

Why It Matters

The rest of the verification pipeline is meaningless if Doctor cannot retrieve the artifact it is supposed to validate.

Common Causes

  • No test artifact reference or offline bundle path is configured
  • Registry credentials are missing or do not allow manifest access
  • The artifact digest or tag points to content that no longer exists

How to Fix

Docker Compose

services:
  doctor-web:
    environment:
      Doctor__Plugins__Verification__Enabled: "true"
      Doctor__Plugins__Verification__TestArtifact__Reference: ghcr.io/example/app@sha256:<digest>

For air-gapped mode:

Doctor__Plugins__Verification__TestArtifact__OfflineBundlePath: /var/lib/stella/verification/offline-bundle.json
docker compose -f devops/compose/docker-compose.stella-ops.yml exec doctor-web crane manifest ghcr.io/example/app@sha256:<digest>

Bare Metal / systemd

Use an immutable digest reference instead of a mutable tag whenever possible.

Kubernetes / Helm

Mount registry credentials and the offline bundle path into the Doctor workload if the cluster is disconnected.

Verification

stella doctor --check check.verification.artifact.pull
  • check.verification.signature - signature validation depends on the same artifact input
  • check.integration.oci.pull - registry authorization issues often show up there too