cip-mm

command
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

cip-mm

This tool modifies promoter manifests. For now it dumps some filtered subset of a staging GCR and merges those contents back into a given promoter manifest.

Examples

  • Add all images with a matching digest from staging repo gcr.io/k8s-staging-artifact-promoter to a manifest, using the name and tags already existing in the staging repo:
cip-mm \
  --base_dir=$HOME/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io  \
  --staging_repo=gcr.io/k8s-staging-artifact-promoter \
  --filter_digest=sha256:7594278deaf6eeaa35caedec81796d103e3c83a26d7beab091a5d25a9ba6aa16
  • Add a single image named "foo" and tagged "1.0" from staging repo gcr.io/k8s-staging-artifact-promoter to a manifest:
cip-mm \
  --base_dir=$HOME/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io  \
  --staging_repo=gcr.io/k8s-staging-artifact-promoter \
  --filter_image=cip \
  --filter_tag=1.0
  • Add all images tagged 1.0 from staging repo gcr.io/k8s-staging-artifact-promoter to a manifest:
cip-mm \
  --base_dir=$HOME/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io  \
  --staging_repo=gcr.io/k8s-staging-artifact-promoter \
  --filter_image=cip \
  --filter_tag=1.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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