TODO-00013 - remove gem references

This commit is contained in:
Arne Teuke
2021-12-29 15:22:34 +01:00
parent 86c67d4121
commit 595ab29886
2 changed files with 2 additions and 35 deletions

27
Gemfile
View File

@@ -1,27 +0,0 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
puppetversion = ENV.key?('PUPPET_VERSION') ? ENV['PUPPET_VERSION'] : ['<= 5.5.6']
gem 'metadata-json-lint', '~> 2.4'
gem 'puppet', puppetversion
gem 'puppetlabs_spec_helper', '~> 3.0'
gem 'puppet-lint'
gem 'facter'
gem 'rspec-puppet'
gem 'yard'
gem 'puppet-strings', '< 2.0.0'
gem 'rake', '~> 12.3', '>= 12.3.3'
gem 'semantic_puppet'
gem 'rgen'
gem 'public_suffix', '<= 2.0.5'
gem 'parallel', '<= 1.13.0'
gem 'puppet-syntax', '~> 2.6', '>= 2.6.1'
gem 'pathspec', '~> 0.2.1'
# rspec must be v2 for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
gem 'rspec', '~> 2.0'
gem 'rake', '~> 10.0'
else
# rubocop requires ruby >= 1.9
gem 'rubocop', '<= 0.50.0'
end

10
Jenkinsfile vendored
View File

@@ -22,7 +22,7 @@ pipeline {
stages {
stage('pulling master') {
stage('pull master') {
steps {
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
sh '''git config user.name "Jenkins Server"
@@ -33,12 +33,6 @@ pipeline {
}
}
stage('install gems') {
steps {
sh 'bundle install'
}
}
stage('puppet parser') {
steps {
sh '''for file in $(find . -iname \'*.pp\'); do
@@ -57,7 +51,7 @@ pipeline {
stage('puppet-lint') {
steps {
sh '''find . -iname *.pp -exec /var/lib/jenkins/bin/puppet-lint \\
sh '''find . -iname *.pp -exec /usr/local/rvm/gems/ruby-2.5.0/wrappers/puppet-lint \\
--no-class_inherits_from_params_class-check \\
--no-variable_scope-check \\
--no-80chars-check \\