Skip to content

Commit

Permalink
Remove existing venv check from build phase
Browse files Browse the repository at this point in the history
The entire code base is removed for the new checkout each time and Python dependencies may be updated anyway.
  • Loading branch information
cdubz committed Feb 12, 2020
1 parent 48d376d commit 4c256e8
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .sandstorm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ git checkout -f v"${VERSION}"
git apply /opt/app/sandstorm.patch

# Set up virtual environment.
VENV=/opt/app/babybuddy/.venv
if [ ! -d $VENV ] ; then
cd /opt/app/babybuddy
export PIPENV_VENV_IN_PROJECT=1
pipenv --three --bare install
else
echo "$VENV exists, moving on"
fi
cd /opt/app/babybuddy
export PIPENV_VENV_IN_PROJECT=1
pipenv --three --bare install

0 comments on commit 4c256e8

Please sign in to comment.