Commit Graph

12 Commits

Author SHA1 Message Date
Tobias Urdin 40700887a6 Add Puppet Litmus
Depends-On: https://review.opendev.org/#/c/740601/
Change-Id: I8a5b608735cffe1fc7ca5fcd51930cfbe8b3e0eb
2020-08-31 21:16:26 +02:00
Emilien Macchi f09e3b0fe9 Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance
Use common code in puppet-openstack_spec_helper in Rakefile and
spec_helper_acceptance.

Change-Id: I381d217d0c487123a2a3a106a52f7b9e67a877b0
2016-01-18 09:11:15 -05:00
Emilien Macchi 338e12e7e7 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I6fb1fcd2bf8138f40341a9b16feffe0ce2277cd0
2015-11-26 11:11:32 +01:00
Emilien Macchi 0ff37d42b0 release: prepare 7.0.0 (liberty)
This patch prepares this Puppet module to be released in 7.x series (Liberty)
with 7.0.0.

Change-Id: Iaceafcba74b388bce95ff86f917133f407398cf7
2015-11-25 11:12:53 +01:00
Colleen Murphy 6d6f0bf843 Fix git clone for locally running tests
Zuul-cloner's behavior is to clone the repository into a subdirectory
under a directory named for the repo namespace. Git's default behavior
is to just clone it directly into the present working directory. This
patch adds an argument to the git clone command to clone it into the
<namespace>/<repo name> directory, so that whether zuul-cloner or git
is used the repo ends up in the same directory relative to the PWD.

Change-Id: Ie5db369448f7fc0520bb559c134b2a56bb2b6743
2015-07-08 11:56:22 -07:00
Colleen Murphy f64c5c1a66 Correct `puppet module list` check in beaker
The final check during the prep stage, where `puppet module list` is
run so that its output can be used for debugging, should run on the
current host in the loop, not the first host in the array.

Change-Id: Ibe6601387ba5d34bf3be0bff2d1aec26d5e24ca7
2015-07-07 13:57:10 -07:00
Colleen Murphy 8d7fc04ed5 Use module install script for acceptance tests
This patch updates the spec_helper_acceptance.rb file to use the common
module install script and Puppetfile from the new
openstack/puppet-openstack-integration repo. This will allow us to take
advantage of Zuul's Depends-On feature so that we can test changes
across multiple related modules. This is based on idea 1 from this
brainstorming session[1].

This will probably be abstracted out into a separate function or
eventually a separate gem so that it can be more easily shared across
the OpenStack modules and the Infra modules.

[1] https://etherpad.openstack.org/p/puppet-git-dependencies

Change-Id: Id7e8efb196c4ae474c6b71e7145e042dcda58863
Co-Authored-By: James E. Blair <jeblair@hp.com>
Co-Authored-By: Spencer Krum <spencer.krum@hp.com>
2015-07-07 13:57:07 -07:00
Emilien Macchi 624d58dec6 Use beaker-puppet_install_helper to install puppet
When running with BEAKER_provision=no, the following happens:

In Trusty: beaker is running dpkg with '--force' option so even
if Puppet is already installed, the return code will be 0.
In CentOS: beaker is running 'rpm -ivh' the second time and since
the package is already here, the return code will be 1.

Using the new puppet install helper will abort installing puppet
if BEAKER_provision is no, so tests will continue as normal.

Change-Id: If77faa655f1831a7c9ad2c8d5c42ea712a4b651d
Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
2015-06-30 16:50:56 -04:00
Colleen Murphy b71b81b267 Update spec_helper_acceptance for project renames
Change-Id: I33539eba362c761a136879112fb99ab7290accbe
2015-06-12 17:36:18 -07:00
Emilien Macchi bee3621298 Bring Redhat support to acceptance tests
OpenStack Infra has jobs to run this on both Ubuntu Trusty and CentOS7.

* Add minitest to Gemfile (dependency to run beaker on centos - see
  http://projects.theforeman.org/issues/2650 for details)
* separate nodepool files to have trusty & centos7 support in OS infra
* spec: add case for repo configuration and support
  RH systems.
* rabbitmq: install module from source
* apt: pin the module
* don't try to install designate on centos (packaging not ready)

Change-Id: I687e6b274938d622860063cb1a2494f0e7f4635f
Closes-bug: #1444736
2015-05-14 13:18:35 -04:00
Emilien Macchi 3ea04aca8c Beaker: install APT repo with openstack_extras
Use openstack_extras module to manage Ubuntu Cloud Archive repository.

Change-Id: Idb70fc8a953f05d37e214ec229652eece6d6978c
2015-05-12 00:07:58 -04:00
Emilien Macchi d6e7965bc1 Beaker tests
Implement basic structure for beaker tests.

Change-Id: I8b5db1c81dd5816080617ea2c773574312b3d23d
Closes-bug: #1444736
2015-05-01 17:28:47 -04:00