1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 13:29:11 +01:00
Files
descheduler/docs/releasing.md
Sean Malloy a7c4295c58 Add notes section to release documentation
Add a link to the test grid dashboard for automated container image builds,
and documents useful gcloud commands for woking with the staging registry.

This documentation is useful for project maintainers that are creating
releases and publishing container images. The chance of remembering
these commands and links is slim to none. Therefore documenting this
information will be very useful.
2020-02-11 22:41:35 -06:00

1.6 KiB

Release process

Semi-automatic

  1. Make sure your repo is clean by git's standards
  2. Tag the repository and push the tag VERSION=v0.10.0 git tag -m $VERSION $VERSION; git push origin $VERSION
  3. Publish a draft release using the tag you just created
  4. Perform the image promotion process
  5. Publish release
  6. Email kubernetes-sig-scheduling@googlegroups.com to announce the release

Manual

  1. Make sure your repo is clean by git's standards
  2. Tag the repository and push the tag VERSION=v0.10.0 git tag -m $VERSION $VERSION; git push origin $VERSION
  3. Checkout the tag you just created and make sure your repo is clean by git's standards git checkout $VERSION
  4. Build and push the container image to the staging registry VERSION=$VERSION make push
  5. Publish a draft release using the tag you just created
  6. Perform the image promotion process
  7. Publish release
  8. Email kubernetes-sig-scheduling@googlegroups.com to announce the release

Notes

See post-descheduler-push-images dashboard for staging registry image build job status.

List images in staging registry.

gcloud container images list --repository gcr.io/k8s-staging-descheduler

List descheduler image tags in the staging registry.

gcloud container images list-tags gcr.io/k8s-staging-descheduler/descheduler

Pull image from the staging registry.

docker pull gcr.io/k8s-staging-descheduler/descheduler:v20200206-0.9.0-94-ge2a23f284