File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 22set -e
33
44PARENT_DIR=$( dirname " $( readlink -f " $0 " ) " )
5+ mkdir -p $HOME
56
67if [[ -z " $CI " ]]; then
7- export workspace=/workspace
8- option=" -e"
8+ # local dev
9+ git config --global --add safe.directory /workspace
10+ editable_install_flag=" --editable"
911else
10- export workspace=/__w/data-engineering/data-engineering
12+ # running in github CI
13+ git config --global --add safe.directory /__w/data-engineering/data-engineering
14+ # in case the devcontainer is being used
15+ git config --global --add safe.directory /home/vscode/workspace
1116fi
1217
13- mkdir -p $HOME
14- git config --global --add safe.directory $workspace
15-
16- python3 -m pip install $option . -c ./admin/run_environment/constraints.txt --no-deps
18+ python3 -m pip install $editable_install_flag . --constraint ./admin/run_environment/constraints.txt --no-deps
1719
1820# configure minio for use with S3 buckets in Digital Ocean
1921mc alias set spaces " $AWS_S3_ENDPOINT " " $AWS_ACCESS_KEY_ID " " $AWS_SECRET_ACCESS_KEY " --api S3v4
You can’t perform that action at this time.
0 commit comments