Skip to content

Commit

Permalink
Give enough time to Traefik to discover the user service - Diable the…
Browse files Browse the repository at this point in the history
… old enclave ci test for now.
  • Loading branch information
laurentluce committed Dec 6, 2023
1 parent 4b9650b commit e4d36d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ abort_job_if_kubernetes_backend: &abort_job_if_kubernetes_backend
steps:
- run: circleci-agent step halt

abort_job: &abort_job
run: circleci-agent step halt

##############
# CircleCI
##############
Expand Down Expand Up @@ -655,6 +658,8 @@ jobs:
test_old_enclave_continuity:
executor: ubuntu_vm
steps:
- <<: *abort_job

- checkout

- <<: *abort_job_if_only_docs_changes
Expand Down Expand Up @@ -957,6 +962,8 @@ jobs:
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}
Expand Down

0 comments on commit e4d36d9

Please sign in to comment.