2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
6 if test -z "$WORKSPACE" ; then
11 docker stop fedbox1 fedbox2 fedbox3
12 docker rm fedbox1 fedbox2 fedbox3
13 docker rm fedbox1-data fedbox2-data fedbox3-data
17 mkdir -p "$WORKSPACE/tmp/arvbox"
18 python3 -m venv "$WORKSPACE/tmp/venv3"
19 "$WORKSPACE/tmp/venv3/bin/pip" install -e "$WORKSPACE/sdk/python" "$WORKSPACE/sdk/cwl"
20 alias cwltool='"$WORKSPACE/tmp/venv3/bin/cwltool"'
22 export PATH=$PATH:$WORKSPACE/tools/arvbox/bin
24 cd $WORKSPACE/sdk/python/tests/fed-migrate
25 cwltool arvbox-make-federation.cwl \
26 --arvbox_base $WORKSPACE/tmp/arvbox \
27 --branch $(git rev-parse HEAD) \
28 --arvbox_mode localdemo > fed.json
30 cwltool fed-migrate.cwl fed.json