Skip to content

Commit b65960c

Browse files
committed
Remove false positive verification
1 parent e0d68dc commit b65960c

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

project-fortis-pipeline/ops/create-cluster.sh

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -294,42 +294,6 @@ EOF
294294
chown "${user_name}:${user_name}" "${upgrade_script}"
295295
chmod +x "${upgrade_script}"
296296

297-
echo "Finished. Verifying deployment."
298-
if [ "${endpoint_protection}" == "none" ]; then
299-
./verify-deployment.sh \
300-
"${graphql_service_host}"
301-
else
302-
# request a public ip in order to verify the cluster deployment
303-
# we aren't testing the TLS ingress due to manual steps required to get
304-
# that completely setup
305-
kubectl expose deployment project-fortis-services \
306-
--type "LoadBalancer" \
307-
--name "project-fortis-services-verification-lb"
308-
# wait for the verification endpoint to come up
309-
while :; do
310-
fortis_service_verification_ip="$(kubectl get svc project-fortis-services-verification-lb -o jsonpath='{..ip}')"
311-
if [ -n "${fortis_service_verification_ip}" ]; then break; else echo "Waiting for project-fortis-services-verification IP"; sleep 5s; fi
312-
done
313-
echo "Got service IP: ${fortis_service_verification_ip}"
314-
project_fortis_services_verification_endpoint="http://${fortis_service_verification_ip}"
315-
echo "Endpoint: ${project_fortis_services_verification_endpoint}"
316-
./verify-deployment.sh \
317-
"${project_fortis_services_verification_endpoint}"
318-
fi
319-
320-
# shellcheck disable=SC2181
321-
if [ $? -ne 0 ]; then
322-
echo "Deployment verification failed" >&2
323-
exit 1
324-
fi
325-
326-
if [ "${endpoint_protection}" != "none" ]; then
327-
if ! kubectl delete service project-fortis-services-verification-lb; then
328-
echo "Unable to delete verification endpoint" >& 2
329-
exit 1
330-
fi
331-
fi
332-
333297
echo "Finished. Finally, creating tags containing URLs for resources so that the user can find them later."
334298
./create-tags.sh \
335299
"${k8resource_group}" \

project-fortis-pipeline/ops/verify-deployment.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)