Skip to content

Commit

Permalink
Remove debug msgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce committed Dec 6, 2023
1 parent 62163f3 commit 508bae7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -957,16 +957,11 @@ jobs:
- run: |
${KURTOSIS_BINPATH} enclave add --name test-enclave
${KURTOSIS_BINPATH} service add test-enclave test1 httpd --ports http=http:80/tcp
${KURTOSIS_BINPATH} enclave inspect test-enclave
enclave_uuid=$(${KURTOSIS_BINPATH} enclave inspect test-enclave | grep "^UUID:" | awk '{print $2}')
echo ${enclave_uuid}
service_uuid=$(${KURTOSIS_BINPATH} enclave inspect test-enclave | tail -2 | awk '{print $1}')
echo ${service_uuid}
# Give the reverse proxy enough time to discover the httpd user service
sleep 10
curl -v -I http://localhost:<< pipeline.parameters.reverse-proxy-entrypoint-web-port >> -H "Host: 80-$(echo $service_uuid)-$(echo $enclave_uuid)"
status_code=$(curl -I http://localhost:<< pipeline.parameters.reverse-proxy-entrypoint-web-port >> -H "Host: 80-$(echo $service_uuid)-$(echo $enclave_uuid)" | head -1 | awk '{print $2}')
echo ${status_code}
if ! [ "${status_code}" -eq "200" ]; then
echo 'HTTP request status code returned is '${status_code}' instead of 200'
false
Expand Down

0 comments on commit 508bae7

Please sign in to comment.