Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

docker-integration-test (6) Versions 0.1.0

Tests chef cookbook using docker for integration tests.

Policyfile
Berkshelf
Knife
cookbook 'docker-integration-test', '= 0.1.0', :supermarket
cookbook 'docker-integration-test', '= 0.1.0'
knife supermarket install docker-integration-test
knife supermarket download docker-integration-test
README
Dependencies
Changelog
Quality 100%

Cookbook - docker-integration-test

Chef cookbook
Travis
Gemnasium

Configuration

  • OS X El Capitan version 10.11.4
  • Docker version 1.11.0, build 4dc5990 (Mac app 1.11.0-beta9)
  • Ruby 2.3.1 (via rbenv)

Setup

Install gem dependencies (first run only):

$ gem install bundler # if not already installed
$ bundle

Update cookbook dependencies (first run only):

$ berks
Resolving cookbook dependencies...
Fetching 'docker-integration-test' from source at .
Using docker-integration-test (0.1.0) from source at .

Ensure kitchen is able to create the container (first run only):

$ bundle exec kitchen create
-----> Starting Kitchen (v1.7.3)
-----> Creating ...
       0.0.0.0:32781
       [SSH] Established
       Finished creating  (0m4.35s).
-----> Kitchen is finished. (0m4.71s)

Ensure kitchen is able to converge the cookbook (first run only):

$ bundle exec kitchen converge
-----> Starting Kitchen (v1.7.3)
-----> Converging ...
$$$$$$ Running legacy converge for 'Docker' Driver
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 4.3.2...
       Removing non-cookbook files before transfer
       Preparing solo.rb
-----> Chef Omnibus installation detected (install only if missing)
       Transferring files to 
       Starting Chef Client, version 12.9.38
       [2016-05-01T19:11:31+00:00] WARN: unable to detect ipaddress
       Installing Cookbook Gems:
       Compiling Cookbooks...
       Converging 1 resources
       Recipe: docker-integration-test::default
         * file[/tmp/quick_brown_fox.txt] action create (up to date)

       Running handlers:
       Running handlers complete
       Chef Client finished, 0/1 resources updated in 01 seconds
       Finished converging  (0m2.80s).
-----> Kitchen is finished. (0m3.14s)

Run tests:

$ bundle exec kitchen test

License & Authors

Copyright 2016, Doc Walker

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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0 / 2016-05-01

  • NEW - initial release

Legend

  • BREAK - breaking changes
  • FIX - bug fix
  • IMPROVE - improvement of existing feature
  • NEW - new feature

Foodcritic Metric
            

0.1.0 passed this metric