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 1.1.1

Tests chef cookbook using docker for integration tests.

Policyfile
Berkshelf
Knife
cookbook 'docker-integration-test', '= 1.1.1', :supermarket
cookbook 'docker-integration-test', '= 1.1.1'
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 rake
$ bundle exec rake integration

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.

1.1.1 / 2016-05-16

  • FIX - Fix chef supermarket category | view

1.1.0 / 2016-05-16

  • IMPROVE - Update foodcritic gem to 6.3.0 | view
  • IMPROVE - Update chefspec gem to 4.7.0 | view
  • NEW - Add regex to integration:docker to specify tests | view
  • IMPROVE - Move integration tests to spec/integration | view
  • IMPROVE - Update rubocop gem to 0.40.0 | view
  • IMPROVE - Update berkshelf gem to 4.3.3 | view
  • IMPROVE - Update test commands in README | view
  • IMPROVE - Remove extraneous comments | view
  • IMPROVE - Rename env variable to reflect kitchen ownership | view
  • IMPROVE - Parallelize travis builds | view
  • IMPROVE - Clean up integration tests, tasks | view
  • FIX - Try using env variable in rake task | view
  • FIX - Try another iteration of .travis.yml env | view
  • FIX - Fix env variables to be array | view
  • FIX - Try another env variable for kitchen | view
  • FIX - Fix env variable name | view
  • IMPROVE - Add env to .travis.yml | view
  • IMPROVE - Optimize .travis.yml | view
  • FIX - Fix failing travis build | view
  • IMPROVE - Remove missing integration:cloud task | view
  • FIX - Fix travis build error; run travis-specific task | view
  • NEW - Add task style:travis to lint .travis.yml | view
  • NEW - Add String class with colorization | view
  • IMPROVE - Factor out configuration options to .yml file | view
  • IMPROVE - Update rake gem | view
  • IMPROVE - Update test-kitchen, kitchen-docker gems | view
  • NEW - Add LICENSE with text from Apache 2.0 | view
  • IMPROVE - Use dir | view
  • IMPROVE - Add chefignore from sudo cookbook | view
  • IMPROVE - Adjust yaml indentation to match TextMate default | view
  • IMPROVE - Split Rakefile into modular tasks/*.rb | view
  • IMPROVE - Use File.join instead of hard-coding path | view
  • IMPROVE - Remove .lock files from .gitignore | view
  • FIX - Disable Metrics/LineLength cop for metadata.rb | view
  • IMPROVE - Add rubocop categories | view
  • IMPROVE - Adjust cookbook category | view

1.0.1 / 2016-05-01

  • FIX - Update RELEASE with new chefvm configuration | view

1.0.0 / 2016-05-01

  • IMPROVE - Add RELEASE document | view

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
            

1.1.1 passed this metric