#!/bin/bash # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: AGPL-3.0 exec 2>&1 set -ex -o pipefail . /usr/local/lib/arvbox/common.sh . /usr/local/lib/arvbox/go-setup.sh flock /var/lib/gopath/gopath.lock go install "git.arvados.org/arvados.git/services/arv-git-httpd" install $GOPATH/bin/arv-git-httpd /usr/local/bin if test "$1" = "--only-deps" ; then exit fi export ARVADOS_API_HOST=$localip:${services[controller-ssl]} export ARVADOS_API_HOST_INSECURE=1 export PATH="$PATH:$ARVADOS_CONTAINER_PATH/git/bin" cd ~git exec /usr/local/bin/arv-git-httpd