[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian rebuilder 'thing': be more verbose
Holger Levsen
gitlab at salsa.debian.org
Wed Apr 1 01:38:40 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
a969a350 by Holger Levsen at 2020-04-01T02:35:22+02:00
reproducible Debian rebuilder 'thing': be more verbose
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
343c9883 by Holger Levsen at 2020-04-01T02:38:32+02:00
reproducible Debian rebuilder 'thing': refactoring
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_rebuilder_prototype.sh
Changes:
=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -26,6 +26,10 @@ common_init "$@"
. /srv/jenkins/bin/reproducible_common.sh
set -e
+output_echo(){
+ echo "$(date -u) - $1"
+ echo
+}
# main
# basically describe the steps to use debrebuild today...
PKG='bash'
@@ -33,27 +37,29 @@ FILE='bash_5.0-6_amd64.buildinfo'
URLPATH='https://buildinfos.debian.net/buildinfo-pool/b/bash'
# use gpg here to workaround #955050 in devscripts: debrebuild: please accepted signed .buildinfo files
+output_echo "downloading $URLPATH/$FILE"
curl $URLPATH/$FILE | gpg > $FILE || true # we cannot validate the signature and we don't care
echo
-echo this is $URLPATH/$FILE with gpg signature stripped:
+output_echo "$URLPATH/$FILE with gpg signature stripped:"
cat $FILE
# prepare rebuild command
DEBREBUILD=$(mktemp -t debrebuild.XXXXXXXX)
-echo now trying to rebuild $PKG...
+output_echo "trying to debrebuild $PKG..."
# workaround until devscripts 2.20.3 is released
/srv/jenkins/bin/rb-debrebuild $FILE | tee $DEBREBUILD
-# workaround #955123 in devscripts: debrebuild: please provide --sbuild-output-only option
-# - using tail
-# workaround #955304 in devscripts: debrebuild: suggested sbuild command should use --no-run-lintian
-# - using sed
-SBUILD=$(tail -1 $DEBREBUILD | sed 's# sbuild # sbuild --no-run-lintian #')
-
# actually run sbuild
+# - workaround #955123 in devscripts: debrebuild: please provide --sbuild-output-only option
+# - using tail
+# - workaround #955304 in devscripts: debrebuild: suggested sbuild command should use --no-run-lintian
+# - using sed
+output_echo "trying to debrebuild $PKG..."
+SBUILD=$(tail -1 $DEBREBUILD | sed 's# sbuild # sbuild --no-run-lintian #')
eval $SBUILD
# to be continued...
# the end
rm -f $FILE $DEBREBUILD
+output_echo "the end."
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/73491c822c4676e2265ecd95b507ffb86790b938...343c9883f21107b53308babb7c5ff31fadb313cd
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/73491c822c4676e2265ecd95b507ffb86790b938...343c9883f21107b53308babb7c5ff31fadb313cd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200401/e726387d/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list