Open
Description
./cmrel stage --branch=release-1.0 --release-version=v1.0.2 --help
The stage command will build and stage a cert-manager release to a
Google Cloud Storage bucket. It will create a Google Cloud Build job
which will run a full cross-build and publish the artifacts to the
staging release bucket.
Usage:
cmrel stage [flags]
Examples:
To stage a release of the 'master' branch to the default staging bucket, run:
cmrel stage --git-ref=master
To stage a release of the 'release-0.14' branch to the default staging bucket,
overriding the release version as 'v0.14.0', run:
cmrel stage --git-ref=release-0.14 --release-version=v0.14.0
Flags:
--branch string The git branch to build the release from. If --git-ref is not specified, the HEAD of this branch will be looked up on GitHub. (default "master")
--bucket string The name of the GCS bucket to stage the release to. (default "cert-manager-release")
--cloudbuild string The path to the cloudbuild.yaml file used to perform the cert-manager crossbuild. The default value assumes that this tool is run from the root of the release repository. (default "./gcb/stage/cloudbuild.yaml")
--git-ref string The git commit ref of cert-manager that should be staged.
-h, --help help for stage
--org string Name of the GitHub org to fetch cert-manager sources from. (default "jetstack")
--project string The GCP project to run the GCB build jobs in. (default "cert-manager-release")
--published-image-repo string The docker image repository set when building the release. (default "quay.io/jetstack")
--release-version string Optional release version override used to force the version strings used during the release to a specific value.
--repo string Name of the GitHub repo to fetch cert-manager sources from. (default "cert-manager")
Global Flags:
--debug If true, output from sub-commands will be directly piped to stderr.
./cmrel stage --git-ref=release-1.0 --release-version=v1.0.2
2020/09/22 14:13:51 Root options:
2020/09/22 14:13:51 Debug: false
2020/09/22 14:13:51 Stage options:
2020/09/22 14:13:51 Bucket: "cert-manager-release"
2020/09/22 14:13:51 Org: "jetstack"
2020/09/22 14:13:51 Repo: "cert-manager"
2020/09/22 14:13:51 Branch: "master"
2020/09/22 14:13:51 GitRef: "release-1.0"
2020/09/22 14:13:51 CloudBuildFile: "./gcb/stage/cloudbuild.yaml"
2020/09/22 14:13:51 Project: "cert-manager-release"
2020/09/22 14:13:51 ReleaseVersion: "v1.0.2"
2020/09/22 14:13:51 PublishedImageRepo: "quay.io/jetstack"
2020/09/22 14:13:51 ---
Error: required flag(s) "branch" not set
required flag(s) "branch" not set