File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Make sure the [ end-to-end test] ( https://github.com/Stackdriver/stackdriver-prometheus-e2e ) passes:
4
4
``` 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
+
5
11
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}
9
15
```
10
16
11
- ` START_PROMETHEUS=false ` prevents the old Prometheus integration from starting as part of the test.
12
-
13
17
If OK, then release by running ` ./release.sh {VERSION} `
You can’t perform that action at this time.
0 commit comments