Update .gitlab-ci.yml

5 jobs from master in 3 minutes and 51 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #13811
Build

00:17

 
  Release Cleanup
failed #13812
allowed to fail
ReleaseCleanup

00:01

 
  Release Deploy
passed #13813
ReleaseDeploy

03:31

 
  Validation
failed #13814
Validation

00:00

 
  Delete Project
skipped #13815
allowed to fail manual
DeleteProject
 
Name Stage Failure
failed
Validation Validation
Using Shell executor...
Running on ip-172-31-22-163.us-west-2.compute.internal...
Fetching changes...
HEAD is now at 8befd97 Update .gitlab-ci.yml
Checking out 8befd970 as master...
Skipping Git submodules setup
$ if [ `curl -s -o /dev/null -I -w "%{http_code}" https://${RELEASE_NAME}.pg-sandbox.altimetrik.com` = "200" ];exit 0; else exit 1; fi
bash: eval: line 72: syntax error near unexpected token `else'
ERROR: Job failed: exit status 2
failed
ReleaseCleanup Release Cleanup
HEAD is now at 8befd97 Update .gitlab-ci.yml
Checking out 8befd970 as master...
Skipping Git submodules setup
$ echo `pwd`
/home/gitlab-runner/builds/74040ee7/0/aray/pgtestproject2033
$ DNS_VALUE=`kubectl get ingress $RELEASE_NAME -o jsonpath="{.status.loadBalancer.ingress[0].hostname}"`
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
Error from server (NotFound): ingresses.extensions "project1447" not found
ERROR: Job failed: exit status 1