Cleanup a new cluster
@@ -181,8 +181,8 @@ pipeline {
}
stage('E2E BigData') {
steps {
- CreateCluster('big-data')
- runTest('big-data', 'big-data')
+ CreateCluster('bigdata')
+ runTest('big-data', 'bigdata')
}
}
}
@@ -223,7 +223,7 @@ pipeline {
source $HOME/google-cloud-sdk/path.bash.inc
gcloud auth activate-service-account --key-file $CLIENT_SECRET_FILE
gcloud config set project $GCP_PROJECT
- gcloud container clusters delete --zone us-central1-a $CLUSTER_NAME-basic $CLUSTER_NAME-scaling $CLUSTER_NAME-selfhealing $CLUSTER_NAME-backups
+ gcloud container clusters delete --zone us-central1-a $CLUSTER_NAME-basic $CLUSTER_NAME-scaling $CLUSTER_NAME-selfhealing $CLUSTER_NAME-backups $CLUSTER_NAME-bigdata
sudo docker rmi -f \$(sudo docker images -q) || true
sudo rm -rf $HOME/google-cloud-sdk
