With the release of puppetlabs_spec_helper 1.2.0, it started pulling in
a gem that requires ruby >= 2.2.0. Since CI currently runs on ruby 2.1,
we need to pin to an older release of puppetlabs_spec_helper.
Depends-On: Iec7ce821de1f03dc8730ebc689b441f6e053f143
Change-Id: Ib86204b91f62e96c4bf21cd668324f847718fe2a
Closes-Bug: #1616190
* Update cinder-vmware conf for cinder multi backend
* Fix the spec framework for this module so the
spec can be actually used
* Disable non-working specs in the vmware modules
somebody should fix them later.
* Add spec for vmware::cinder::vmdk
It tests only this templates and
should be finished later too.
* Enable spec for this module in the Fuel CI
Change-Id: Id3b8cdb10acd0d7a63a085c03795169c5f304c13
Closes-Bug: #1569874
Closes-Bug: #1496009
This patch does the following:
1) Adds puppet_spec library to a list of fetched
specs to leverage some of additional matchers
2) Makes spec_helper load puppet core spec directory
which may also contain things we would want to reuse
3) Introduces new matcher for transitive dependencies
that allows one to not search for exact dependencies
with `that_comes_before` matcher, but to just check for
resources dependencies
Change-Id: Iad3b6f31a4c5be1ec306d9b4e7eedbd2cf720e95
Related-bug: #1533279
This change updates the fixtures files for the modules within
fuel-library to use the relative path to the upstream modules used by
fuel-library. With this change we are also adding an initial prep task
that is used by CI to pull down all the modules first and only one time
to reduce the amount of repeated calls to the upstream git repositories.
Included in this change is also an update to exclude all the upstream
modules from the spec and lint tasks as those are maintained in the
upstream modules and should not be done when testing fuel-library.
This change also adds documentation to the README.md on how to run the
tests from the root of fuel-library.
Change-Id: I9cde21b94a8367fd45cf046af48d7618076a385c
Related-Bug: #1535832
The new bundler has an issue that is causing psych to be double loaded
which causes syntax and unit jobs to fail. This change explictly defines
it as a work around.
Change-Id: I7d457c76f70b3a1e62369c57c6418b0af7d2247d
Closes-Bug: #1525958
mime-types 3.0 requires mime-types-data gem and ruby>=2.0, which
breaks gate-fuel-library-puppet-lint job.
We can pin mime-types gem to 2.6.2 as a workaround, until
gate-fuel-library-puppet-lint is switched to ruby 2.0 environment
Change-Id: I4ee0514a72821bd6a27a5a0f068107c134e0dc60
Closes-Bug: #1518957
This change creates a top level Rakefile that can be used to run all of
the lint, syntax and spec tasks for the modules and files in this
repository.
This is needed to integrate with the openstack-infra puppet syntax and
unit test jobs.
This change disables the unit tests for l23network until they can be
fixed as part of bug 1507742.
Change-Id: I1f637f2f2fd91ce01ba2a92f6ea45499def5333d
Related-Bug: #1507751
Related-Bug: #1507742