[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: drop most of the temp. code
Holger Levsen
gitlab at salsa.debian.org
Mon Sep 24 15:17:15 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
03aaaf9e by Holger Levsen at 2018-09-24T14:17:02Z
reproducible Archlinux: drop most of the temp. code
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_archlinux_scheduler.sh
Changes:
=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -75,25 +75,11 @@ update_archlinux_repositories() {
#
cd $BASE/archlinux/$REPO/$PKG
if [ -f pkg.build_duration ] && [ -f pkg.state ] && [ -f pkg.version ] ; then
- BUILD_DURATION="$(cat pkg.build_duration)"
- BUILD_DATE="$(find . -name pkg.build_duration -printf '%TY-%Tm-%Td %TH:%TM\n')"
- BUILD_STATE=$(cat pkg.state)
- BUILD_VERSION="$(cat pkg.version)"
SUITE="archlinux_$REPO"
- PKG_ID=$(query_db "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';")
- if [ -z "${PKG_ID}" ] ; then
- echo "${PKG_ID} empty, ignoring $REPO/$PKG"
- continue
- fi
- QUERY="INSERT into results (package_id, version, status, build_date, build_duration, node1, node2, job) VALUES
- ('${PKG_ID}', '$BUILD_VERSION', '$BUILD_STATE', '$BUILD_DATE', '$BUILD_DURATION', 'pb3 or pb4', 'pb3 or pb4', 'unknown');"
- echo "$QUERY"
- query_db "$QUERY"
rm pkg.build_duration pkg.state pkg.version
elif [ -f pkg.build_duration ] || [ -f pkg.state ] || [ -f pkg.version ] ; then
echo "$REPO/$PKG: one or more of pkg.build_duration, pkg.state and pkg.version does not exist, ignoring."
fi
- cd -
fi
done
done
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/03aaaf9ea5fc85f7ee29f28854a96ea8f0107ea8
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/03aaaf9ea5fc85f7ee29f28854a96ea8f0107ea8
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/20180924/e400baa6/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list