This repository contains a suite of tools responsible for artifact promotion in the Kubernetes project.
kpromo, or the Kubernetes Promotion Tool, is the canonical tool
for promoting Kubernetes project artifacts.
It wraps and unifies the functionality of multiple tools that have existed in the past:
cipgh2gcskrel promote-imagespromobot-files
Requirements:
If you're interested in installing kpromo from a tag:
go install sigs.k8s.io/promo-tools/v4/cmd/kpromo@<tag>
$(go env GOPATH)/bin/kpromo <subcommand>If you're interested in actively contributing to kpromo or testing
functionality which may not yet be in a tagged release, first fork/clone the
repo and then run:
go install ./cmd/kpromo/...
$(go env GOPATH)/bin/kpromo <subcommand>Usage:
kpromo [command]
Available Commands:
cip Promote images from a staging registry to production
completion generate the autocompletion script for the specified shell
gh Uploads GitHub releases to Google Cloud Storage
help Help about any command
manifest Generate/modify a manifest for artifact promotion
pr Starts an image promotion for a given image tag
run Run artifact promotion
sigcheck Check image signatures
version Prints the versionFor background on the image promotion process, see here.
To create an image promotion PR via kpromo pr, see
here.
See here.
See here.