Skip to content

Commit

Permalink
fix docker-compose install (#283)
Browse files Browse the repository at this point in the history
* fix docker compose command
  • Loading branch information
thanh-nguyen-dang authored Aug 16, 2024
1 parent a692665 commit 2c6b3ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/image_build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2c6b3ac

Please sign in to comment.