Move test to a separate cluster
Current implementation of smart-update test takes 1 hour
to complete.
@@ -259,6 +259,13 @@ pipeline {
timeout(time: 3, unit: 'HOURS')
}
parallel {
+ stage('E2E Smart update') {
+ steps {
+ CreateCluster('smart-update')
+ runTest('smart-update', 'smart-update')
+ ShutdownCluster('smart-update')
+ }
+ }
stage('E2E Basic Tests') {
steps {
CreateCluster('basic')
@@ -272,10 +279,13 @@ pipeline {
runTest('auto-tuning', 'basic')
runTest('proxysql-sidecar-res-limits', 'basic')
runTest('users', 'basic')
+<<<<<<< HEAD
runTest('tls-issue-self','basic')
runTest('tls-issue-cert-manager','basic')
runTest('tls-issue-cert-manager-ref','basic')
runTest('smart-update', 'basic')
+=======
+>>>>>>> c5aa5c72... K8SPXC-367 Move test to a separate cluster
ShutdownCluster('basic')
}
}
@@ -360,7 +370,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 $CLUSTER_NAME-bigdata | true
+ gcloud container clusters delete --zone us-central1-a $CLUSTER_NAME-basic $CLUSTER_NAME-scaling $CLUSTER_NAME-selfhealing $CLUSTER_NAME-backups $CLUSTER_NAME-bigdata $CLUSTER_NAME-smart-update | true
sudo docker rmi -f \$(sudo docker images -q) || true
sudo rm -rf $HOME/google-cloud-sdk
