build hudson using /vendor
This commit is contained in:
Родитель
1c3ebdf48e
Коммит
591cbef8df
|
@ -3,6 +3,7 @@
|
|||
|
||||
cd $WORKSPACE
|
||||
VENV=$WORKSPACE/venv
|
||||
VENDOR=$WORKSPACE/vendor
|
||||
|
||||
echo "Starting build on executor $EXECUTOR_NUMBER..." `date`
|
||||
|
||||
|
@ -24,13 +25,23 @@ fi
|
|||
|
||||
source $VENV/bin/activate
|
||||
|
||||
pip install -q -r requirements/dev.txt -r requirements/compiled.txt
|
||||
pip install -q -r requirements/compiled.txt
|
||||
|
||||
# Create paths we want for addons
|
||||
if [ ! -d "/tmp/warez" ]; then
|
||||
mkdir /tmp/warez
|
||||
fi
|
||||
|
||||
if [ ! -d "$VENDOR" ]; then
|
||||
echo "No vendor lib? Cloning..."
|
||||
git clone --recursive git://github.com/jbalogh/zamboni-lib.git $VENDOR
|
||||
fi
|
||||
|
||||
# Update the vendor lib.
|
||||
echo "Updating vendor..."
|
||||
pushd $VENDOR && git pull && git submodule update --init;
|
||||
popd
|
||||
|
||||
cat > settings_local.py <<SETTINGS
|
||||
from settings import *
|
||||
ROOT_URLCONF = '%s.urls' % ROOT_PACKAGE
|
||||
|
|
Загрузка…
Ссылка в новой задаче