Skip to content

Commit ae5c3a3

Browse files
authored
Updated release process to new e2e test interface (#76)
* Updated release process to new e2e test interface Depends on Stackdriver/stackdriver-prometheus-e2e#3 * Update RELEASE-PROCESS.md
1 parent 4ca01bc commit ae5c3a3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

RELEASE-PROCESS.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
Make sure the [end-to-end test](https://github.com/Stackdriver/stackdriver-prometheus-e2e) passes:
44
```sh
5+
export KUBE_CLUSTER=integration-cluster
6+
# Random namespace name in the form e2e-xxxxxxxx.
7+
export KUBE_NAMESPACE="e2e-$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 8 | head -n 1)"
8+
export GCP_PROJECT=prometheus-to-sd
9+
export GCP_REGION=us-central1-a
10+
511
make DOCKER_IMAGE_TAG=$USER push
6-
( cd kube/full ; GCP_REGION=us-central1-a GCP_PROJECT=prometheus-to-sd KUBE_CLUSTER=integration-cluster KUBE_NAMESPACE=$USER SIDECAR_IMAGE_TAG=$USER ./deploy.sh )
7-
( cd ../stackdriver-prometheus-e2e ; make CLUSTER_NAME=integration-cluster START_PROMETHEUS=false )
8-
kubectl delete namespace $USER
12+
( cd kube/full ; SIDECAR_IMAGE_TAG=$USER ./deploy.sh )
13+
( cd ../stackdriver-prometheus-e2e ; make )
14+
kubectl delete namespace ${KUBE_NAMESPACE}
915
```
1016

11-
`START_PROMETHEUS=false` prevents the old Prometheus integration from starting as part of the test.
12-
1317
If OK, then release by running `./release.sh {VERSION}`

0 commit comments

Comments
 (0)