This article documents the standard release process for projects that make up Rancher. Once you release a project, you'll need to reference the new release in another project. Where it is referenced can vary project-to-project.
To release one of Rancher projects, do the following:
- Clone a fresh copy of the project
- Example:
git clone [email protected]:rancherio/python-agent.git
- Tag the release:
- Example:
git tag v0.16.0
- Build the project's artifacts. If you have build-tools/bin on your PATH, it's a one-linerL
- Example:
release
- Push the tag to github:
- Example:
git push origin v0.16.0
- Go to the project's Release page in GitHub.
- Edit the newly created release and upload the artifact (typically a tar.gz) to the release
- Update Rancher's reference to the newly created release.
- Python-agent example: cattle/resources/content/cattle-global.properties
- Go-machine-service example: rancher/server/Dockerfile