diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-06-21 10:11:04 -0700 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-06-21 10:11:04 -0700 |
commit | 1575a6696969fdabf06be4bca222eea8fbcfaeec (patch) | |
tree | a2fd9427f59af1f95c0c0d464bb9718cf27c9996 /omnibus | |
parent | de78e3902a6b1743f0d69bbac073c274ed85cb80 (diff) | |
download | chef-1575a6696969fdabf06be4bca222eea8fbcfaeec.tar.gz |
update nokogiri and dependencies
Diffstat (limited to 'omnibus')
-rw-r--r-- | omnibus/.kitchen.yml | 9 | ||||
-rw-r--r-- | omnibus/Gemfile | 4 | ||||
-rw-r--r-- | omnibus/Gemfile.lock | 64 | ||||
-rw-r--r-- | omnibus/config/software/chef-gem-nokogiri.rb | 1 | ||||
-rw-r--r-- | omnibus/config/software/chef-gem-pkg-config.rb | 9 | ||||
-rw-r--r-- | omnibus/config/software/chef.rb | 7 |
6 files changed, 48 insertions, 46 deletions
diff --git a/omnibus/.kitchen.yml b/omnibus/.kitchen.yml index ed060a8ef8..a14d3498de 100644 --- a/omnibus/.kitchen.yml +++ b/omnibus/.kitchen.yml @@ -11,7 +11,7 @@ driver: cpus: 4 memory: 4096 synced_folders: - - ['..', '/home/vagrant/chef'] + - ['../..', '/vagrant/code'] - ['../../omnibus', '/home/vagrant/omnibus'] - ['../../omnibus-software', '/home/vagrant/omnibus-software'] @@ -25,10 +25,11 @@ provisioner: vagrant: this_key_exists_so_we_have_a_vagrant_key: true omnibus: - build_user: vagrant - build_user_group: vagrant + build_user: vagrant + build_user_group: vagrant build_user_password: vagrant - chef_omnibus_install_options: -P angrychef + product_name: angrychef + product_version: latest chef_omnibus_root: /opt/angrychef platforms: diff --git a/omnibus/Gemfile b/omnibus/Gemfile index ef1dec354d..3e19adfb39 100644 --- a/omnibus/Gemfile +++ b/omnibus/Gemfile @@ -13,10 +13,10 @@ gem "pedump", git: "https://github.com/ksubrama/pedump.git", branch: "patch-1" # by running `bundle install --without development` to speed up build times. group :development do # Use Berkshelf for resolving cookbook dependencies - gem "berkshelf", "~> 3.0" + gem "berkshelf", "~> 4.0" # Use Test Kitchen with Vagrant for converging the build environment - gem "test-kitchen", "~> 1.7.1" + gem "test-kitchen", "~> 1.9" gem "kitchen-vagrant", "~> 0.19.0" gem "winrm-fs", "~> 0.4.0" gem "pry" diff --git a/omnibus/Gemfile.lock b/omnibus/Gemfile.lock index 0b2b7b9ce5..39f5dbba9d 100644 --- a/omnibus/Gemfile.lock +++ b/omnibus/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/chef/omnibus-software.git - revision: 931d8a331bd8397729735867d394560c151dcca9 + revision: cb6f0afa1cd334f25aece7deeef3a9454cecc0e7 specs: omnibus-software (4.0.0) omnibus (>= 5.2.0) @@ -35,7 +35,7 @@ GIT GEM remote: https://rubygems.org/ specs: - addressable (2.3.8) + addressable (2.4.0) artifactory (2.3.2) awesome_print (1.7.0) aws-sdk (2.3.14) @@ -44,26 +44,27 @@ GEM jmespath (~> 1.0) aws-sdk-resources (2.3.14) aws-sdk-core (= 2.3.14) - berkshelf (3.3.0) - addressable (~> 2.3.4) - berkshelf-api-client (~> 1.2) + berkshelf (4.3.3) + addressable (~> 2.3, >= 2.3.4) + berkshelf-api-client (~> 2.0, >= 2.0.2) buff-config (~> 1.0) buff-extensions (~> 1.0) buff-shell_out (~> 0.1) - celluloid (~> 0.16.0) + 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) + faraday (~> 0.9) + httpclient (~> 2.7) + minitar (~> 0.5, >= 0.5.4) + octokit (~> 4.0) retryable (~> 2.0) - ridley (~> 4.0) - solve (~> 1.1) + ridley (~> 4.5) + solve (~> 2.0) thor (~> 0.19) - berkshelf-api-client (1.3.1) + berkshelf-api-client (2.0.2) faraday (~> 0.9.1) - httpclient (~> 2.6.0) + httpclient (~> 2.7.0) + ridley (~> 4.5) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) buff-config (1.0.1) @@ -89,10 +90,6 @@ GEM cleanroom (1.0.0) coderay (1.1.1) debug_inspector (0.0.2) - dep-selector-libgecode (1.2.0) - dep_selector (1.0.3) - dep-selector-libgecode (~> 1.0) - ffi (~> 1.9) erubis (2.7.0) faraday (0.9.2) multipart-post (>= 1.2, < 3) @@ -108,7 +105,7 @@ GEM hashie (3.4.4) hitimes (1.2.4) hitimes (1.2.4-x86-mingw32) - httpclient (2.6.0.1) + httpclient (2.7.2) iostruct (0.0.4) ipaddress (0.8.3) jmespath (1.2.4) @@ -128,7 +125,7 @@ GEM mixlib-log mixlib-cli (1.6.0) mixlib-config (2.2.1) - mixlib-install (1.0.13) + mixlib-install (1.0.12) artifactory mixlib-shellout mixlib-versioning @@ -138,6 +135,7 @@ GEM win32-process (~> 0.8.2) wmi-lite (~> 1.0) mixlib-versioning (1.1.0) + molinillo (0.4.5) multi_json (1.12.1) multipart-post (1.2.0) net-scp (1.2.1) @@ -145,9 +143,9 @@ GEM net-ssh (3.1.1) nio4r (1.2.1) nori (2.6.0) - octokit (3.8.0) - sawyer (~> 0.6.0, >= 0.5.3) - ohai (8.16.0) + octokit (4.3.0) + sawyer (~> 0.7.0, >= 0.5.3) + ohai (8.17.0) chef-config (>= 12.5.0.alpha.1, < 13) ffi (~> 1.9) ffi-yajl (~> 2.2) @@ -172,7 +170,7 @@ GEM binding_of_caller (>= 0.7) pry (>= 0.9.11) retryable (2.0.3) - ridley (4.4.2) + ridley (4.5.1) addressable buff-config (~> 1.0) buff-extensions (~> 1.0) @@ -180,11 +178,11 @@ GEM buff-shell_out (~> 0.1) celluloid (~> 0.16.0) celluloid-io (~> 0.16.1) - chef-config + chef-config (>= 12.5.0) erubis faraday (~> 0.9.0) hashie (>= 2.0.2, < 4.0.0) - httpclient (~> 2.6) + httpclient (~> 2.7) json (>= 1.7.7) mixlib-authentication (>= 1.3.0) retryable (~> 2.0) @@ -194,16 +192,16 @@ GEM rubyntlm (0.6.0) rubyzip (1.2.0) safe_yaml (1.0.4) - sawyer (0.6.0) - addressable (~> 2.3.5) + sawyer (0.7.0) + addressable (>= 2.3.5, < 2.5) faraday (~> 0.8, < 0.10) semverse (1.2.1) slop (3.6.0) - solve (1.2.1) - dep_selector (~> 1.0) + solve (2.0.3) + molinillo (~> 0.4.2) semverse (~> 1.1) systemu (2.6.5) - test-kitchen (1.7.3) + test-kitchen (1.9.2) mixlib-install (~> 1.0, >= 1.0.4) mixlib-shellout (>= 1.2, < 3.0) net-scp (~> 1.1) @@ -239,7 +237,7 @@ PLATFORMS x86-mingw32 DEPENDENCIES - berkshelf (~> 3.0) + berkshelf (~> 4.0) kitchen-vagrant (~> 0.19.0) omnibus! omnibus-software! @@ -247,7 +245,7 @@ DEPENDENCIES pry pry-byebug pry-stack_explorer - test-kitchen (~> 1.7.1) + test-kitchen (~> 1.9) winrm-fs (~> 0.4.0) BUNDLED WITH diff --git a/omnibus/config/software/chef-gem-nokogiri.rb b/omnibus/config/software/chef-gem-nokogiri.rb index 8bf7100d5b..a25a47d341 100644 --- a/omnibus/config/software/chef-gem-nokogiri.rb +++ b/omnibus/config/software/chef-gem-nokogiri.rb @@ -8,4 +8,5 @@ BuildChefGem::GemInstallSoftwareDef.define(self, __FILE__) license "MIT" license_file "https://github.com/ruby-prof/ruby-prof/blob/master/LICENSE" +dependency "chef-gem-pkg-config" dependency "chef-gem-mini_portile2" diff --git a/omnibus/config/software/chef-gem-pkg-config.rb b/omnibus/config/software/chef-gem-pkg-config.rb new file mode 100644 index 0000000000..9c6e6fa695 --- /dev/null +++ b/omnibus/config/software/chef-gem-pkg-config.rb @@ -0,0 +1,9 @@ +# gem installs this gem from the version specified in chef's Gemfile.lock +# so we can take advantage of omnibus's caching. Just duplicate this file and +# add the new software def to chef software def if you want to separate +# another gem's installation. +require_relative "../../files/chef-gem/build-chef-gem/gem-install-software-def" +BuildChefGem::GemInstallSoftwareDef.define(self, __FILE__) + +license "LGPL-2.1" +license_file "https://github.com/ruby-gnome2/pkg-config/blob/master/LGPL-2.1" diff --git a/omnibus/config/software/chef.rb b/omnibus/config/software/chef.rb index 49db136e94..c6ced7e566 100644 --- a/omnibus/config/software/chef.rb +++ b/omnibus/config/software/chef.rb @@ -69,13 +69,6 @@ build do block { log.info(log_key) { "" } } bundle "install --verbose", env: project_env - # For whatever reason, nokogiri software def deletes this (rather small) directory - block { log.info(log_key) { "" } } - block "Remove mini_portile test dir" do - mini_portile = shellout!("#{bundle_bin} show mini_portile").stdout.chomp - remove_directory File.join(mini_portile, "test") - end - # Check that it worked block { log.info(log_key) { "" } } bundle "check", env: project_env |