You are able to automate section 1 and 2 below by running ./release.sh {VERSION}. Section 3 is not automated due to the manual verification step. This should be improved over time to include continuous integration.
- Update file
VERSIONwith the numeric version, e.g.0.3.1. - Create a git branch for the version, e.g.
release-0.3.1. - Run
DOCKER_IMAGE_NAME={public_docker_image} make push.
Updating the sample deployment configuration (documentation/examples/prometheus-service.yml) is still more involved:
- Start from the configuration for the previous release and merge any changes from the master branch.
- Update the container image in
documentation/examples/prometheus-service.ymlto the image you released. - Apply it to your cluster to verify it works. E.g.
kubectl apply -f documentation/examples/prometheus-service.yml.
These steps should not be performed until you are confident that the configuration files and the associated docker images are stable, as this will override the configuration files that are included in public documentation.
- Run the e2e tests located at https://github.com/Stackdriver/stackdriver-prometheus-e2e, if they do not pass, please debug and resolve any issues before proceeding.
- Upload it to the public documentation repo:
gsutil cp documentation/examples/prometheus-service.yml gs://stackdriver-prometheus-documentation/ - If
rbac-setup.ymlhas changed since the last release, also upload it to the same repo.