Temporarily queue noble armhf tests with all-proposed=1

This is needed for the time_t transition.
This commit is contained in:
Julian Andres Klode 2024-03-18 17:25:37 +01:00
parent 08a27a5456
commit bc3a6226ff

View File

@ -1131,6 +1131,10 @@ class AutopkgtestPolicy(BasePolicy):
qname = 'debci-huge-%s-%s' % (self.options.series, arch)
else:
qname = 'debci-%s-%s' % (self.options.series, arch)
# FIXME: Remove after the time_t transition
if (arch == "armhf" and self.options.series == "noble" and
datetime.utcnow() < datetime.date(2024, 4, 4)):
params["all-proposed"] = "1"
params['submit-time'] = datetime.strftime(datetime.utcnow(), '%Y-%m-%d %H:%M:%S%z')
if self.amqp_channel: