forked from kubernetes/release
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gcbmgr (Container Builder Manager) for creating, viewing and mana…
…ging jobs. --user-at-domain has been eliminated and the entire workflow is now based upon the active GCP user at the time of the start of the process. If that is not set, cannot be set or invalid, do not continue. Replaced with GCP_USER. Added Dockerfile for building k8s-cloud-builder container image.
- Loading branch information
1 parent
2519cda
commit cd57ddc
Showing
13 changed files
with
956 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Table of Contents | ||
================= | ||
* [Intro](#intro) | ||
* [Typical Workflows](#typical-workflows) | ||
|
||
# Container Builder Staging and Release | ||
|
||
## Intro | ||
|
||
The Kubernetes release process can now be staged and released on both the GCP | ||
Container Builder (GCB) or on the desktop with the necessary permissions. | ||
|
||
## Typical Workflows | ||
|
||
The typical workflow is very simple and works similar to `anago` in both mock | ||
and `--nomock` variants with a clear division between the two. Stage and | ||
release using either `--nomock` or in the default (mock) mode. | ||
|
||
The hybrid model is also supported | ||
* Stage on GCB | ||
* Release on desktop | ||
|
||
``` | ||
# On GCB, stage a (mock) master branch build from head | ||
$ gcbmgr stage master --build-at-head | ||
# On GCB, stage a (mock) release-1.9 branch build using test signal | ||
$ gcbmgr stage release-1.9 | ||
# On GCB, view last 5 jobs | ||
$ gcbmgr | ||
-OR- | ||
$ gcbmgr list | ||
# View completed staged builds | ||
$ gcbmgr staged | ||
# Release (from GCB) | ||
$ gcbmgr release master --buildversion=<a staged master build version> | ||
# Release (from GCB) | ||
$ gcbmgr release release-1.9 --buildversion=<a staged release-1.9 build version> | ||
# And of course the man page has all the most detailed and up to date info: | ||
$ gcbmgr -man | ||
``` | ||
|
||
Guidance from `gcbmgr staged` instructs you how to release a staged build on | ||
GCB or the desktop. | ||
|
||
NOTE: Releases from GCB are currently unable to send email, so the update | ||
occurs in the form of a new release tracking issue on the | ||
kubernetes/sig-release repo (k8s-release-robot/sig-release for mock runs). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.