Skip to content

Commit

Permalink
Working on fixing CI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce committed Dec 6, 2023
1 parent f95e9c3 commit a7b5525
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,12 @@ 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}
echo 'curl -I http://localhost:<< pipeline.parameters.reverse-proxy-entrypoint-web-port >> -H "Host: 80-${service_uuid}-${enclave_uuid}"'
status_code=$(curl -I http://localhost:<< pipeline.parameters.reverse-proxy-entrypoint-web-port >> -H "Host: 80-${service_uuid}-${enclave_uuid}" | head -1 | awk '{print $2}')
echo ${status_code}
if ! [ "${status_code}" -eq "200" ]; then
Expand Down

0 comments on commit a7b5525

Please sign in to comment.