Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Latest commit

 

History

History
49 lines (31 loc) · 2.07 KB

releasing.md

File metadata and controls

49 lines (31 loc) · 2.07 KB

Releasing the PyTorch operator

Permissions

* You need to be a member of [email protected] to have access to the GCP
  resources used for releasing.

* You need write permissions on the repository to create a release branch.

Use the GitHub UI to cut a release branch

* Name the release branch v{MAJOR}.${MINOR}-branch

Checkout the release branch

We build the PyTorch operator by running the E2E test workflow.

Look at the postsubmit dashboard to find the latest green postsubmit.

Check out that commit (in this example, we'll use 6214e560):

Run the E2E test workflow using our release cluster

kubeflow/testing#42 will simplify this.

submit_release_job.sh ${COMMIT}

You can monitor the workflow using the Argo UI. For our release cluster, we don't expose the Argo UI publicly, so you'll need to connect via kubectl port-forward:

kubectl -n kubeflow-releasing port-forward `kubectl -n kubeflow-releasing get pods --selector=app=argo-ui -o jsonpath='{.items[0].metadata.name}'` 8080:8001

kubeflow/testing#43 is tracking setup of IAP to make this easier.

Make sure the Argo workflow completes successfully. Check the junit files to make sure there were no actual test failures. The junit files will be in gs://kubeflow-releasing-artifacts. * The build artifacts will be in a directory named after the build number

If the tests pass use the GitHub UI to create a release tagged v{MAJOR}-{MINOR}-{PATCH} * If its an RC append -RC.N * In the notes create a link to the Docker image in GCR * For the label use the sha256 and not the label so it is immutable.

To release new ksonnet configs with the image following kubeflow/kubeflow/releasing.md.