From e3aff7fc92ee5dd8d7733ca6dd559043f7a5bb91 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 10 Jan 2024 17:20:48 +0530 Subject: [PATCH] build(config.yml): bring back dockerize --- .circleci/config.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index df955fb8e8..aed92d3031 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"