summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-03 07:40:31 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-03 07:40:31 +0100
commit5e5b7d8e65a2c71e6b925b53cc179cd3e8ba2478 (patch)
tree8b51f12caddb82a2ebdb5b5da573a0bb5fbbefd7 /bin
parentef684e08249f456ebe4410df7cf35470a24c7262 (diff)
downloadjenkins.debian.net-5e5b7d8e65a2c71e6b925b53cc179cd3e8ba2478.tar.xz
Revert "reproducible: start to populate the stats_builds table, to gather stats about all the builds"
This reverts commit 2a32c1c2affcddbb3b3bb65248d806775fb40363.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index b99c7ec6..7dfe1258 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -92,7 +92,6 @@ call_debbindiff() {
echo "${SRCPACKAGE} built successfully and reproducibly." | tee -a ${RBUILDLOG}
calculate_build_duration
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date, build_duration) VALUES ('${SRCPKGID}', '${VERSION}', 'reproducible', '$DATE', '$DURATION')"
- sqlite3 -init $INIT ${PACKAGES_DB} "INSERT INTO stats_builds (name, version, suite, architecture, status, build_date, build_duration) VALUES ('${SRCPACKAGE}', '${VERSION}', '${SUITE}', '${ARCH}', 'reproducible', '${DATE}', '${DURATION}')"
update_db_and_html
else
echo | tee -a ${RBUILDLOG}
@@ -117,7 +116,6 @@ call_debbindiff() {
fi
calculate_build_duration
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date, build_duration) VALUES ('${SRCPKGID}', '${VERSION}', 'unreproducible', '$DATE', '$DURATION')"
- sqlite3 -init $INIT ${PACKAGES_DB} "INSERT INTO stats_builds (name, version, suite, architecture, status, build_date, build_duration) VALUES ('${SRCPACKAGE}', '${VERSION}', '${SUITE}', '${ARCH}', 'unreproducible', '${DATE}', '${DURATION}')"
update_db_and_html
fi
}
@@ -266,7 +264,6 @@ else
echo "${SRCPACKAGE} failed to build from source."
calculate_build_duration
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date, build_duration) VALUES ('${SRCPKGID}', '${VERSION}', 'FTBFS', '$DATE', '$DURATION')"
- sqlite3 -init $INIT ${PACKAGES_DB} "INSERT INTO stats_builds (name, version, suite, architecture, status, build_date, build_duration) VALUES ('${SRCPACKAGE}', '${VERSION}', '${SUITE}', '${ARCH}', 'FTBFS', '${DATE}', '${DURATION}')"
update_db_and_html
fi
fi