Fix encription tests in PR builds
@@ -5,7 +5,7 @@ void CreateCluster(String CLUSTER_PREFIX) {
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 create --zone us-central1-a $CLUSTER_NAME-${CLUSTER_PREFIX} --cluster-version 1.14 --machine-type n1-standard-4 --preemptible --num-nodes=3 --network=jenkins-vpc --subnetwork=jenkins-${CLUSTER_PREFIX} --no-enable-autoupgrade
+ gcloud container clusters create --zone us-central1-a $CLUSTER_NAME-${CLUSTER_PREFIX} --cluster-version 1.15 --machine-type n1-standard-4 --preemptible --num-nodes=3 --network=jenkins-vpc --subnetwork=jenkins-${CLUSTER_PREFIX} --no-enable-autoupgrade
kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user jenkins@"$GCP_PROJECT".iam.gserviceaccount.com
"""
}
@@ -118,6 +118,7 @@ pipeline {
}
}
steps {
+ stash includes: 'vendor/**', name: 'vendorFILES'
installRpms()
script {
if ( AUTHOR_NAME == 'null' ) {
@@ -232,6 +233,7 @@ pipeline {
diff -u e2e-tests/license/compare/golicense golicense-new
"""
}
+ unstash 'vendorFILES'
}
}
stage('Run tests for operator') {
