16955: a number of fixes to make the federation migration tests pass
[arvados.git] / tools / arvbox / lib / arvbox / docker / keep-setup.sh
1 #!/bin/bash
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 exec 2>&1
7 sleep 2
8 set -eux -o pipefail
9
10 . /usr/local/lib/arvbox/common.sh
11 . /usr/local/lib/arvbox/go-setup.sh
12
13 flock /var/lib/gopath/gopath.lock go install "git.arvados.org/arvados.git/services/keepstore"
14 install $GOPATH/bin/keepstore /usr/local/bin
15
16 if test "$1" = "--only-deps" ; then
17     exit
18 fi
19
20 mkdir -p $ARVADOS_CONTAINER_PATH/$1
21
22 exec /usr/local/bin/keepstore