diff --git a/.circleci/config.yml b/.circleci/config.yml index df955fb8e..aed92d303 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -107,17 +107,17 @@ jobs: -v $(pwd)/proxy_server_config.yaml:/app/config.yaml \ my-app:latest \ --config /app/config.yaml - # - run: - # name: Install curl and dockerize - # command: | - # sudo apt-get update - # sudo apt-get install -y curl - # sudo wget https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz - # sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.1.tar.gz - # sudo rm dockerize-linux-amd64-v0.6.1.tar.gz - # - run: - # name: Wait for app to be ready - # command: dockerize -wait http://localhost:4000 -timeout 1m + - run: + name: Install curl and dockerize + command: | + sudo apt-get update + sudo apt-get install -y curl + sudo wget https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz + sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.1.tar.gz + sudo rm dockerize-linux-amd64-v0.6.1.tar.gz + - run: + name: Wait for app to be ready + command: dockerize -wait http://localhost:4000 -timeout 1m - run: name: Test the application command: curl -s "http://localhost:4000/health/readiness"