Commit Graph

7 Commits

Author SHA1 Message Date
Emilien Macchi
5db75452a5 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: I93ba1d6bfc33fe7b7476cf149a110a90cb4dd135
2016-01-18 09:11:34 -05:00
Emilien Macchi
1dcf76f083 Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I7020099b45c3dc04cbfd1c93cd41fedc686a5f21
2015-11-26 11:46:22 +01:00
Emilien Macchi
2462480f91 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: I4e4db142633459ccd828ed3d1bdeb9661aa4dcaf
2015-11-26 09:31:33 +01:00
Gael Chamoulaud
12b0de0a22 Remove class_parameter_defaults puppet-lint check
Change-Id: I4b633c51990740d4615068fd457783034dd5faf6
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-11-12 12:51:52 +01:00
Emilien Macchi
045d929556 Try to use zuul-cloner to prepare fixtures
In OpenStack Infra, we would like to run Puppet unit tests that
sometimes depends on other Puppet OpenStack modules.
Example: a patch in puppet-openstacklib that needs to be tested in puppet-nova.

This patch modifies the Rakefile to:
* clean spec_prep and spec_clean Rake tasks
* use openstack/puppet-openstack-integration/install_modules_unit.sh script
  to clone modules.
* do not use .fixtures.yaml file to clone modules and rely on
  zuul-cloner or git.
* Add openstack/ in gitignore so we never commit the
  puppet-openstack-integration repository (can happen when spec_clean
  did not run but you want to submit the patch anyway)
* Allow to run a custom Puppetfile if PUPPETFILE env is exported. It
  will allow people to test the module with the dependencies they like,
  feature we had with .fixtures.yaml.

Also add 'r10k' to Gemfile.

That way, we will be able to use zuul dependencies and run tests accross
modules like we do with functional testing.

Change-Id: I4b72eef7fd4d4ee7b226a5014b7d180506161f69
2015-10-08 15:20:39 -07:00
Cody Herriges
7145694b74 Initial msync run for all Puppet OpenStack modules
This patch is the initial modulesync run, it impacts:

* gitignore: just a sync between projects
* gemfile:
  - update and allow to setup facter version and gem source
  - split beaker gems with a dedicated group
  - switch to rspec-puppet 2.2.0
* rakefile:
  - use the new syntax for lint configuration
  - add a acceptance target
* acceptance:
  - sync nodesets
* spec: added rspec coverage report

Change-Id: I1ed1e89127abb917c0a28d8d1e7d8beab05a71d9
2015-08-18 14:40:01 +02:00
Emilien Macchi
c01ac0bb4f First commit
Contains basic files:
- fixtures for spec tests
- .gitreview file to move in Stackforge
- Gemfile
- LICENSE (Apache 2.0)
- README
- Rakefile

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2014-05-18 01:38:51 -04:00