Commit Graph

12 Commits

Author SHA1 Message Date
Tobias Urdin d544216d04 Add Puppet Litmus
Depends-On: https://review.opendev.org/#/c/740601/
Change-Id: I2dbbe7e99180ef1da610b534f2adaa891332b620
2020-08-31 21:24:19 +02:00
Emilien Macchi 211a5047ba 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: I9df009e02991c5a738d8c86fb02d9ac2d486111c
2016-01-18 09:11:19 -05:00
Emilien Macchi 828e73a5ae Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I8c080e07e76c205211a8509b67bff289afd2a7bb
2015-11-26 11:14:32 +01:00
Emilien Macchi 9567116722 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: Id9c6733690001290e94c5d8e04a96c149c151468
2015-11-25 11:52:51 +01:00
Colleen Murphy 8e742b8d09 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: Id973085376a546940b8ee650da80912a6b136bbc
2015-07-08 11:56:31 -07:00
Colleen Murphy ecbc15f527 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: I887ee2d495a6ac8f02ce3d0ba5b6d524e0a0f899
Co-Authored-By: James E. Blair <jeblair@hp.com>
Co-Authored-By: Spencer Krum <spencer.krum@hp.com>
2015-07-07 13:59:19 -07:00
Colleen Murphy cb952b7cfb 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: I16b0c03f38637603f7fdbd8541d7304ef52d7014
2015-07-07 13:45:04 -07:00
Emilien Macchi 9d0bd501db 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: I0a1fb7df6bcc7deb611f37e12ecf8bc2f7a8c9dc
Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
2015-06-30 16:53:17 -04:00
Colleen Murphy 2e2686b7db Update spec_helper_acceptance for project renames
Change-Id: Ib43a95c9df0a295d12c0e4a4a083ca99b3d0a4e6
2015-06-12 17:36:18 -07:00
Emilien Macchi 01004884a1 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_keystone_spec: add case for repo configuration and support
  RH systems.
* rabbitmq: install module from source
* apt: pin the module
* heat encryption key parameter: use a valid length for the key

Change-Id: If9820a65f1310fe85ff43b32468b746268c04ea0
Closes-bug: #1444736
2015-05-14 13:20:13 -04:00
Emilien Macchi 1750f36a06 Beaker: install APT repo with openstack_extras
Use openstack_extras module to manage Ubuntu Cloud Archive repository.

Change-Id: I1372f046972ec188c87cbb51ad02eb734c580cb1
2015-05-14 09:33:42 -04:00
Emilien Macchi 2eaa030fe8 Beaker tests
Implement basic structure for beaker tests.

Change-Id: I2824af6868222b1c31b2031194a956308ec1b4b6
Closes-bug: #1444736
2015-05-01 17:36:34 -04:00