14 Commits

Author SHA1 Message Date
Tobias Urdin
d0fc1951d9 Add Puppet Litmus
Change-Id: I2f30a6e9c7d1b4508f888c6b524fdf11b1434fed
2020-09-17 00:36:37 +02:00
Emilien Macchi
8540b679cb 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: I823332d6cef03f1c87abf87290707f37d546d4aa
2016-01-18 09:11:28 -05:00
Emilien Macchi
8bb871e421 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: Id2da89a8cecb53fb8efbf9bf9f3ac72feef87595
2015-11-26 11:45:22 +01:00
Emilien Macchi
f7ae97b628 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: Icb662a66d2fec5488e0894e90763df0a327ce87d
2015-11-25 18:31:18 +01:00
Colleen Murphy
cb2d487fb9 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: I2a9e21af2192f48a9dcc58c5df57b0dadecef386
2015-07-08 11:56:45 -07:00
Colleen Murphy
2507aa3485 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: I5d4b3be59823dcf58e157cb7ac54797b6322f1eb
Co-Authored-By: James E. Blair <jeblair@hp.com>
Co-Authored-By: Spencer Krum <spencer.krum@hp.com>
2015-07-07 14:06:49 -07:00
Colleen Murphy
e94fa305e7 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: I5384fb84c67c10a38cb57850dbf50746a785312c
2015-07-07 14:06:05 -07:00
Emilien Macchi
4a9ee5a19f 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: Ifeb4c3e218b045a462e2969090fbd09a786d6fd1
Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
2015-06-30 16:57:23 -04:00
Colleen Murphy
4e465246f3 Update spec_helper_acceptance for project renames
Change-Id: Ibc23c78e18310971c3a54d03bacf8e258327fff2
2015-06-12 17:36:19 -07:00
Martin Mágr
1506d64c59 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
* basic_nova_spec: add case for repo configuration and support
  RH systems.

Change-Id: I745fa76b2b36b0dbada83260fedffc4ee60f9c03
Closes-bug: #1444736
2015-05-14 15:05:33 +02:00
Martin Mágr
e8aeca9273 Beaker: install APT repo with openstack_extras
Use openstack_extras module to manage Ubuntu Cloud Archive repository.

Change-Id: I254f7ed88f2d3988dce17e5cfeeeed01bacf32d4
2015-05-14 15:03:54 +02:00
Emilien Macchi
3cba5197cc Update Beaker tests
Update beaker tests to cover more services & be more consistent with
keystone & openstacklib.

Change-Id: Id995ec7cd141aaeaea464781e3680ba4dcd94b42
Closes-bug: #1444736
2015-05-04 17:25:43 -04:00
Spencer Krum
9b7e920bfc Fix beaker tests
- This patch drops the support of CentOS-6.x on Kilo.

Change-Id: I30b764a52ccc57fe5f48ec16ccdc9a968a1a6f38
2015-03-20 19:33:44 +01:00
Spencer Krum
14c16142e0 Initial rspec-beaker testing scaffolding
This allows basic beaker testing to be performed inside
the openstack testing framework.

Change-Id: Iecd247d35c9041ff865544b07811d728c27cf919
2014-11-26 16:27:52 -08:00