Merge pull request #1107 from coolo/build_sle_images

SUSE: wants to build test dvds on 'local' workers
This commit is contained in:
Stephan Kulow 2017-08-29 08:55:52 +02:00 committed by GitHub
commit 7357c5f7a1
2 changed files with 5 additions and 1 deletions

View File

@ -64,7 +64,7 @@ DEFAULT = {
'staging-group': 'sle-staging-managers', # '%(project.lower)s-staging',
'staging-archs': 'i586 x86_64',
'staging-dvd-archs': '',
'nocleanup-packages': 'Test-DVD-x86_64 sles-release',
'nocleanup-packages': '000product.local kernel-firmware',
'rings': 'SUSE:%(project)s:Rings',
'nonfree': None,
'rebuild': None,

View File

@ -212,6 +212,10 @@ class FreezeCommand(object):
r = ET.SubElement(root, 'repository', {'name': 'images', 'linkedbuild': 'all', 'rebuild': 'direct'})
ET.SubElement(r, 'path', {'project': prj, 'repository': 'standard'})
if prj.startswith('SUSE:'):
a = ET.SubElement(r, 'arch')
a.text = 'local'
a = ET.SubElement(r, 'arch')
a.text = 'x86_64'