From dc3d16aaac50bc5ef22ecd71cb8b70a8dc9b7957 Mon Sep 17 00:00:00 2001 From: Javier Kohen Date: Wed, 31 Oct 2018 12:19:28 -0400 Subject: [PATCH 1/3] Added full instructions for running end-to-end test --- RELEASE-PROCESS.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/RELEASE-PROCESS.md b/RELEASE-PROCESS.md index 642876a7..722e621e 100644 --- a/RELEASE-PROCESS.md +++ b/RELEASE-PROCESS.md @@ -1,3 +1,10 @@ # Release Process -Make sure the [end-to-end test](https://github.com/Stackdriver/stackdriver-prometheus-e2e) passes, then run `./release.sh {VERSION}`. +Make sure the [end-to-end test](https://github.com/Stackdriver/stackdriver-prometheus-e2e) passes: +```sh +make DOCKER_IMAGE_TAG=$USER push +( cd kube ; GCP_REGION=us-central1-a GCP_PROJECT=prometheus-to-sd KUBE_CLUSTER=integration-cluster KUBE_NAMESPACE=$USER SIDECAR_IMAGE_TAG=$USER ./deploy.sh ) +( cd ../stackdriver-prometheus-e2e ; make CLUSTER_NAME=integration-cluster ) +``` + +If OK, then release by running `./release.sh {VERSION}` From 72680d288432b3730b486cdfe4b45aa65c736054 Mon Sep 17 00:00:00 2001 From: Javier Kohen Date: Wed, 31 Oct 2018 16:18:07 -0400 Subject: [PATCH 2/3] Delete integration test namespace after test --- RELEASE-PROCESS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE-PROCESS.md b/RELEASE-PROCESS.md index 722e621e..a64bee54 100644 --- a/RELEASE-PROCESS.md +++ b/RELEASE-PROCESS.md @@ -5,6 +5,7 @@ Make sure the [end-to-end test](https://github.com/Stackdriver/stackdriver-prome make DOCKER_IMAGE_TAG=$USER push ( cd kube ; GCP_REGION=us-central1-a GCP_PROJECT=prometheus-to-sd KUBE_CLUSTER=integration-cluster KUBE_NAMESPACE=$USER SIDECAR_IMAGE_TAG=$USER ./deploy.sh ) ( cd ../stackdriver-prometheus-e2e ; make CLUSTER_NAME=integration-cluster ) +kubectl delete namespace $USER ``` If OK, then release by running `./release.sh {VERSION}` From c5e098e4651417b94c6c758808a459053610f6db Mon Sep 17 00:00:00 2001 From: Javier Kohen Date: Wed, 31 Oct 2018 16:51:00 -0400 Subject: [PATCH 3/3] Don't start the old Prometheus integration in the test --- RELEASE-PROCESS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-PROCESS.md b/RELEASE-PROCESS.md index a64bee54..23900263 100644 --- a/RELEASE-PROCESS.md +++ b/RELEASE-PROCESS.md @@ -4,8 +4,10 @@ Make sure the [end-to-end test](https://github.com/Stackdriver/stackdriver-prome ```sh make DOCKER_IMAGE_TAG=$USER push ( cd kube ; GCP_REGION=us-central1-a GCP_PROJECT=prometheus-to-sd KUBE_CLUSTER=integration-cluster KUBE_NAMESPACE=$USER SIDECAR_IMAGE_TAG=$USER ./deploy.sh ) -( cd ../stackdriver-prometheus-e2e ; make CLUSTER_NAME=integration-cluster ) +( cd ../stackdriver-prometheus-e2e ; make CLUSTER_NAME=integration-cluster START_PROMETHEUS=false ) kubectl delete namespace $USER ``` +`START_PROMETHEUS=false` prevents the old Prometheus integration from starting as part of the test. + If OK, then release by running `./release.sh {VERSION}`