pipelines/test/release
Yuan (Bob) Gong 2557f40c5a
revert: feat: change release tags to vX.Y.Z. Part of #5954 (#6034)
This reverts commit b57bbeeb98.
2021-07-14 14:43:56 +08:00
..
Dockerfile.release feat: pipeline spec as a separate go module (#6000) 2021-07-12 20:51:16 -07:00
Makefile feat: pipeline spec as a separate go module (#6000) 2021-07-12 20:51:16 -07:00
README.md revert: feat: change release tags to vX.Y.Z. Part of #5954 (#6034) 2021-07-14 14:43:56 +08:00
bump-version-docker.sh Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
bump-version-in-place.sh chore: restore KFP SDK version to 1.6.2, decouple SDK release from KFP main release. (#5739) 2021-05-27 01:21:17 -07:00
check-release-needed-tools.sh Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
release.sh revert: feat: change release tags to vX.Y.Z. Part of #5954 (#6034) 2021-07-14 14:43:56 +08:00

README.md

KFP Release tools

For full release documentation, please read RELEASE.md.

To do a release:

TAG=<TAG> BRANCH=<BRANCH> make release

Example, release in release branch:

    TAG=1.4.0 BRANCH=release-1.4 make release

Example, release an RC (release candidate) in master branch:

    TAG=2.0.0-rc.1 BRANCH=master make release

Dev guide

Take a look at the ./Makefile, all the rules there are entrypoints for dev activities.

Implementation Details

The script ./release.sh is a wrapper

  1. Clones github.com/kubeflow/pipelines repo to a temporary path.
  2. Updates ../../VERSION to TAG.
  3. Checkout the release branch.
  4. Runs ./bump-version-docker.sh.
  5. Runs git commit and tag.
  6. After confirming with user input, pushes to upstream branch.

The script ./bump-version-docker.sh

  1. Runs ./bump-version-in-place.sh in gcr.io/ml-pipeline-test/release:latest image.

The script ./bump-version-in-place.sh does the following:

  1. Generate ./CHANGELOG.md using commit history.
  2. Regenerate open api specs based on proto files.
  3. Regenerate kfp-server-api python package.
  4. Update all version refs in this repo to ./VERSION by calling each of the ./**/hack/release.sh scripts. The individual scripts are responsible for updating version refs to their own folder.