Skip to content

Commit b156094

Browse files
authored
(SIMP-9519) GLCI: Upgrade build test to pup6+pdk (#76)
1 parent f665063 commit b156094

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ variables:
296296
#=======================================================================
297297

298298
releng_checks:
299-
<<: *pup_5_x
299+
<<: *pup_6_x
300300
<<: *setup_bundler_env
301301
stage: 'validation'
302302
tags: ['docker']
@@ -307,7 +307,8 @@ releng_checks:
307307
- 'bundle exec rake pkg:check_version'
308308
- 'bundle exec rake pkg:compare_latest_tag'
309309
- 'bundle exec rake pkg:create_tag_changelog'
310-
- 'bundle exec puppet module build'
310+
- 'bundle exec pdk build --force --target-dir=dist'
311+
311312

312313
# Linting
313314
#-----------------------------------------------------------------------

.pmtignore

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,25 @@
77
# The next baseline sync will overwrite any local changes made to this file.
88
# ------------------------------------------------------------------------------
99
.*.sw?
10+
.bundle/
11+
.git/
12+
.github/
13+
.gitlab-ci.yml
14+
.rspec_system
15+
.vagrant/
16+
.vendor/
1017
.yardoc
1118
dist/
19+
doc/
20+
Gemfile.lock
21+
junit/
22+
log/
1223
pkg/
24+
spec/acceptance/
1325
spec/defines/
1426
spec/fixtures/
15-
spec/acceptance/
1627
spec/rp_env/
17-
!/spec/hieradata/default.yaml
1828
!/spec/fixtures/site.pp
19-
.rspec_system
20-
.vagrant/
21-
.bundle/
22-
Gemfile.lock
23-
vendor/
24-
junit/
25-
log/
26-
doc/
29+
!/spec/hieradata/default.yaml
2730
tests/
31+
vendor/

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ group :test do
2525
gem 'puppet-lint-trailing_comma-check', :require => false
2626
gem 'simp-rspec-puppet-facts', ENV['SIMP_RSPEC_PUPPET_FACTS_VERSION'] || '~> 3.1'
2727
gem 'simp-rake-helpers', ENV['SIMP_RAKE_HELPERS_VERSION'] || ['>= 5.11.5', '< 6']
28-
gem( 'pdk', ENV['PDK_VERSION'] || '~> 1.0', :require => false) if major_puppet_version > 5
28+
gem( 'pdk', ENV['PDK_VERSION'] || '~> 2.0', :require => false) if major_puppet_version > 5
2929
gem 'pathspec', '~> 0.2' if Gem::Requirement.create('< 2.6').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
3030
end
3131

0 commit comments

Comments
 (0)