Skip to content

Commit

Permalink
Merge pull request #277 from ThoughtCrhyme/MODULES-7833
Browse files Browse the repository at this point in the history
(MODULES-7833) Update metadata for Puppet 6
  • Loading branch information
michaeltlombardi committed Nov 27, 2018
2 parents b329064 + 9efd29a commit 43a4eaa
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 32 deletions.
9 changes: 8 additions & 1 deletion .sync.yml
Expand Up @@ -25,7 +25,14 @@ spec/default_facts.yml:
unmanaged: true

appveyor.yml:
unmanaged: true
matrix_extras:
- PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25
CHECK: parallel_spec
- PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25-x64
CHECK: parallel_spec

.gitlab-ci.yml:
delete: true

Expand Down
10 changes: 5 additions & 5 deletions Gemfile
Expand Up @@ -35,11 +35,11 @@ group :development do
gem "puppet-module-win-dev-r#{minor_version}", require: false, platforms: [:mswin, :mingw, :x64_mingw]
end
group :system_tests do
gem "puppet-module-posix-system-r#{minor_version}", require: false, platforms: [:ruby]
gem "puppet-module-win-system-r#{minor_version}", require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "beaker-testmode_switcher", '~> 0.4', require: false
gem "master_manipulator", require: false
gem "puppet-blacksmith", '~> 3.4', require: false
gem "puppet-module-posix-system-r#{minor_version}", require: false, platforms: [:ruby]
gem "puppet-module-win-system-r#{minor_version}", require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "beaker-testmode_switcher", '~> 0.4', require: false
gem "master_manipulator", require: false
gem "puppet-blacksmith", '~> 3.4', require: false
end

puppet_version = ENV['PUPPET_GEM_VERSION']
Expand Down
66 changes: 41 additions & 25 deletions appveyor.yml
Expand Up @@ -10,34 +10,50 @@ init:
- 'mkdir C:\ProgramData\PuppetLabs\puppet\var && exit 0'
environment:
matrix:
- PUPPET_GEM_VERSION: ~> 4.0
RUBY_VER: 21
- PUPPET_GEM_VERSION: ~> 4.0
RUBY_VER: 21-x64
- PUPPET_GEM_VERSION: ~> 5.0
RUBY_VER: 24
- PUPPET_GEM_VERSION: ~> 5.0
RUBY_VER: 24-x64
- PUPPET_GEM_VERSION: 4.7.1
RUBY_VER: 21-x64
-
RUBY_VERSION: 24-x64
CHECK: syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
-
PUPPET_GEM_VERSION: ~> 4.0
RUBY_VERSION: 21
CHECK: parallel_spec
-
PUPPET_GEM_VERSION: ~> 4.0
RUBY_VERSION: 21-x64
CHECK: parallel_spec
-
PUPPET_GEM_VERSION: ~> 5.0
RUBY_VERSION: 24
CHECK: parallel_spec
-
PUPPET_GEM_VERSION: ~> 5.0
RUBY_VERSION: 24-x64
CHECK: parallel_spec
-
PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25
CHECK: parallel_spec
-
PUPPET_GEM_VERSION: ~> 6.0
RUBY_VERSION: 25-x64
CHECK: parallel_spec
matrix:
fast_finish: true
install:
- SET PATH=C:\Ruby%RUBY_VER%\bin;%PATH%
- ps: |
gem list openssl
ruby -ropenssl -e 'puts \"OpenSSL Version - #{OpenSSL::OPENSSL_VERSION}\"; puts \"OpenSSL Library Version - #{OpenSSL::OPENSSL_LIBRARY_VERSION}\"'
- bundle install --jobs 4 --retry 2 --without system_tests
- type Gemfile.lock
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- bundle install --jobs 4 --retry 2 --without system_tests
- type Gemfile.lock
build: off
test_script:
- bundle exec puppet -V
- ruby -v
- bundle exec rake spec SPEC_OPTS='--format documentation'
- bundle exec puppet -V
- ruby -v
- gem -v
- bundle -v
- bundle exec rake %CHECK%
notifications:
- provider: Email
to:
- nobody@nowhere.com
on_build_success: false
on_build_failure: false
on_build_status_changed: false
- provider: Email
to:
- nobody@nowhere.com
on_build_success: false
on_build_failure: false
on_build_status_changed: false
2 changes: 1 addition & 1 deletion metadata.json
Expand Up @@ -26,7 +26,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">=4.7.0 < 6.0.0"
"version_requirement": ">=4.7.0 < 7.0.0"
}
],
"tags": [
Expand Down

0 comments on commit 43a4eaa

Please sign in to comment.