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 02a62b2 commit f95e9c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ run_prepare_testing_docker: &run_prepare_testing_docker
docker load -i "<< pipeline.parameters.workspace-with-cli-binary-and-images-mountpoint >>/<< pipeline.parameters.core-server-image-filename >>"
docker load -i "<< pipeline.parameters.workspace-with-cli-binary-and-images-mountpoint >>/<< pipeline.parameters.engine-server-image-filename >>"
docker load -i "<< pipeline.parameters.workspace-with-cli-binary-and-images-mountpoint >>/<< pipeline.parameters.file-artifacts-expander-image-filename >>"
- run: "${KURTOSIS_BINPATH} engine start --cli-log-level trace"
"${KURTOSIS_BINPATH} engine start --cli-log-level trace"
# Steps to prepare a job for Docker testing
steps_prepare_testing_docker: &steps_prepare_testing_docker
Expand Down Expand Up @@ -954,7 +954,7 @@ jobs:
echo ${enclave_uuid}
service_uuid=$(${KURTOSIS_BINPATH} enclave inspect test-enclave | tail -2 | awk '{print $1}')
echo ${service_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}')
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
echo 'HTTP request status code returned is ${status_code} instead of 200'
Expand Down

0 comments on commit f95e9c3

Please sign in to comment.