bodhi-pungi: add vagrant box creation

Since we are close to being able to do releases from the bodhi composes
let's create the vagrant boxes too so that we actually *can* do a
release.
This commit is contained in:
Dusty Mabe 2018-06-01 09:54:48 -04:00
parent d6a20b27eb
commit d961979aa1
No known key found for this signature in database
GPG key ID: 3302DBD73952E671

View file

@ -215,6 +215,29 @@ image_build = {
'subvariant': 'AtomicHost',
'failable': ['*'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-AtomicHost-Vagrant',
'kickstart': 'fedora-atomic-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'target': 'f[[ release.version_int ]]',
'arches': ['x86_64'],
'install_tree_from':
# For f29 the compose location is under /compose/branched/
[% if release.version_int == 29 %]
"https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version_int ]]/compose/Everything/$arch/os/",
[% else %]
"https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/[[ release.version_int ]]/latest-Fedora-[[ release.version_int ]]/compose/Everything/$arch/os/",
[% endif %]
'subvariant': 'AtomicHost',
'failable': ['*'],
},
'factory-parameters': {
'vagrant_sync_directory': '/home/vagrant/sync',
}
}
]
}