diff --git a/.circleci/config.yml b/.circleci/config.yml index 53759c7969..dfef25abcd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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