[ARVADOS] updated: 1.3.0-2775-g85a331451
Git user
git at public.arvados.org
Tue Jul 21 17:02:28 UTC 2020
Summary of changes:
tools/arvbox/bin/arvbox | 6 ++++--
tools/arvbox/lib/arvbox/docker/Dockerfile.demo | 10 ++++------
2 files changed, 8 insertions(+), 8 deletions(-)
via 85a331451818fcaf0241638056edd8de96e110bc (commit)
from 339da6b41fe014db93bd123cc9285cbeefe16936 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 85a331451818fcaf0241638056edd8de96e110bc
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Jul 21 13:02:10 2020 -0400
16353: Fix arvbox build to set arvados_version
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/tools/arvbox/bin/arvbox b/tools/arvbox/bin/arvbox
index 59aca1e5b..f313d9b73 100755
--- a/tools/arvbox/bin/arvbox
+++ b/tools/arvbox/bin/arvbox
@@ -378,15 +378,17 @@ build() {
FORCE=-f
fi
GITHEAD=$(cd $ARVBOX_DOCKER && git log --format=%H -n1 HEAD)
+ set -x
docker build --build-arg=arvados_version=$GITHEAD $NO_CACHE -t arvados/arvbox-base:$GITHEAD -f "$ARVBOX_DOCKER/Dockerfile.base" "$ARVBOX_DOCKER"
docker tag $FORCE arvados/arvbox-base:$GITHEAD arvados/arvbox-base:latest
if test "$1" = localdemo -o "$1" = publicdemo ; then
- docker build $NO_CACHE -t arvados/arvbox-demo:$GITHEAD -f "$ARVBOX_DOCKER/Dockerfile.demo" "$ARVBOX_DOCKER"
+ docker build --build-arg=arvados_version=$GITHEAD $NO_CACHE -t arvados/arvbox-demo:$GITHEAD -f "$ARVBOX_DOCKER/Dockerfile.demo" "$ARVBOX_DOCKER"
docker tag $FORCE arvados/arvbox-demo:$GITHEAD arvados/arvbox-demo:latest
else
- docker build $NO_CACHE -t arvados/arvbox-dev:$GITHEAD -f "$ARVBOX_DOCKER/Dockerfile.dev" "$ARVBOX_DOCKER"
+ docker build --build-arg=arvados_version=$GITHEAD $NO_CACHE -t arvados/arvbox-dev:$GITHEAD -f "$ARVBOX_DOCKER/Dockerfile.dev" "$ARVBOX_DOCKER"
docker tag $FORCE arvados/arvbox-dev:$GITHEAD arvados/arvbox-dev:latest
fi
+ set +x
}
check() {
diff --git a/tools/arvbox/lib/arvbox/docker/Dockerfile.demo b/tools/arvbox/lib/arvbox/docker/Dockerfile.demo
index 34d3845ea..853ebff55 100644
--- a/tools/arvbox/lib/arvbox/docker/Dockerfile.demo
+++ b/tools/arvbox/lib/arvbox/docker/Dockerfile.demo
@@ -8,19 +8,17 @@ ARG sso_version=master
ARG composer_version=arvados-fork
ARG workbench2_version=master
+RUN echo arvados_version is git commit $arvados_version
+RUN test -n "$arvados_version"
RUN cd /usr/src && \
- git clone --no-checkout https://github.com/arvados/arvados.git && \
+ git clone --no-checkout https://git.arvados.org/arvados.git && \
git -C arvados checkout ${arvados_version} && \
- git -C arvados pull && \
git clone --no-checkout https://github.com/arvados/sso-devise-omniauth-provider.git sso && \
git -C sso checkout ${sso_version} && \
- git -C sso pull && \
git clone --no-checkout https://github.com/arvados/composer.git && \
git -C composer checkout ${composer_version} && \
- git -C composer pull && \
- git clone --no-checkout https://github.com/arvados/arvados-workbench2.git workbench2 && \
+ git clone --no-checkout https://git.arvados.org/arvados-workbench2.git workbench2 && \
git -C workbench2 checkout ${workbench2_version} && \
- git -C workbench2 pull && \
chown -R 1000:1000 /usr/src
ADD service/ /var/lib/arvbox/service
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list