Documentation
¶
Overview ¶
Command testgrid-publish converts an AICR evidence OCI bundle into a TestGrid-compatible GCS feed entry.
It implements the TG2 publish path described in https://github.com/NVIDIA/aicr/issues/1267.
Pipeline:
OCI bundle ──ORAS pull──▶ bundle dir
│
├── recipe.yaml ──▶ CoordinateFor() ──▶ GCS path
└── ctrf/*.json ──▶ jUnit XML
(+ predicate.json for AttestedAt / digest)
│
┌──────────────┘
▼
gs://<bucket>/groups/<group>/<dashboard>/<tab>/<build-id>/
started.json
finished.json
artifacts/junit.xml
Usage:
testgrid-publish --bundle <oci-ref> --bucket <gcs-bucket>
testgrid-publish --bundle ghcr.io/nvidia/aicr-evidence:sha256-abc123 \
--bucket aicr-testgrid-staging \
--source-class uat
Click to show internal directories.
Click to hide internal directories.