api
The canonical location of the OpenShift API definition. This repo holds the API type definitions and serialization code used by openshift/client-go
pull request process
Pull requests that change API types in this repo that have corresponding "internal" API objects in the openshift/origin repo must be paired with a pull request to openshift/origin.
To ensure the corresponding origin pull request is ready to merge as soon as the pull request to this repo is merged:
- Base your pull request to this repo on latest openshift/api#master and ensure CI is green
- Base your pull request to openshift/origin on latest openshift/origin#master
- In your openshift/origin pull request:
-
Add a TMP commit that points glide.yaml at your fork of openshift/api, and the branch of your pull request:
- package: github.com/openshift/api repo: https://github.com/<your-username>/api.git version: "<your-openshift-api-branch>"
-
Update your
bump(*)
commit to include the result of runninghack/update-deps.sh
, which will pull in the changes from your openshift/api pull request -
Make sure CI is green on your openshift/origin pull request
-
Get LGTM on your openshift/api pull request (for API changes) and your openshift/origin pull request (for code changes)
-
Once both pull requests are ready, the openshift/api pull request can be merged.
Then do the following with your openshift/origin pull request:
- Drop the TMP commit (pointing glide back at openshift/api#master)
- Rerun
hack/update-deps.sh
and update yourbump(*)
commit - It can then be tagged and merged by CI