diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0c126fb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM chef/chefdk +WORKDIR /src diff --git a/Gemfile b/Gemfile deleted file mode 100644 index a33bf14..0000000 --- a/Gemfile +++ /dev/null @@ -1,27 +0,0 @@ -source 'http://rubygems.org' - -ruby '2.2.2' - -gem 'berkshelf' - -group :dev do - gem 'foodcritic' - gem 'chefspec' - gem 'rubocop' - gem 'stove' -end - -group :kitchen do - gem 'test-kitchen' - gem 'chef-zero' - gem 'kitchen-vagrant' -end - -group :guard do - gem 'guard' - gem 'guard-rspec' - gem 'guard-foodcritic' - gem 'guard-rubocop' - gem 'guard-kitchen' - gem 'ruby_gntp' -end diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 44097a2..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,314 +0,0 @@ -GEM - remote: http://rubygems.org/ - specs: - addressable (2.3.8) - ast (2.1.0) - astrolabe (1.3.1) - parser (~> 2.2) - berkshelf (4.0.1) - addressable (~> 2.3.4) - berkshelf-api-client (~> 2.0) - buff-config (~> 1.0) - buff-extensions (~> 1.0) - buff-shell_out (~> 0.1) - celluloid (= 0.16.0) - celluloid-io (~> 0.16.1) - cleanroom (~> 1.0) - faraday (~> 0.9.0) - httpclient (~> 2.6.0) - minitar (~> 0.5.4) - octokit (~> 3.0) - retryable (~> 2.0) - ridley (~> 4.3) - solve (~> 1.1) - thor (~> 0.19) - berkshelf-api-client (2.0.0) - faraday (~> 0.9.1) - httpclient (~> 2.6.0) - buff-config (1.0.1) - buff-extensions (~> 1.0) - varia_model (~> 0.4) - buff-extensions (1.0.0) - buff-ignore (1.1.1) - buff-ruby_engine (0.1.0) - buff-shell_out (0.2.0) - buff-ruby_engine (~> 0.1.0) - builder (3.2.2) - celluloid (0.16.0) - timers (~> 4.0.0) - celluloid-io (0.16.2) - celluloid (>= 0.16.0) - nio4r (>= 1.1.0) - chef (12.5.1) - chef-config (= 12.5.1) - chef-zero (~> 4.2, >= 4.2.2) - diff-lcs (~> 1.2, >= 1.2.4) - erubis (~> 2.7) - ffi-yajl (~> 2.2) - highline (~> 1.6, >= 1.6.9) - mixlib-authentication (~> 1.3) - mixlib-cli (~> 1.4) - mixlib-log (~> 1.3) - mixlib-shellout (~> 2.0) - net-ssh (~> 2.6) - net-ssh-multi (~> 1.1) - ohai (>= 8.6.0.alpha.1, < 9) - plist (~> 3.1.0) - pry (~> 0.9) - rspec-core (~> 3.2) - rspec-expectations (~> 3.2) - rspec-mocks (~> 3.2) - rspec_junit_formatter (~> 0.2.0) - serverspec (~> 2.7) - specinfra (~> 2.10) - syslog-logger (~> 1.6) - chef-api (0.5.0) - logify (~> 0.1) - mime-types - chef-config (12.5.1) - mixlib-config (~> 2.0) - mixlib-shellout (~> 2.0) - chef-zero (4.3.2) - ffi-yajl (~> 2.2) - hashie (>= 2.0, < 4.0) - mixlib-log (~> 1.3) - rack - uuidtools (~> 2.1) - chefspec (4.4.0) - chef (>= 11.14) - fauxhai (~> 2.3) - rspec (~> 3.0) - cleanroom (1.0.0) - coderay (1.1.0) - dep-selector-libgecode (1.0.2) - dep_selector (1.0.3) - dep-selector-libgecode (~> 1.0) - ffi (~> 1.9) - diff-lcs (1.2.5) - erubis (2.7.0) - faraday (0.9.2) - multipart-post (>= 1.2, < 3) - fauxhai (2.3.0) - net-ssh - ohai - ffi (1.9.10) - ffi-yajl (2.2.2) - libyajl2 (~> 1.2) - foodcritic (5.0.0) - erubis - gherkin (~> 2.11) - nokogiri (>= 1.5, < 2.0) - rake - rufus-lru (~> 1.0) - treetop (~> 1.4) - yajl-ruby (~> 1.1) - formatador (0.2.5) - gherkin (2.12.2) - multi_json (~> 1.3) - guard (2.13.0) - formatador (>= 0.2.4) - listen (>= 2.7, <= 4.0) - lumberjack (~> 1.0) - nenv (~> 0.1) - notiffany (~> 0.0) - pry (>= 0.9.12) - shellany (~> 0.0) - thor (>= 0.18.1) - guard-compat (1.2.1) - guard-foodcritic (2.0.0) - foodcritic (~> 5.0) - guard (~> 2.12) - guard-compat (~> 1.1) - guard-kitchen (0.0.2) - guard - mixlib-shellout - guard-rspec (4.6.4) - guard (~> 2.1) - guard-compat (~> 1.1) - rspec (>= 2.99.0, < 4.0) - guard-rubocop (1.2.0) - guard (~> 2.0) - rubocop (~> 0.20) - hashie (3.4.2) - highline (1.7.8) - hitimes (1.2.3) - httpclient (2.6.0.1) - ipaddress (0.8.0) - json (1.8.3) - kitchen-vagrant (0.19.0) - test-kitchen (~> 1.4) - libyajl2 (1.2.0) - listen (3.0.3) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9) - logify (0.2.0) - lumberjack (1.0.9) - method_source (0.8.2) - mime-types (2.6.2) - mini_portile (0.6.2) - minitar (0.5.4) - mixlib-authentication (1.3.0) - mixlib-log - mixlib-cli (1.5.0) - mixlib-config (2.2.1) - mixlib-log (1.6.0) - mixlib-shellout (2.2.1) - multi_json (1.11.2) - multipart-post (2.0.0) - nenv (0.2.0) - net-scp (1.2.1) - net-ssh (>= 2.6.5) - net-ssh (2.9.2) - net-ssh-gateway (1.2.0) - net-ssh (>= 2.6.5) - net-ssh-multi (1.2.1) - net-ssh (>= 2.6.5) - net-ssh-gateway (>= 1.2.0) - net-telnet (0.1.1) - nio4r (1.1.1) - nokogiri (1.6.6.2) - mini_portile (~> 0.6.0) - notiffany (0.0.8) - nenv (~> 0.1) - shellany (~> 0.0) - octokit (3.8.0) - sawyer (~> 0.6.0, >= 0.5.3) - ohai (8.7.0) - chef-config (>= 12.5.0.alpha.1, < 13) - ffi (~> 1.9) - ffi-yajl (~> 2.2) - ipaddress - mime-types (~> 2.0) - mixlib-cli - mixlib-config (~> 2.0) - mixlib-log - mixlib-shellout (~> 2.0) - rake (~> 10.1) - systemu (~> 2.6.4) - wmi-lite (~> 1.0) - parser (2.2.3.0) - ast (>= 1.1, < 3.0) - plist (3.1.0) - polyglot (0.3.5) - powerpack (0.1.1) - pry (0.10.2) - coderay (~> 1.1.0) - method_source (~> 0.8.1) - slop (~> 3.4) - rack (1.6.4) - rainbow (2.0.0) - rake (10.4.2) - rb-fsevent (0.9.6) - rb-inotify (0.9.5) - ffi (>= 0.5.0) - retryable (2.0.2) - ridley (4.3.2) - addressable - buff-config (~> 1.0) - buff-extensions (~> 1.0) - buff-ignore (~> 1.1) - buff-shell_out (~> 0.1) - celluloid (~> 0.16.0) - celluloid-io (~> 0.16.1) - erubis - faraday (~> 0.9.0) - hashie (>= 2.0.2, < 4.0.0) - httpclient (~> 2.6) - json (>= 1.7.7) - mixlib-authentication (>= 1.3.0) - retryable (~> 2.0) - semverse (~> 1.1) - varia_model (~> 0.4.0) - rspec (3.3.0) - rspec-core (~> 3.3.0) - rspec-expectations (~> 3.3.0) - rspec-mocks (~> 3.3.0) - rspec-core (3.3.2) - rspec-support (~> 3.3.0) - rspec-expectations (3.3.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.3.0) - rspec-its (1.2.0) - rspec-core (>= 3.0.0) - rspec-expectations (>= 3.0.0) - rspec-mocks (3.3.2) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.3.0) - rspec-support (3.3.0) - rspec_junit_formatter (0.2.3) - builder (< 4) - rspec-core (>= 2, < 4, != 2.12.0) - rubocop (0.34.2) - astrolabe (~> 1.3) - parser (>= 2.2.2.5, < 3.0) - powerpack (~> 0.1) - rainbow (>= 1.99.1, < 3.0) - ruby-progressbar (~> 1.4) - ruby-progressbar (1.7.5) - ruby_gntp (0.3.4) - rufus-lru (1.0.5) - safe_yaml (1.0.4) - sawyer (0.6.0) - addressable (~> 2.3.5) - faraday (~> 0.8, < 0.10) - semverse (1.2.1) - serverspec (2.24.1) - multi_json - rspec (~> 3.0) - rspec-its - specinfra (~> 2.43) - sfl (2.2) - shellany (0.0.1) - slop (3.6.0) - solve (1.2.1) - dep_selector (~> 1.0) - semverse (~> 1.1) - specinfra (2.44.0) - net-scp - net-ssh (~> 2.7) - net-telnet - sfl - stove (3.2.7) - chef-api (~> 0.5) - logify (~> 0.2) - syslog-logger (1.6.8) - systemu (2.6.5) - test-kitchen (1.4.2) - mixlib-shellout (>= 1.2, < 3.0) - net-scp (~> 1.1) - net-ssh (~> 2.7, < 2.10) - safe_yaml (~> 1.0) - thor (~> 0.18) - thor (0.19.1) - timers (4.0.4) - hitimes - treetop (1.6.3) - polyglot (~> 0.3) - uuidtools (2.1.5) - varia_model (0.4.1) - buff-extensions (~> 1.0) - hashie (>= 2.0.2, < 4.0.0) - wmi-lite (1.0.0) - yajl-ruby (1.2.1) - -PLATFORMS - ruby - -DEPENDENCIES - berkshelf - chef-zero - chefspec - foodcritic - guard - guard-foodcritic - guard-kitchen - guard-rspec - guard-rubocop - kitchen-vagrant - rubocop - ruby_gntp - stove - test-kitchen - -BUNDLED WITH - 1.10.5 diff --git a/circle.yml b/circle.yml index f2e5f90..8d0f4b8 100644 --- a/circle.yml +++ b/circle.yml @@ -1,10 +1,23 @@ +machine: + pre: + - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 + - sudo pip install + - sudo pip install docker-compose + services: + - docker + +dependencies: + override: + - docker info + - docker-compose build + database: override: - echo "No database necessary." test: override: - - bundle exec berks install - - bundle exec rubocop - - bundle exec foodcritic . - - bundle exec rspec + - docker-compose run berks + - docker-compose run foodcritic + - docker-compose run rubocop + - docker-compose run rspec diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..472925e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,24 @@ +app: + build: . + volumes: + - $PWD:/src +berks: + build: . + command: berks + volumes: + - $PWD:/src +foodcritic: + build: . + command: foodcritic -f any . + volumes: + - $PWD:/src +rspec: + build: . + command: rspec + volumes: + - $PWD:/src +rubocop: + build: . + command: rubocop + volumes: + - $PWD:/src diff --git a/metadata.rb b/metadata.rb index 0ba45df..6331d47 100644 --- a/metadata.rb +++ b/metadata.rb @@ -5,5 +5,7 @@ description 'Installs/Configures sendmail-ses' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.2' +issues_url 'https://github.com/tablexi/chef-sendmail-ses/issues' +source_url 'https://github.com/tablexi/chef-sendmail-ses/' supports 'amazon'