Commit Graph

10 Commits

Author SHA1 Message Date
Tobias Urdin 980151bd83 Use openstack_spec_helper from zuul checkout
Change-Id: I02901b055357341c19ac2681de42f279b1102158
2020-08-30 22:52:52 +02:00
ZhongShengping 637b508e99 Move to opendev
Change-Id: I5a874582b740e108bb4c13944ec2ba78a9ac6a87
2019-04-21 14:44:48 +08:00
ZhongShengping a9d5183773 Load puppet-openstack_spec_helper locally during tests
Change-Id: I104bc8a3531e62fd1a349a82bdcc763b45e62c45
Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
2018-02-12 10:53:34 +08:00
Alex Schultz f610aa0645 Update tox configuration
Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: I94729a90f410758952ae21889349e9087cc337e1
2017-05-17 08:20:57 -06:00
Emilien Macchi 19d3a202f6 Gemfile: rely on puppet-openstack_spec_helper for dependencies
Rely on puppet-openstack_spec_helper gemspec file for managing Gems
dependencies.

Change-Id: I3ef996df5aa86fb7a9f3ee15d874cf73726a60f0
2016-03-31 15:21:27 -04:00
Emilien Macchi 394e895dfa drop mock dependency
mock is not used anywhere in the module, let's drop it.
This patch will help to hit this bug:
https://launchpad.net/bugs/1492636

Change-Id: I403ed868acb27e4a43ddf0f9e879840ad4cef909
2016-01-22 09:29:14 -05:00
Denis Egorenko f060303b10 Use openstack spec helper for spec defaults
* Add puppet-openstack_spec_helper to Gemfile
* Use puppet-openstack_spec_helper/defaults in spec_helper
* Delete spec/defaults.rb, useless now

Change-Id: I9944bdd90be0e41d3446e2b47a28219084814a52
2016-01-14 20:59:41 +03:00
Alex Schultz 47fbf63e4e Update to pull in rspec-puppet-facts
Change-Id: I2aa650d59d00ef7c4e155e1581e84de0cb86a396
2016-01-06 21:27:58 -07:00
Emilien Macchi a49f187941 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: I4f5b3df5c00bca02af401fd458a20aaa07ee560d
2015-10-08 14:43:41 -07:00
Emilien Macchi 18e92427eb puppet-barbican: Initial commit
This is the initial commit for puppet-barbican.
It has been automatically generated using cookiecutter[1] and msync[2]

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: I52b10cb17701bba20ad64d3f4cc15950c1038c54
2015-10-02 08:50:49 -04:00