Skip to content

Commit

Permalink
Cleanup Gemfiles, Berksfiles, and update Gemfile groups
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Duffield <[email protected]>
  • Loading branch information
tduffield committed Feb 10, 2017
1 parent 9c92916 commit 8303aed
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ gem "chef", path: "."

gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))
# Ensure that we can always install rake, regardless of gem groups
gem "rake", group: [ :default, :omnibus_package, :development ]
gem "rake"
gem "bundler"
gem "cheffish"

group(:omnibus_package) do
gem "appbundler"
Expand All @@ -29,6 +28,7 @@ group(:omnibus_package, :pry) do
gem "pry-remote"
gem "pry-stack_explorer"
end

# These are used for external tests
group(:integration) do
gem "chef-provisioning"
Expand Down Expand Up @@ -63,6 +63,7 @@ group(:linux, :bsd, :mac_os_x, :solaris, :windows) do
# may need to disable this in insolation on fussy builds like AIX, RHEL4, etc
gem "ruby-prof"
end

# Everything except AIX and Windows
group(:linux, :bsd, :mac_os_x, :solaris) do
gem "ruby-shadow", platforms: :ruby
Expand Down
1 change: 0 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ DEPENDENCIES
chef-config!
chef-provisioning
chef-sugar
cheffish
chefspec
chefstyle!
cucumber (>= 2.4.0)
Expand Down
2 changes: 1 addition & 1 deletion ci/bundle_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ set -evx
gem environment
bundler_version=$(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
gem install bundler -v $bundler_version --user-install --conservative
export BUNDLE_WITHOUT=default:omnibus_package:test:pry:integration:docgen:maintenance:travis:aix:bsd:linux:mac_os_x:solaris:windows
export BUNDLE_WITHOUT=omnibus_package:test:pry:integration:docgen:maintenance:travis:aix:bsd:linux:mac_os_x:solaris:windows:development:changelog:travis
bundle _${bundler_version}_ install
2 changes: 1 addition & 1 deletion kitchen-tests/cookbooks/audit_test/Berksfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source "https://supermarket.getchef.com"
source "https://supermarket.chef.io"

metadata
2 changes: 1 addition & 1 deletion kitchen-tests/cookbooks/webapp/Berksfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "https://api.berkshelf.com"
source "https://supermarket.chef.io"

metadata

Expand Down
2 changes: 2 additions & 0 deletions version_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
"addressable", # gh (via travis) wants this ~> 2.4.0
"rake", # poise limits this to < 12
"github_changelog_generator", # we manage this independent of the rubygem
"cheffish", # 5.0.0 breaks chef-provisioning
"net-ssh-gateway", # chef-provisiong and test-kitchen have ~> 1.2 constraint
]

#
Expand Down

0 comments on commit 8303aed

Please sign in to comment.