[arvados] updated: 2.6.0-242-g3bcfed8f2
git repository hosting
git at public.arvados.org
Fri Jun 2 20:38:34 UTC 2023
Summary of changes:
tools/salt-install/installer.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 3bcfed8f2e06d8e957afe8a342dee3c5b935734c (commit)
from 07c01cca03555cc5311e2cba717803d4455cc657 (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 3bcfed8f2e06d8e957afe8a342dee3c5b935734c
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Fri Jun 2 16:37:53 2023 -0400
20548: Emit the git commit in the deploy log.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/tools/salt-install/installer.sh b/tools/salt-install/installer.sh
index db5bffcd6..c86e9b02c 100755
--- a/tools/salt-install/installer.sh
+++ b/tools/salt-install/installer.sh
@@ -120,8 +120,8 @@ deploynode() {
SUDO=sudo
fi
$SUDO ./provision.sh --config ${CONFIG_FILE} ${ROLES} 2>&1 | tee $logfile
- else
- $SSH $DEPLOY_USER@$NODE "cd ${GITTARGET} && sudo ./provision.sh --config ${CONFIG_FILE} ${ROLES}" 2>&1 | tee $logfile
+ else
+ $SSH $DEPLOY_USER@$NODE "cd ${GITTARGET} && git log -n1 HEAD && sudo ./provision.sh --config ${CONFIG_FILE} ${ROLES}" 2>&1 | tee $logfile
cleanup $NODE
fi
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list