From 2c6b3aced6f86378c5b1472cbf8a42d465b55af7 Mon Sep 17 00:00:00 2001 From: Thanh Dang Nguyen Date: Fri, 16 Aug 2024 16:52:14 -0500 Subject: [PATCH] fix docker-compose install (#283) * fix docker compose command --- .github/workflows/image_build_and_test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/image_build_and_test.yaml b/.github/workflows/image_build_and_test.yaml index e3b3276f..99ec07d8 100644 --- a/.github/workflows/image_build_and_test.yaml +++ b/.github/workflows/image_build_and_test.yaml @@ -106,14 +106,14 @@ jobs: - name: Run spark and ElasticSearch working-directory: ../compose-etl - run: docker-compose up -d spark elasticsearch + run: docker compose up -d spark elasticsearch - name: Wait for the container to be up and running run: sleep 60 - name: Checking logs working-directory: ../compose-etl - run: docker-compose logs + run: docker compose logs - name: Check all containers run: docker ps @@ -123,7 +123,7 @@ jobs: - name: Run ETL process working-directory: ../compose-etl - run: docker-compose run tube bash -c "python run_config.py; python run_etl.py" + run: docker compose run tube bash -c "python run_config.py; python run_etl.py" - name: Run integrated tests # Run the tests that require Spark and ElasticSearch