Commit Graph

36 Commits

Author SHA1 Message Date
Clark Boylan c8c513a708 Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: Ibe5c1ef369f3316b601e8715c8e4a4dad5cb809e
2022-02-17 11:36:23 -08:00
Ian Wienand a0986f3658 Install backported debootstrap
This debootstrap in the openstack-ci-core ppa is fixed so that Debian
buster can be built.

See

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901977
 http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2019-04-03.log.html#t2019-04-03T21:25:50

Change-Id: Icb26b916ea21083777b05549a16c9b169c98b5aa
2019-05-17 20:23:00 +10:00
Ian Wienand 26ce91e1f0 Use full key for gpg key
We are still seeing gpg failures, suggesting this key insn't installed
correctly.  I found a suggestion that because of format changes in gpg
output, this might work better with a full key...

Change-Id: I05696e5d85e96e5f96de612a1572b132ed1e3869
2019-05-17 16:15:48 +10:00
OpenDev Sysadmins a7a2db0c4a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:26:04 +00:00
Ian Wienand 582b8815f9 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ic240a962374b2a7a0df9e069bb7f75bb331512f0
2019-03-24 20:35:37 +00:00
Clark Boylan 9ec928c2ec Vendor the vhd-util PPA's gpg key
We do this because the ubuntu keyservers haven't been super reliable
recently, but also because it makes this a bit more secure as we control
the entire pubkey material and avoid potential for id collisions.

Change-Id: I38988905a46d250857f8509394c2c3b7ae3c2707
2019-03-14 15:52:27 -07:00
Zuul bd2ab1b110 Merge "Update Gemfile for Zuulv3" 2018-07-21 14:54:24 +00:00
Colleen Murphy a9c7b245bf Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Depends-On: https://review.openstack.org/582518

Change-Id: Ie46d285aa0dfdd30617efd675d60a8fa04bf45e5
2018-07-13 14:43:39 +02:00
Colleen Murphy ecb045d9cf Don't install python-yaml package
PyYAML is already a dependency of diskimage-builder, so the distro
package doesn't need to be installed explicitly. If it is installed by
the distro, then on a system with pip 10 the DIB installation will fail.

Change-Id: Ibbd69930f8282fe9b7daef9808db3219a0f67ced
2018-07-13 14:16:15 +02:00
Colleen Murphy 506554cde3 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I19a88cf153d6e713fffff14fb2ec8300999e965c
2017-08-18 10:41:43 +02:00
Jenkins c343b4f12b Merge "Fix beaker on xenial" 2017-06-14 21:54:33 +00:00
Jenkins 572d35f51e Merge "Add bindep.txt file" 2017-06-13 20:31:39 +00:00
Colleen Murphy 74f3f05cb2 Fix beaker on xenial
Since the beaker jobs are being run on xenial, we need a special nodeset
for it, otherwise beaker gives an error:

 beaker-hostgenerator was not able to use this value as input.
 Exiting with an Error.

We also want to install puppet from the Ubuntu repos rather than from
puppetlabs, since puppetlabs doesn't support puppet 3 for Xenial. For
centos we can keep the install process the same.

Change-Id: Ifd2244ae9dd212b2475f9cd6adb994bc058a4769
Depends-On: I091865f0c1cb5edf67a5f021fcf5adce7d8dda54
Depends-On: I98dfc07c955e1fe90905b619d16129544c27e861
2017-06-10 14:11:20 +00:00
Dirk Mueller 3393404098 Add gnupg2 install for zypper as well
As of today zypper is explicitly using /usr/bin/gpg2 for signature
validation but this is typically not installed on an Ubuntu host
because it defaults to gnupg (1.x, which only provides /usr/bin/gpg).

This change is needed so that the zypper-minimal element has a
chance of working on a Xenial host.

Change-Id: If57b07dcf31b8eeb2a3a44442315dd1d70b3523d
2017-05-24 23:03:35 +02:00
Paul Belanger 89fc332703
Add zypper package but not for trusty
Since we want to start building opensuse-minimal images, we need to
install zypper. But trusty doesn't have this package, so don't install
it.

Change-Id: Ie1df66bddc39fb624f5e0a7a646dc4ff752b2a21
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-24 15:28:17 -04:00
Paul Belanger fd182a0b4b
Add bindep.txt file
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.

Change-Id: I091865f0c1cb5edf67a5f021fcf5adce7d8dda54
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-01 21:06:45 -04:00
Mikhail S Medvedev 0b1ddfe1e6 Make vhd-util optional
vhd-util is not always present in default system package repositories.
And even custom ppa might not provide the package for all distributions.
If vhd-util is not available and we do not care for building vhd images,
allow to opt-out from installing the dependency.

Change-Id: Icb027b52fdcb790f99e90821974582da0bf6caab
2016-12-14 10:38:10 -06:00
Spencer Krum 97cc1d5c2e Use new infra_spec_helper for gem dependencies
Change-Id: I33e61ca6ab734b824799f7dead59ffde6b25044c
2016-06-21 18:37:58 -07:00
Philip Marc Schwartz da28111dbd Upodate pip provider to use openstack_pip provider
Change-Id: Ie4615c94752326c220ab5a413d2ebc8d70091fe2
Signed-off-by: Philip Marc Schwartz <philip@progmad.com>
2016-06-16 08:54:32 -04:00
Spencer Krum f112689e57 Pin google-api-client; sanitize Gemfile
Change-Id: I36332d13fd4556b5d346f30d2117e1fd41f66957
2016-04-14 15:18:02 -07:00
Andrey Nikitin 9f676ae3a9 Order of the class parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: I1a46fea86c378127fd2f50af49758a8f2007381b
2016-03-21 11:25:44 +03:00
Ian Wienand 10173a9d92 Add a use_git flag
Add a use_git flag and git tree location to source diskimage-builder
from the latest git, rather than the latest pypi release.

Change-Id: I4478ec0e591e6bcf81e1117e39e5fdac4ebdf22d
2016-02-09 09:55:52 +11:00
Yolanda Robla 8a2b921345 Add lvm2 package to diskimage builder
This is needed for lvm element, to configure image volumes.

Change-Id: Iad8d86805ebf9058761b7d62e72d47c996af4c82
2015-12-17 19:15:01 +01:00
Glauco Oliveira 528e4ebccb Add acceptance tests for puppet-diskimage_builder.
Add acceptance tests for puppet-diskimage_builder module so that once
the module is applied we check if packages were installed.

Change-Id: I37a7e4ae9f1a380568c0aa4f09cef1dfb7c4aaa9
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
2015-10-02 09:30:31 -03:00
Glauco Oliveira 15d181f4b4 Fix apt issue.
During the testing, we noticed that apt::ppa was failing for two
reasons:
- it was being used without including the module
- it was not updating the package list after including the ppa.

We then included the apt module in the beginning and required an apt
update before installing the packages.

Change-Id: I13ed3711314154d2267e96add6f48dce3f3dfc84
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
2015-10-01 16:23:10 -03:00
Spencer Krum 82477215eb Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I3de50ee73d52e37b31e825ff22a94438562e2065
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:34:54 -07:00
Spencer Krum ed1230c80b Boilerplate beaker-rspec files
Change-Id: I14e7e4bf16c8da89748c0aecafc07a2a075d1550
2015-07-28 02:04:02 -07:00
Colleen Murphy 0215d3c26f Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix the
lint error caught by the puppet-lint-absolute_classname-check gem.

Change-Id: I5d6563f4b4ae764aba71fb5489c16d6e8602f232
2015-07-21 18:43:08 -07:00
Jeremy Stanley d14ede1bee Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I27d4a9f47adc7ab3aef0bef6346db64f959dbdd8
2015-05-14 21:42:59 +00:00
Joshua Hesketh ea4f3cd8fa Update metadata to be diskimage_builder
As per the project name.

Change-Id: Iba675e60bb81fde1be9151b6eda87cbaa19e7e22
2015-05-07 14:15:44 +10:00
Monty Taylor d5ed31b5bf Remove invalid ensure parameter from apt::ppa
Only turned up in puppet apply testing in the puppet-nodepool patch.

Change-Id: Idaac8b1e2ff3e3705bd50b76e48f5d12b743244c
2015-05-02 21:46:30 -04:00
Monty Taylor 4736bd18c0 Consume vhd-util from infra vhd-util PPA
Originally this was just in the mordred PPA, which isn't really a great
place for it. Consume from the documented Infra PPA.

Change-Id: I5a04c25e1eb40029ebc2bf70b535325b924efb1a
2015-04-17 12:13:47 -04:00
Monty Taylor 02601a2040 Fix .gitreview file
Change-Id: Ia24234b044fc010c1a02e551f0e83596fe37fda4
2015-04-17 12:13:23 -04:00
Monty Taylor 4303c5cd67 Fix metadata.json file
Change-Id: I5206d583073868ae780cb42455658a494edd9685
2015-04-17 12:13:19 -04:00
Monty Taylor 2b12ae8b3d Add vhd-util PPA 2015-03-25 17:28:20 -04:00
Monty Taylor d5d57ac9a3 Initial commit of module to install diskimage-builder 2015-03-25 10:17:02 -04:00