-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
34 lines (29 loc) · 880 Bytes
/
Justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
alias describe := help
alias init := build
alias setup := build
alias list := help
alias deploy-local := deploy
alias start := deploy
# lists available commands
help:
just --list
# onboarding workflow
onboard:
./infra-scripts/onboarding.sh
# build workflow
build:
./infra-scripts/get_spark_deps.sh
./infra-scripts/build_spark_docker.sh
./infra-scripts/build_notebook_docker.sh
# perform a health check for services at an environment
healthcheck env:
./infra-scripts/health_check.sh {{env}}
# deploys to a local environment, passes arguments to docker-compose
deploy *args:
docker rm -f $(docker ps -a -q) || true
just build
mkdir -p notebook-data-lake/src
mkdir -p notebook-data-lake/data
chmod -R 777 ./notebook-data-lake/src
chmod -R 777 ./notebook-data-lake/data
cd infra-data-lake/localhost && docker-compose up {{args}}