summaryrefslogtreecommitdiffstats
path: root/job-cfg/rebootstrap.yaml.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-14 21:06:26 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-14 21:06:26 +0100
commit455be80b935135f164aebb143806849c9905215e (patch)
tree346cb6484c0575dae91933cfc30fc26d1bdc7b6f /job-cfg/rebootstrap.yaml.py
parent5b71180cb97a9a79b40b3fd025dfe17a48712848 (diff)
downloadjenkins.debian.net-455be80b935135f164aebb143806849c9905215e.tar.xz
rebootstrap: s#debbindiff#diffoscope#g everywhere
Diffstat (limited to 'job-cfg/rebootstrap.yaml.py')
-rwxr-xr-xjob-cfg/rebootstrap.yaml.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/job-cfg/rebootstrap.yaml.py b/job-cfg/rebootstrap.yaml.py
index 93ec3b0d..05e8390d 100755
--- a/job-cfg/rebootstrap.yaml.py
+++ b/job-cfg/rebootstrap.yaml.py
@@ -34,7 +34,7 @@ release_architectures = """
architectures += mono_architectures
gcc_versions = ("5",)
-debbindiff_gcc_versions = ("5",)
+diffoscope_gcc_versions = ("5",)
print("""
- defaults:
@@ -95,14 +95,14 @@ for arch in sorted(architectures):
for supported in ["", "_supported"]:
if (nobiarch or arch.startswith("musl-linux-") or arch.startswith("hurd-") or arch.startswith("kfreebsd-")) and supported:
continue
- for debbindiff in ["", "_debbindiff"]:
- if debbindiff and (arch not in release_architectures or gccver not in debbindiff_gcc_versions):
+ for diffoscope in ["", "_diffoscope"]:
+ if diffoscope and (arch not in release_architectures or gccver not in diffoscope_gcc_versions):
continue
print("""
- job-template:
defaults: rebootstrap
- name: '{name}_%(arch)s_gcc%(gccshortver)s%(nobiarch)s%(supported)s%(debbindiff)s'""" %
- dict(arch=arch, gccshortver=gccver.replace(".", ""), nobiarch=nobiarch, supported=supported, debbindiff=debbindiff))
+ name: '{name}_%(arch)s_gcc%(gccshortver)s%(nobiarch)s%(supported)s%(diffoscope)s'""" %
+ dict(arch=arch, gccshortver=gccver.replace(".", ""), nobiarch=nobiarch, supported=supported, diffoscope=diffoscope))
print("""
- project:
@@ -117,25 +117,25 @@ for arch in sorted(architectures):
for supported in (False, True):
if (nobiarch or arch.startswith("musl-linux-") or arch.startswith("hurd-") or arch.startswith("kfreebsd-")) and supported:
continue
- for debbindiff in (False, True):
- if debbindiff and (arch not in release_architectures or gccver not in debbindiff_gcc_versions):
+ for diffoscope in (False, True):
+ if diffoscope and (arch not in release_architectures or gccver not in diffoscope_gcc_versions):
continue
print(
""" - '{name}_%(suffix)s':
my_arch: '%(arch)s'
- my_params: 'GCC_VER=%(gccver)s ENABLE_MULTILIB=%(multilib_value)s ENABLE_MULTIARCH_GCC=%(multiarch_gcc_value)s ENABLE_DEBBINDIFF=%(debbindiff_value)s'
- my_description: 'Verify bootstrappability of Debian using gcc-%(gccver)s%(nobiarch_comment)s for %(arch)s%(supported_comment)s%(debbindiff_comment)s'
+ my_params: 'GCC_VER=%(gccver)s ENABLE_MULTILIB=%(multilib_value)s ENABLE_MULTIARCH_GCC=%(multiarch_gcc_value)s ENABLE_DEBBINDIFF=%(diffoscope_value)s'
+ my_description: 'Verify bootstrappability of Debian using gcc-%(gccver)s%(nobiarch_comment)s for %(arch)s%(supported_comment)s%(diffoscope_comment)s'
my_branchname: 'jenkins_%(suffix)s'
my_node: '%(node)s'
my_wrapper: '/srv/jenkins/bin/jenkins_master_wrapper.sh'""" %
dict(arch=arch,
- suffix=arch + "_gcc" + gccver.replace(".", "") + ("_nobiarch" if nobiarch else "") + ("_supported" if supported else "") + ("_debbindiff" if debbindiff else ""),
+ suffix=arch + "_gcc" + gccver.replace(".", "") + ("_nobiarch" if nobiarch else "") + ("_supported" if supported else "") + ("_diffoscope" if diffoscope else ""),
gccver=gccver,
multilib_value="no" if nobiarch else "yes",
nobiarch_comment=" without multilib" if nobiarch else "",
multiarch_gcc_value="no" if supported else "yes",
supported_comment=" using the supported method" if supported else "",
- debbindiff_value="yes" if debbindiff else "no",
- debbindiff_comment=" showing debbindiffs" if debbindiff else "",
+ diffoscope_value="yes" if diffoscope else "no",
+ diffoscope_comment=" showing diffoscopes" if diffoscope else "",
node="profitbricks4"))