Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAntoine committed Jan 19, 2024
1 parent d55e815 commit 1794717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ docker-push-pipeline:
docker-build-forklift:
docker build -f "infra/docker/Dockerfile.Forklift" . -t forklift:$(VERSION)
docker-run-data-warehouse:
git clone --depth=1 --branch=master https://github.com/MTES-MCT/monitorfish.git ./data_warehouse/tests/test_data/external/monitorfish || echo "Monitorfish repository already present - skipping git clone" && \
git clone --depth=1 --branch=$(shell git rev-parse --abbrev-ref HEAD) https://github.com/MTES-MCT/monitorfish.git ./data_warehouse/tests/test_data/external/monitorfish || echo "Monitorfish repository already present - skipping git clone" && \
export DATA_WAREHOUSE_PASSWORD=password && \
export DATA_WAREHOUSE_USER=clickhouse_user && \
docker compose -f ./infra/data_warehouse/docker-compose.yml -f ./infra/data_warehouse/docker-compose-test-data.yml up -d --remove-orphans
Expand Down Expand Up @@ -118,7 +118,7 @@ test-pipeline:

# DATA WAREHOUSE commands
dev-run-data-warehouse:
git clone --depth=1 --branch=master https://github.com/MTES-MCT/monitorfish.git ./data_warehouse/tests/test_data/external/monitorfish || echo "Monitorfish repository already present - skipping git clone" && \
git clone --depth=1 --branch=$(shell git rev-parse --abbrev-ref HEAD) https://github.com/MTES-MCT/monitorfish.git ./data_warehouse/tests/test_data/external/monitorfish || echo "Monitorfish repository already present - skipping git clone" && \
export DATA_WAREHOUSE_PASSWORD=password && \
export DATA_WAREHOUSE_USER=clickhouse_user && \
docker compose -f ./infra/data_warehouse/docker-compose.yml -f ./infra/data_warehouse/docker-compose-test-data.yml up -d --remove-orphans
Expand Down

0 comments on commit 1794717

Please sign in to comment.