Skip to content

Commit

Permalink
Fix leftover conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
inelpandzic committed Jul 20, 2023
1 parent d4360de commit e4e73e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ void CreateCluster(String CLUSTER_SUFFIX) {
export KUBECONFIG=/tmp/$CLUSTER_NAME-${CLUSTER_SUFFIX}
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
source $HOME/google-cloud-sdk/path.bash.inc
<<<<<<< HEAD
ret_num=0
while [ \${ret_num} -lt 15 ]; do
ret_val=0
Expand All @@ -22,13 +21,6 @@ void CreateCluster(String CLUSTER_SUFFIX) {
gcloud container clusters list --filter $CLUSTER_NAME-${CLUSTER_SUFFIX} --zone $GKERegion --format='csv[no-heading](name)' | xargs gcloud container clusters delete --zone $GKERegion --quiet || true
exit 1
fi
=======
gcloud auth activate-service-account --key-file $CLIENT_SECRET_FILE
gcloud config set project $GCP_PROJECT
gcloud container clusters list --filter $CLUSTER_NAME-${CLUSTER_PREFIX} --zone $GKERegion --format='csv[no-heading](name)' | xargs gcloud container clusters delete --zone $GKERegion --quiet || true
gcloud container clusters create --zone $GKERegion $CLUSTER_NAME-${CLUSTER_PREFIX} --cluster-version=1.24 --machine-type=n1-standard-4 --preemptible --num-nodes=3 --network=jenkins-vpc --labels delete-cluster-after-hours=6 --subnetwork=jenkins-${CLUSTER_PREFIX} --no-enable-autoupgrade
kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user jenkins@"$GCP_PROJECT".iam.gserviceaccount.com
>>>>>>> 8617f8f8 (fix tests)
"""
}
}
Expand Down
6 changes: 0 additions & 6 deletions e2e-tests/functions
Original file line number Diff line number Diff line change
Expand Up @@ -763,14 +763,8 @@ compare_mongos_cmd() {
run_mongos "use ${database}\n db.${collection}.${command}()" "$uri" "mongodb" "$suffix" \
| egrep -v 'I NETWORK|W NETWORK|Error saving history file|Percona Server for MongoDB|connecting to:|Unable to reach primary for set|Implicit session:|versions do not match' \
| $sed -re 's/ObjectId\("[0-9a-f]+"\)//; s/-[0-9]+.svc/-xxx.svc/' \
<<<<<<< HEAD
>$tmp_dir/${command}${postfix}
diff ${test_dir}/compare/${command}${postfix}.json $tmp_dir/${command}${postfix}
=======
>$tmp_dir/${command}

diff ${test_dir}/compare/${command}${postfix}.json $tmp_dir/${command}
>>>>>>> 8617f8f8 (fix tests)
}

get_mongo_primary_endpoint() {
Expand Down

0 comments on commit e4e73e2

Please sign in to comment.