aboutsummaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorGabriel Nagy <gabriel.nagy@puppet.com>2021-02-18 15:53:50 +0200
committerGabriel Nagy <gabriel.nagy@puppet.com>2021-02-18 15:53:50 +0200
commit21b64774613765d13275afca0fdc61c6e80b1245 (patch)
treea5664f4bf5d5ecb14d86093e372a2d4b8d8c1969 /Gemfile
parent6202369c2b8668115386c9d7c77ec8eaf82fa017 (diff)
downloadpuppet-hosts_core-21b64774613765d13275afca0fdc61c6e80b1245.tar.gz
puppet-hosts_core-21b64774613765d13275afca0fdc61c6e80b1245.tar.bz2
(MODULES-10945) Do not install PDK when running PR tests
Create a separate group in the Gemfile for pdk and puppet-blacksmith which are only used for releasing. In the workflow, avoid installing the release group.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index dd48fcc..6cc31af 100644
--- a/Gemfile
+++ b/Gemfile
@@ -46,8 +46,11 @@ group :system_tests do
gem "beaker-hostgenerator"
gem "beaker-rspec"
gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION'] || '~> 1.0')
- gem "pdk", '~> 1.18', platforms: [:ruby]
+end
+
+group :release do
gem "puppet-blacksmith", '~> 3.4', require: false
+ gem "pdk", platforms: [:ruby]
end
puppet_version = ENV['PUPPET_GEM_VERSION']