testgrid-publish

command
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL