Bug 1430984 - Drive-by: Move debian package jobs defaults to kind.yml. r=dustin

--HG--
extra : rebase_source : 7a395a777f4221f0b1e1e393e1b34112f36f972c
This commit is contained in:
Mike Hommey 2018-01-11 07:24:11 +09:00
Родитель dc03a55695
Коммит 4c676f87cd
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -18,6 +18,9 @@ job-defaults:
worker:
max-run-time: 1800
run-on-projects: []
run:
dist: wheezy
snapshot: 20171210T214726Z
jobs:
deb7-python:

Просмотреть файл

@ -31,12 +31,12 @@ source_definition = {
run_schema = Schema({
Required('using'): 'debian-package',
# Debian distribution
Optional('dist'): basestring,
Required('dist'): basestring,
# Date of the snapshot (from snapshot.debian.org) to use, in the format
# YYYYMMDDTHHMMSSZ. The same date is used for the base docker-image name
# (only the YYYYMMDD part).
Optional('snapshot'): basestring,
Required('snapshot'): basestring,
# URL/SHA256 of a source file to build, which can either be a source
# control (.dsc), or a tarball.
@ -53,8 +53,6 @@ run_schema = Schema({
@run_job_using("docker-worker", "debian-package", schema=run_schema)
def docker_worker_debian_package(config, job, taskdesc):
run = job['run']
run.setdefault('dist', 'wheezy')
run.setdefault('snapshot', '20171210T214726Z')
worker = taskdesc['worker']
worker['artifacts'] = []