Skip to content

Commit

Permalink
(SIMP-9519) GLCI: Upgrade build test to pup6+pdk (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
op-ct committed Mar 3, 2021
1 parent 8d4dabc commit 8586af4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ variables:
#=======================================================================

releng_checks:
<<: *pup_5_x
<<: *pup_6_x
<<: *setup_bundler_env
stage: 'validation'
tags: ['docker']
Expand All @@ -307,7 +307,8 @@ releng_checks:
- 'bundle exec rake pkg:check_version'
- 'bundle exec rake pkg:compare_latest_tag'
- 'bundle exec rake pkg:create_tag_changelog'
- 'bundle exec puppet module build'
- 'bundle exec pdk build --force --target-dir=dist'


# Linting
#-----------------------------------------------------------------------
Expand Down
24 changes: 14 additions & 10 deletions .pmtignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@
# The next baseline sync will overwrite any local changes made to this file.
# ------------------------------------------------------------------------------
.*.sw?
.bundle/
.git/
.github/
.gitlab-ci.yml
.rspec_system
.vagrant/
.vendor/
.yardoc
dist/
doc/
Gemfile.lock
junit/
log/
pkg/
spec/acceptance/
spec/defines/
spec/fixtures/
spec/acceptance/
spec/rp_env/
!/spec/hieradata/default.yaml
!/spec/fixtures/site.pp
.rspec_system
.vagrant/
.bundle/
Gemfile.lock
vendor/
junit/
log/
doc/
!/spec/hieradata/default.yaml
tests/
vendor/
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ group :test do
gem 'puppet-lint-trailing_comma-check', :require => false
gem 'simp-rspec-puppet-facts', ENV['SIMP_RSPEC_PUPPET_FACTS_VERSION'] || '~> 3.1'
gem 'simp-rake-helpers', ENV['SIMP_RAKE_HELPERS_VERSION'] || ['>= 5.11.5', '< 6']
gem( 'pdk', ENV['PDK_VERSION'] || '~> 1.0', :require => false) if major_puppet_version > 5
gem( 'pdk', ENV['PDK_VERSION'] || '~> 2.0', :require => false) if major_puppet_version > 5
gem 'pathspec', '~> 0.2' if Gem::Requirement.create('< 2.6').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
end

Expand Down

0 comments on commit 8586af4

Please sign in to comment.