Updates for rocky
- Replace git.openstack.org with opendev.org - Update some documentation - Move README.md to README.rst for better rendering - Drop obsolete bootstrap.sh script Change-Id: I8fa06acd27a9705cd4eada9214c1fd2d9fed1c1c
This commit is contained in:
parent
73be54e7f9
commit
8ed82d41ad
68
README.md
68
README.md
|
@ -1,68 +0,0 @@
|
||||||
Team and repository tags
|
|
||||||
========================
|
|
||||||
|
|
||||||
[![Team and repository tags](https://governance.openstack.org/tc/badges/cookbook-openstack-integration-test.svg)](http://governance.openstack.org/reference/tags/index.html)
|
|
||||||
|
|
||||||
<!-- Change things from this point on -->
|
|
||||||
|
|
||||||
![Chef OpenStack Logo](https://www.openstack.org/themes/openstack/images/project-mascots/Chef%20OpenStack/OpenStack_Project_Chef_horizontal.png)
|
|
||||||
|
|
||||||
Description
|
|
||||||
===========
|
|
||||||
|
|
||||||
This cookbook installs the OpenStack Integration Test Suite **Tempest** as part of an OpenStack reference deployment Chef for OpenStack.
|
|
||||||
|
|
||||||
Requirements
|
|
||||||
============
|
|
||||||
|
|
||||||
- Chef 12 or higher
|
|
||||||
- chefdk 0.9.0 or higher for testing
|
|
||||||
|
|
||||||
Cookbooks
|
|
||||||
---------
|
|
||||||
|
|
||||||
The following cookbooks are dependencies:
|
|
||||||
|
|
||||||
* 'openstack-common', '>= 14.0.0'
|
|
||||||
* 'openstack-identity', '>= 14.0.0'
|
|
||||||
* 'openstack-image', '>= 14.0.0'
|
|
||||||
* 'openstack-compute', '>= 14.0.0'
|
|
||||||
* 'openstack-block-storage', '>= 14.0.0'
|
|
||||||
|
|
||||||
Usage
|
|
||||||
=====
|
|
||||||
|
|
||||||
setup
|
|
||||||
-----
|
|
||||||
* Install and configure Tempest
|
|
||||||
|
|
||||||
Attributes
|
|
||||||
==========
|
|
||||||
|
|
||||||
Please refer to the [attributes/default.rb](attributes/default.rb) for attribute details.
|
|
||||||
|
|
||||||
Testing
|
|
||||||
=======
|
|
||||||
|
|
||||||
Please refer to the [TESTING.md](TESTING.md) for instructions for testing the cookbook.
|
|
||||||
|
|
||||||
License and Author
|
|
||||||
==================
|
|
||||||
|
|
||||||
| | |
|
|
||||||
|:---------------------|:---------------------------------------------------|
|
|
||||||
| **Author** | Matt Thompson (<matt.thompson@rackspace.co.uk>) |
|
|
||||||
| | |
|
|
||||||
| **Copyright** | Copyright (c) 2014, Rackspace US, Inc. |
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
|
@ -0,0 +1,97 @@
|
||||||
|
OpenStack Chef Cookbook - integration-test
|
||||||
|
==========================================
|
||||||
|
|
||||||
|
.. image:: https://governance.openstack.org/badges/cookbook-openstack-integration-test.svg
|
||||||
|
:target: https://governance.openstack.org/reference/tags/index.html
|
||||||
|
|
||||||
|
Description
|
||||||
|
===========
|
||||||
|
|
||||||
|
This cookbook installs the OpenStack Integration Test Suite **Tempest**
|
||||||
|
as part of an OpenStack reference deployment Chef for OpenStack. The
|
||||||
|
`OpenStack chef-repo`_ contains documentation for using this cookbook in
|
||||||
|
the context of a full OpenStack deployment. Tempest is currently
|
||||||
|
installed from git and pip.
|
||||||
|
|
||||||
|
.. _OpenStack chef-repo: https://opendev.org/openstack/openstack-chef
|
||||||
|
|
||||||
|
https://docs.openstack.org/tempest/latest/
|
||||||
|
|
||||||
|
Requirements
|
||||||
|
============
|
||||||
|
|
||||||
|
- Chef 14 or higher
|
||||||
|
- ChefDK 3.2.30 for testing (also includes Berkshelf for cookbook
|
||||||
|
dependency resolution)
|
||||||
|
|
||||||
|
Cookbooks
|
||||||
|
---------
|
||||||
|
|
||||||
|
The following cookbooks are dependencies:
|
||||||
|
|
||||||
|
- 'openstack-block-storage', '>= 18.0.0'
|
||||||
|
- 'openstackclient'
|
||||||
|
- 'openstack-common', '>= 18.0.0'
|
||||||
|
- 'openstack-compute', '>= 18.0.0'
|
||||||
|
- 'openstack-identity', '>= 18.0.0'
|
||||||
|
- 'openstack-image', '>= 18.0.0'
|
||||||
|
|
||||||
|
Recipes
|
||||||
|
=======
|
||||||
|
|
||||||
|
create_network
|
||||||
|
--------------
|
||||||
|
|
||||||
|
- Create a test network and subnet for use in kitchen tests
|
||||||
|
|
||||||
|
run_tempest
|
||||||
|
-----------
|
||||||
|
|
||||||
|
- Run tempest for use in kitchen tests
|
||||||
|
|
||||||
|
setup
|
||||||
|
-----
|
||||||
|
|
||||||
|
- Install and configure Tempest
|
||||||
|
|
||||||
|
Attributes
|
||||||
|
==========
|
||||||
|
|
||||||
|
Please refer to the ``attributes/default.rb`` for attribute details.
|
||||||
|
|
||||||
|
Testing
|
||||||
|
=======
|
||||||
|
|
||||||
|
Please refer to the `TESTING.md`_ for instructions for testing the
|
||||||
|
cookbook.
|
||||||
|
|
||||||
|
.. _TESTING.md: cookbook-openstack-integration-test/src/branch/master/TESTING.md
|
||||||
|
|
||||||
|
License and Author
|
||||||
|
==================
|
||||||
|
|
||||||
|
+-----------------+-------------------------------------------------+
|
||||||
|
| **Author** | Matt Thompson (matt.thompson@rackspace.co.uk) |
|
||||||
|
+-----------------+-------------------------------------------------+
|
||||||
|
| **Author** | Lance Albertson (lance.osuosl.org) |
|
||||||
|
+-----------------+-------------------------------------------------+
|
||||||
|
|
||||||
|
+-----------------+--------------------------------------------------+
|
||||||
|
| **Copyright** | Copyright (c) 2014, Rackspace US, Inc. |
|
||||||
|
+-----------------+--------------------------------------------------+
|
||||||
|
| **Copyright** | Copyright (c) 2017-2019, Oregon State University |
|
||||||
|
+-----------------+--------------------------------------------------+
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
not use this file except in compliance with the License. You may obtain
|
||||||
|
a copy of the License at
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
2
Rakefile
2
Rakefile
|
@ -33,7 +33,7 @@ end
|
||||||
desc 'All-in-One Neutron build Infra using Common task'
|
desc 'All-in-One Neutron build Infra using Common task'
|
||||||
task :integration do
|
task :integration do
|
||||||
# Use the common integration task
|
# Use the common integration task
|
||||||
sh %(wget -nv -t 3 -O Rakefile-Common https://raw.githubusercontent.com/openstack/cookbook-openstack-common/master/Rakefile)
|
sh %(wget -nv -t 3 -O Rakefile-Common https://opendev.org/openstack/cookbook-openstack-common/raw/branch/master/Rakefile)
|
||||||
load './Rakefile-Common'
|
load './Rakefile-Common'
|
||||||
Rake::Task['common_integration'].invoke
|
Rake::Task['common_integration'].invoke
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/bash -x
|
|
||||||
## 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 openstack/cookbook-openstack-common for installing common dependencies.
|
|
||||||
|
|
||||||
curl https://raw.githubusercontent.com/openstack/cookbook-openstack-common/master/bootstrap.sh \
|
|
||||||
--retry 3 \
|
|
||||||
--silent \
|
|
||||||
--show-error \
|
|
||||||
| /bin/bash -x
|
|
17
metadata.rb
17
metadata.rb
|
@ -3,22 +3,23 @@ maintainer 'openstack-chef'
|
||||||
maintainer_email 'openstack-discuss@lists.openstack.org'
|
maintainer_email 'openstack-discuss@lists.openstack.org'
|
||||||
license 'Apache-2.0'
|
license 'Apache-2.0'
|
||||||
description 'Installs and configures the Tempest Integration Test Suite'
|
description 'Installs and configures the Tempest Integration Test Suite'
|
||||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
|
||||||
version '18.0.0'
|
version '18.0.0'
|
||||||
|
|
||||||
|
recipe 'openstack-integration-test::create_network', 'Create a test network and subnet for use in kitchen tests'
|
||||||
|
recipe 'openstack-integration-test::run_tempest', 'Run tempest for use in kitchen tests'
|
||||||
recipe 'openstack-integration-test::setup', 'Installs and configures Tempest'
|
recipe 'openstack-integration-test::setup', 'Installs and configures Tempest'
|
||||||
|
|
||||||
%w(ubuntu redhat centos).each do |os|
|
%w(ubuntu redhat centos).each do |os|
|
||||||
supports os
|
supports os
|
||||||
end
|
end
|
||||||
|
|
||||||
depends 'openstack-common', '>= 18.0.0'
|
|
||||||
depends 'openstack-identity', '>= 18.0.0'
|
|
||||||
depends 'openstack-image', '>= 18.0.0'
|
|
||||||
depends 'openstack-compute', '>= 18.0.0'
|
|
||||||
depends 'openstack-block-storage', '>= 18.0.0'
|
depends 'openstack-block-storage', '>= 18.0.0'
|
||||||
depends 'openstackclient'
|
depends 'openstackclient'
|
||||||
|
depends 'openstack-common', '>= 18.0.0'
|
||||||
|
depends 'openstack-compute', '>= 18.0.0'
|
||||||
|
depends 'openstack-identity', '>= 18.0.0'
|
||||||
|
depends 'openstack-image', '>= 18.0.0'
|
||||||
|
|
||||||
issues_url 'https://launchpad.net/openstack-chef' if respond_to?(:issues_url)
|
issues_url 'https://launchpad.net/openstack-chef'
|
||||||
source_url 'https://github.com/openstack/cookbook-openstack-integration-test' if respond_to?(:source_url)
|
source_url 'https://opendev.org/openstack/cookbook-openstack-integration-test'
|
||||||
chef_version '>= 12.5' if respond_to?(:chef_version)
|
chef_version '>= 14.0'
|
||||||
|
|
Loading…
Reference in New Issue