3 if test -z "$WORKSPACE" ; then
8 docker stop fedbox1 fedbox2 fedbox3
9 docker rm fedbox1 fedbox2 fedbox3
10 docker rm fedbox1-data fedbox2-data fedbox3-data
14 mkdir -p $WORKSPACE/tmp
16 virtualenv --python python3 venv3
19 cd $WORKSPACE/sdk/python
25 export PATH=$PATH:$WORKSPACE/tools/arvbox/bin
27 mkdir -p $WORKSPACE/tmp/arvbox
28 cd $WORKSPACE/sdk/python/tests/fed-migrate
29 cwltool arvbox-make-federation.cwl \
30 --arvbox_base $WORKSPACE/tmp/arvbox \
31 --branch $(git rev-parse HEAD) \
32 --arvbox_mode localdemo > fed.json
34 cwltool fed-migrate.cwl fed.json