Hashar has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/338746 )
Change subject: Use puppet-syntax to check puppet manifests ...................................................................... Use puppet-syntax to check puppet manifests Bug: T158544 Change-Id: I608d01656f5bc56e45dacb681d248ca315b546fd --- M .gitignore A Gemfile A Rakefile 3 files changed, 21 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/46/338746/1 diff --git a/.gitignore b/.gitignore index 5ccebc9..da95b48 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ *~ *.kate-swp .*.swp + +/Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..2bafbed --- /dev/null +++ b/Gemfile @@ -0,0 +1,8 @@ +source 'https://rubygems.org' + +gem 'puppet', ENV['PUPPET_GEM_VERSION'] || '~> 3.7.0', require: false +gem 'puppetlabs_spec_helper', '< 2.0.0', require: false + +# Puppet 3.7 fails on ruby 2.2+ +# https://tickets.puppetlabs.com/browse/PUP-3796 +gem 'safe_yaml', '~> 1.0.4', require: false diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..0a8393f --- /dev/null +++ b/Rakefile @@ -0,0 +1,11 @@ +require 'puppet-syntax/tasks/puppet-syntax' + +task :default => [:help] + +desc 'Run all build/tests commands (CI entry point)' +task test: [:syntax] + +desc 'Show the help' +task :help do + system 'rake -T' +end -- To view, visit https://gerrit.wikimedia.org/r/338746 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I608d01656f5bc56e45dacb681d248ca315b546fd Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
