From 29ee679861352f4f8e2866c97fbc7536de0323c6 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Mon, 13 Feb 2017 10:16:10 -0600 Subject: [PATCH] add TIER version string to Dockerfile and send it in TIER beacon (sendtierbeacon.sh) --- Dockerfile | 2 ++ files/bin/sendtierbeacon.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ed57b61..862c4ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,9 @@ ARG registry=docker.io ARG maintainer=tier ARG imagename=shibboleth_idp ARG version=3.3.0 +ARG tierversion=1702 ENV VERSION=$version +ENV TIERVERSION=$tierversion ENV IMAGENAME=$imagename ENV MAINTAINER=$maintainer diff --git a/files/bin/sendtierbeacon.sh b/files/bin/sendtierbeacon.sh index 583ea30..8c01205 100644 --- a/files/bin/sendtierbeacon.sh +++ b/files/bin/sendtierbeacon.sh @@ -1,7 +1,7 @@ #!/bin/sh LOGHOST="cerif.org" LOGPORT="5000" -LOGTEXT="TIERBEACON/TIER/1.0#IM=$IMAGENAME#IV=$VERSION#MT=$MAINTAINER#" +LOGTEXT="TIERBEACON/TIER/1.0#IM=$IMAGENAME#IV=$VERSION-$TIERVERSION#MT=$MAINTAINER#" if [ -z "$TIER_BEACON_OPT_OUT" ]; then `logger -n $LOGHOST -P $LOGPORT -t TIERBEACON $LOGTEXT` fi \ No newline at end of file