Commit f37860d3 by Jesse Zoldak

Merge pull request #9220 from jzoldak/zoldak/circle-noprereq

No need to install prereqs twice on circleci.com
parents 24bca27b f8766891
...@@ -11,6 +11,10 @@ from .utils.envs import Env ...@@ -11,6 +11,10 @@ from .utils.envs import Env
PREREQS_MD5_DIR = os.getenv('PREREQ_CACHE_DIR', Env.REPO_ROOT / '.prereqs_cache') PREREQS_MD5_DIR = os.getenv('PREREQ_CACHE_DIR', Env.REPO_ROOT / '.prereqs_cache')
NPM_REGISTRY = "http://registry.npmjs.org/" NPM_REGISTRY = "http://registry.npmjs.org/"
# If you make any changes to this list you also need to make
# a corresponding change to circle.yml, which is how the python
# prerequisites are installed for builds on circleci.com
PYTHON_REQ_FILES = [ PYTHON_REQ_FILES = [
'requirements/edx/pre.txt', 'requirements/edx/pre.txt',
'requirements/edx/github.txt', 'requirements/edx/github.txt',
......
...@@ -25,6 +25,10 @@ set -e ...@@ -25,6 +25,10 @@ set -e
# piped command, or a zero if they all succeed. # piped command, or a zero if they all succeed.
set -o pipefail set -o pipefail
# There is no need to install the prereqs, as this was already
# just done via the dependencies override section of circle.yml.
export NO_PREREQ_INSTALL='true'
EXIT=0 EXIT=0
case $CIRCLE_NODE_INDEX in case $CIRCLE_NODE_INDEX in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment