Skip to content

Commit

Permalink
Bump version to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bkgoksel committed Apr 2, 2019
1 parent 603fa8d commit 4a08141
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docker/service/start-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/constants.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CODALAB_VERSION = '0.3.1';
export const CODALAB_VERSION = '0.3.2';
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion worker/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4a08141

Please sign in to comment.