Skip to content
Snippets Groups Projects
Commit e8a79bbd authored by Kenneth Reitz's avatar Kenneth Reitz Committed by GitHub
Browse files

fix for heroku ci (#392)

* attempted fix

* added a comment

* fixes

* improved changelog
parent e621ff4d
No related branches found
No related tags found
No related merge requests found
# Python Buildpack Changelog # Python Buildpack Changelog
## 103
Bug fixes and improvements.
- Fix for Pipenv.
- Fix for Heroku CI.
- Improve handling of WEB_CONCURRENCY when using multiple buildpacks.
- Adjust environment variables set during the build to more closely match those in the dyno environment (DYNO is now available, STACK is not).
- Restore the build cache prior to running bin/pre_compile.
## 102 ## 102
Buildpack code cleanup. Buildpack code cleanup.
......
...@@ -192,8 +192,12 @@ sub-env $BIN_DIR/steps/nltk ...@@ -192,8 +192,12 @@ sub-env $BIN_DIR/steps/nltk
mtime "nltk.download.time" "${start}" mtime "nltk.download.time" "${start}"
# Support for pip install -e. # Support for pip install -e.
rm -fr $BUILD_DIR/.heroku/src # In CI, $BUILD_DIR is /app.
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src if [[ ! "$BUILD_DIR" == "/app" ]]; then
rm -fr $BUILD_DIR/.heroku/src
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
fi
# Django collectstatic support. # Django collectstatic support.
let start=$(nowms) let start=$(nowms)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment