Sync stackforge/cookbook* to openstack/cookbook* for integration-test cookbook

Change-Id: Iba9ca72160f26ecc0c071a42daa9f26617f895d6
Partial-Bug: #1465116
This commit is contained in:
wenchma 2015-06-16 11:53:39 +08:00
parent 24a67d6e5d
commit b42a8d44dd
3 changed files with 10 additions and 10 deletions

View File

@ -3,16 +3,16 @@ source 'https://supermarket.chef.io'
metadata metadata
cookbook "openstack-bare-metal", cookbook "openstack-bare-metal",
github: "stackforge/cookbook-openstack-bare-metal" github: "openstack/cookbook-openstack-bare-metal"
cookbook "openstack-common", cookbook "openstack-common",
github: "stackforge/cookbook-openstack-common" github: "openstack/cookbook-openstack-common"
cookbook "openstack-identity", cookbook "openstack-identity",
github: "stackforge/cookbook-openstack-identity" github: "openstack/cookbook-openstack-identity"
cookbook "openstack-image", cookbook "openstack-image",
github: "stackforge/cookbook-openstack-image" github: "openstack/cookbook-openstack-image"
cookbook "openstack-compute", cookbook "openstack-compute",
github: "stackforge/cookbook-openstack-compute" github: "openstack/cookbook-openstack-compute"
cookbook "openstack-network", cookbook "openstack-network",
github: "stackforge/cookbook-openstack-network" github: "openstack/cookbook-openstack-network"
cookbook "openstack-block-storage", cookbook "openstack-block-storage",
github: "stackforge/cookbook-openstack-block-storage" github: "openstack/cookbook-openstack-block-storage"

View File

@ -1,6 +1,6 @@
# Testing the Cookbook # # Testing the Cookbook #
This cookbook uses [chefdk](https://downloads.chef.io/chef-dk/) and [berkshelf](http://berkshelf.com/) to isolate dependencies. Make sure you have chefdk and the header files for `gecode` installed before continuing. Make sure that you're using gecode version 3. More info [here](https://github.com/opscode/dep-selector-libgecode/tree/0bad63fea305ede624c58506423ced697dd2545e#using-a-system-gecode-instead). For more detailed information on what needs to be installed, you can have a quick look into the bootstrap.sh file in this repository, which does install all the needed things to get going on ubuntu trusty. The tests defined in the Rakefile include lint, style and unit. For integration testing please refere to the [openstack-chef-repo](https://github.com/stackforge/openstack-chef-repo). This cookbook uses [chefdk](https://downloads.chef.io/chef-dk/) and [berkshelf](http://berkshelf.com/) to isolate dependencies. Make sure you have chefdk and the header files for `gecode` installed before continuing. Make sure that you're using gecode version 3. More info [here](https://github.com/opscode/dep-selector-libgecode/tree/0bad63fea305ede624c58506423ced697dd2545e#using-a-system-gecode-instead). For more detailed information on what needs to be installed, you can have a quick look into the bootstrap.sh file in this repository, which does install all the needed things to get going on ubuntu trusty. The tests defined in the Rakefile include lint, style and unit. For integration testing please refere to the [openstack-chef-repo](https://github.com/openstack/openstack-chef-repo).
We have four test suites which you can run either, individually (there are three rake tasks): We have four test suites which you can run either, individually (there are three rake tasks):

View File

@ -1,8 +1,8 @@
#!/bin/bash -x #!/bin/bash -x
## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake'. ## This script is for installing all the needed packages on trusty to run the chef tests with 'chef exec rake'.
## It relies on the common bootstrap.sh from stackforge/cookbook-openstack-common for installing common dependencies. ## It relies on the common bootstrap.sh from openstack/cookbook-openstack-common for installing common dependencies.
curl https://raw.githubusercontent.com/stackforge/cookbook-openstack-common/master/bootstrap.sh \ curl https://raw.githubusercontent.com/openstack/cookbook-openstack-common/master/bootstrap.sh \
--retry 3 \ --retry 3 \
--silent \ --silent \
--show-error \ --show-error \