]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
kernel: Export sha1 as an env variable so shaman build URLs work wip-kernel-sha 1825/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 25 May 2021 19:54:35 +0000 (15:54 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 25 May 2021 20:21:58 +0000 (16:21 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
kernel/build/setup

index b3fe421a98284675796c91614031342f8025cd16..e698f596339908f3bb88e54d99a6ae3372e941f8 100644 (file)
@@ -84,5 +84,9 @@ cd "$WORKSPACE"
 # Clean the git repo
 git clean -fxd
 
+# Export the SHA1 so links work here: https://shaman.ceph.com/builds/kernel/
+# This gets sent to update_build_status which calls submit_build_status in build_utils.sh.
+export SHA1="${GIT_COMMIT}"
+
 # create build status in shaman
 create_build_status "started" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH