projects
/
ceph-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c858bd6
)
kernel: Export sha1 as an env variable so shaman build URLs work
wip-kernel-sha
1825/head
author
David Galloway
<dgallowa@redhat.com>
Tue, 25 May 2021 19:54:35 +0000
(15:54 -0400)
committer
David 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
patch
|
blob
|
history
diff --git
a/kernel/build/setup
b/kernel/build/setup
index b3fe421a98284675796c91614031342f8025cd16..e698f596339908f3bb88e54d99a6ae3372e941f8 100644
(file)
--- a/
kernel/build/setup
+++ b/
kernel/build/setup
@@
-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