[Git][qa/jenkins.debian.net][master] reproducible Debian: generate html indexes every hour but only every 12h for released suites
Holger Levsen (@holger)
gitlab at salsa.debian.org
Tue Mar 26 18:36:36 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
3fc00760 by Holger Levsen at 2024-03-26T19:36:14+01:00
reproducible Debian: generate html indexes every hour but only every 12h for released suites
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
4 changed files:
- bin/rblib/const.py
- bin/reproducible.ini
- bin/reproducible_html_indexes.py
- job-cfg/reproducible.yaml
Changes:
=====================================
bin/rblib/const.py
=====================================
@@ -19,6 +19,7 @@ from .confparse import (
# tested suites
SUITES = conf_distro['suites'].split()
+RELEASED_SUITES = tuple(conf_distro.get('released_suites', '').split())
ARCHIVED_SUITES = tuple(conf_distro.get('archived_suites', '').split())
# tested architectures
ARCHS = conf_distro['archs'].split()
=====================================
bin/reproducible.ini
=====================================
@@ -25,6 +25,7 @@ buildinfo = buildinfo
distro_root = debian
landing_page = reproducible.html
suites = unstable trixie bookworm bullseye experimental
+released_suites = bookworm bullseye buster stretch
archived_suites = buster stretch
archs = amd64 arm64 armhf i386
defaultsuite = unstable
=====================================
bin/reproducible_html_indexes.py
=====================================
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2015-2018 Mattia Rizzolo <mattia at maprerii.org>
-# Copyright © 2015-2016 Holger Levsen <holger at layer-acht.org>
+# Copyright © 2015-2024 Holger Levsen <holger at layer-acht.org>
# Based on reproducible_html_indexes.sh © 2014 Holger Levsen <holger at layer-acht.org>
# Licensed under GPL-2
#
@@ -22,7 +22,7 @@ from rblib.utils import print_critical_message
from rblib.html import tab, create_main_navigation, write_html_page
from rblib.const import (
DISTRO, DISTRO_BASE, DISTRO_URI, DISTRO_URL,
- SUITES, ARCHS,
+ SUITES, RELEASED_SUITES, ARCHS,
defaultsuite, defaultarch,
filtered_issues, filter_html,
)
@@ -841,6 +841,8 @@ def build_page(page, suite=None, arch=None):
if __name__ == '__main__':
for arch in ARCHS:
for suite in SUITES:
+ if suite in RELEASED_SUITES and datetime.now().hour % 12 != 0:
+ continue
for page in pages.keys():
if 'global' not in pages[page] or not pages[page]['global']:
build_page(page, suite, arch)
=====================================
job-cfg/reproducible.yaml
=====================================
@@ -516,7 +516,7 @@
my_shellext: ".py"
- 'html_indexes':
my_description: 'Generate HTML results (indexes) for reproducible builds.'
- my_timed: '15 */2 * * *'
+ my_timed: 'H * * * *'
my_shellext: ".py"
- 'html_dd_list':
my_description: 'Generate HTML results (dd-list) for reproducible builds.'
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3fc0076048d85e22f19a67855d323779de56c81b
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3fc0076048d85e22f19a67855d323779de56c81b
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/20240326/68a28029/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list