From 4a081410ba06d2342e8d3b1e5fe1cc4f2f83b5a6 Mon Sep 17 00:00:00 2001 From: Kerem Goksel Date: Mon, 1 Apr 2019 13:00:05 -0700 Subject: [PATCH] Bump version to 0.3.2 --- docker/service/start-service.sh | 5 +++-- frontend/src/constants.js | 2 +- setup.py | 2 +- worker/setup.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/service/start-service.sh b/docker/service/start-service.sh index 7346ece41..9bca910e3 100755 --- a/docker/service/start-service.sh +++ b/docker/service/start-service.sh @@ -111,10 +111,10 @@ mkdir -p $CODALAB_BUNDLE_STORE mkdir -p $CODALAB_MYSQL_MOUNT docker-compose up -d mysql -docker-compose run --rm --entrypoint='' rest-server bash -c "/opt/codalab-worksheets/venv/bin/pip install /opt/codalab-worksheets && data/bin/wait-for-it.sh mysql:3306 -- opt/codalab-worksheets/codalab/bin/cl config server/engine_url mysql://$CODALAB_MYSQL_USER:$CODALAB_MYSQL_PWD@mysql:3306/codalab_bundles && /opt/codalab-worksheets/codalab/bin/cl config cli/default_address http://rest-server:$CODALAB_REST_PORT && /opt/codalab-worksheets/codalab/bin/cl config server/rest_host 0.0.0.0" +docker-compose run --rm --entrypoint='' rest-server bash -c "/opt/codalab-worksheets/venv/bin/pip install /opt/codalab-worksheets/worker && /opt/codalab-worksheets/venv/bin/pip install /opt/codalab-worksheets && data/bin/wait-for-it.sh mysql:3306 -- opt/codalab-worksheets/codalab/bin/cl config server/engine_url mysql://$CODALAB_MYSQL_USER:$CODALAB_MYSQL_PWD@mysql:3306/codalab_bundles && /opt/codalab-worksheets/codalab/bin/cl config cli/default_address http://rest-server:$CODALAB_REST_PORT && /opt/codalab-worksheets/codalab/bin/cl config server/rest_host 0.0.0.0" if [ "$INIT" = "1" ]; then - docker-compose run --rm --entrypoint='' rest-server bash -c "/opt/codalab-worksheets/venv/bin/pip install /opt/codalab-worksheets && data/bin/wait-for-it.sh mysql:3306 -- opt/codalab-worksheets/venv/bin/python /opt/codalab-worksheets/scripts/create-root-user.py $CODALAB_ROOT_PWD" + docker-compose run --rm --entrypoint='' rest-server bash -c "/opt/codalab-worksheets/venv/bin/pip install /opt/codalab-worksheets/worker && /opt/codalab-worksheets/venv/bin/pip install /opt/codalab-worksheets && data/bin/wait-for-it.sh mysql:3306 -- opt/codalab-worksheets/venv/bin/python /opt/codalab-worksheets/scripts/create-root-user.py $CODALAB_ROOT_PWD" fi docker-compose up -d --no-recreate rest-server @@ -134,6 +134,7 @@ fi if [ "$TEST" = "1" ]; then cd ../.. + pip install -e ./worker/ pip install -e ./ cl config server/engine_url mysql://$CODALAB_MYSQL_USER:$CODALAB_MYSQL_PWD@127.0.0.1:$CODALAB_MYSQL_PORT/codalab_bundles python test-cli.py --instance http://localhost:$CODALAB_REST_PORT all diff --git a/frontend/src/constants.js b/frontend/src/constants.js index e1c7899a6..a7df0d9bb 100644 --- a/frontend/src/constants.js +++ b/frontend/src/constants.js @@ -1 +1 @@ -export const CODALAB_VERSION = '0.3.1'; +export const CODALAB_VERSION = '0.3.2'; diff --git a/setup.py b/setup.py index bd0c22b27..c79bf097b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ import setuptools # should match codalab/common.py#CODALAB_VERSION -CODALAB_VERSION = "0.3.1" +CODALAB_VERSION = "0.3.2" if int(setuptools.__version__.split('.')[0]) < 25: print( diff --git a/worker/setup.py b/worker/setup.py index 3c9c6a988..af364dc87 100644 --- a/worker/setup.py +++ b/worker/setup.py @@ -17,7 +17,7 @@ def get_requirements(*requirements_file_paths): setup( name='codalabworker', - version='0.3.1', + version='0.3.2', description='Worker for CodaLab, a platform for reproducible computation', long_description='To use your own hardware in CodaLab Worksheets, visit https://github.com/codalab/codalab-worksheets/wiki/Execution#running-your-own-worker. You can find the code at https://github.com/codalab/codalab-worksheets.', url='https://github.com/codalab/codalab-worksheets',