EN-0001 - add new stages
This commit is contained in:
4
.mdl_style.rb
Normal file
4
.mdl_style.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
all
|
||||
# exlude line lenght
|
||||
# exclude_rule 'MD013'
|
||||
rule 'MD013', :line_length => 1000
|
||||
18
.spelling
Normal file
18
.spelling
Normal file
@@ -0,0 +1,18 @@
|
||||
# markdown-spellcheck spelling configuration file
|
||||
# Format - lines begining # are comments
|
||||
# global dictionary is at the start, file overrides afterwards
|
||||
# one word per line, to define a file override use ' - filename'
|
||||
# where filename is relative to this configuration file
|
||||
Readme.md
|
||||
sudo
|
||||
selinux
|
||||
site.pp
|
||||
nodes.pp
|
||||
cd_sudo
|
||||
::
|
||||
params
|
||||
Foreman
|
||||
cd_resources
|
||||
CentOS
|
||||
Puppet
|
||||
ConfDroid
|
||||
6
Gemfile
6
Gemfile
@@ -3,7 +3,7 @@ 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', '>= 1.0.0'
|
||||
gem 'puppetlabs_spec_helper', '~> 3.0'
|
||||
gem 'puppet-lint'
|
||||
gem 'facter'
|
||||
gem 'rspec-puppet'
|
||||
@@ -15,6 +15,10 @@ gem 'rgen'
|
||||
gem 'public_suffix', '<= 2.0.5'
|
||||
gem 'parallel', '<= 1.13.0'
|
||||
gem 'puppet-syntax', '~> 2.6', '>= 2.6.1'
|
||||
<<<<<<< HEAD
|
||||
gem 'pathspec', '~> 0.2.1'
|
||||
=======
|
||||
>>>>>>> fff4fbb07cecdaeee187b4566e948ac1794dc6e8
|
||||
|
||||
# rspec must be v2 for ruby 1.8.7
|
||||
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
|
||||
|
||||
31
Jenkinsfile
vendored
31
Jenkinsfile
vendored
@@ -70,19 +70,44 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('update repo structure') {
|
||||
stage('markdown-lint') {
|
||||
steps {
|
||||
sh '''rm -Rf REPOSTRUCTURE.md
|
||||
echo "$(tree --dirsfirst --charset=ascii .)" > REPOSTRUCTURE.md'''
|
||||
sh '''
|
||||
source /opt/rh/rh-ruby27/enable
|
||||
mdl README.md
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('spell check') {
|
||||
steps {
|
||||
sh '''
|
||||
mdspell -r -n -a "**/*.md"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
stage('SonarScan') {
|
||||
steps {
|
||||
sh '''
|
||||
/opt/sonar-scanner/bin/sonar-scanner \
|
||||
-Dsonar.projectKey=cd_apache \
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.host.url=http://sonarqube.confdroid.com \
|
||||
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('create Puppet documention') {
|
||||
steps {
|
||||
sh '/opt/puppetlabs/bin/puppet strings'
|
||||
}
|
||||
}
|
||||
|
||||
=======
|
||||
>>>>>>> fff4fbb07cecdaeee187b4566e948ac1794dc6e8
|
||||
stage('update repo') {
|
||||
steps {
|
||||
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
|
||||
|
||||
Reference in New Issue
Block a user