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:59:56 +0200
commit412cef5724cc6042299ab2520beb73380f8ab099 (patch)
treed5762490321c6dc965dc443f7359683534da6797 /Gemfile
parent7e6ddd01fd5e33e5fa05266496984b50639b957e (diff)
downloadpuppet-cron_core-412cef5724cc6042299ab2520beb73380f8ab099.tar.gz
puppet-cron_core-412cef5724cc6042299ab2520beb73380f8ab099.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 c40baa1..f41e52a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -45,8 +45,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']