RETIRED, Chef Cookbook - OpenStack Integration Testing
Go to file
Lance Albertson 4c2082764b Improve ChefSpec test speed by enabling caching
This updates all references of let(:chef_run) to cached(:chef_run) to
speed up tests. By doing this, we have to create a new cached(:chef_run)
block whenever we need to adjust node attributes for testing.

Speed was improved from 1 minute 14.88 to 21.64 seconds

Change-Id: Iff9c0f56d17e8f2924b4126144ed116081278842
2020-01-06 12:31:26 -08:00
.delivery Add delivery config 2018-04-11 22:30:38 -07:00
attributes Update tempest installation 2019-11-22 13:08:13 +00:00
recipes Update tempest installation 2019-11-22 13:08:13 +00:00
spec Improve ChefSpec test speed by enabling caching 2020-01-06 12:31:26 -08:00
templates/default Revert from packaged tempest to git, update image refs 2018-02-08 22:24:07 -08:00
.gitignore Initial kilo updates 2015-02-27 14:32:39 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:28:21 +00:00
.rubocop.yml starting rocky development patch 2018-08-03 06:27:17 -07:00
.rubocop_todo.yml starting rocky development patch 2018-08-03 06:27:17 -07:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:49:56 -07:00
Berksfile Replace git.openstack.org with opendev.org 2019-11-22 09:30:51 +00:00
LICENSE integration-test refactor for Pike and Chef 13 2018-01-11 20:45:56 +00:00
README.rst Updates for rocky 2019-12-06 11:22:54 -08:00
Rakefile Updates for rocky 2019-12-06 11:22:54 -08:00
TESTING.md Sync stackforge/cookbook* to openstack/cookbook* for integration-test cookbook 2015-06-16 11:59:47 +08:00
metadata.rb Updates for rocky 2019-12-06 11:22:54 -08:00

README.rst

OpenStack Chef Cookbook - integration-test

image

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.

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.

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.