Skip to content

Commit

Permalink
(SIMP-5682) Add v2 compliance_markup data (#42)
Browse files Browse the repository at this point in the history
SIMP-5682 #close
  • Loading branch information
silug authored and trevor-vaughan committed Jul 5, 2019
1 parent a59bad8 commit 1a96d82
Show file tree
Hide file tree
Showing 13 changed files with 661 additions and 89 deletions.
13 changes: 13 additions & 0 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
---
fixtures:
repositories:
auditd: https://github.com/simp/pupmod-simp-auditd
augeas_core:
repo: https://github.com/simp/pupmod-puppetlabs-augeas_core.git
puppet_version: ">= 6.0.0"
augeasproviders_core: https://github.com/simp/augeasproviders_core
augeasproviders_grub: https://github.com/simp/augeasproviders_grub
compliance_markup: https://github.com/simp/pupmod-simp-compliance_markup
concat: https://github.com/simp/puppetlabs-concat
haveged: https://github.com/simp/pupmod-simp-haveged
iptables: https://github.com/simp/pupmod-simp-iptables
logrotate: https://github.com/simp/pupmod-simp-logrotate
pki: https://github.com/simp/pupmod-simp-pki
rsyslog: https://github.com/simp/pupmod-simp-rsyslog
simp_options: https://github.com/simp/pupmod-simp-simp_options
simplib: https://github.com/simp/pupmod-simp-simplib
stdlib: https://github.com/simp/puppetlabs-stdlib
systemd:
repo: https://github.com/simp/puppet-systemd
branch: simp-master
symlinks:
postfix: "#{source_dir}"
78 changes: 23 additions & 55 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@
# https://puppet.com/docs/pe/2018.1/overview/getting_support_for_pe.html
# ------------------------------------------------------------------------------
# Release Puppet Ruby EOL
# SIMP 6.1 4.10.6 2.1.9 TBD
# SIMP 6.2 4.10.12 2.1.9 TBD
# SIMP 6.3 5.5.7 2.4.4 TBD***
# PE 2018.1 5.5.8 2.4.4 2020-05 (LTS)***
# SIMP 6.3 5.5.10 2.4.5 TBD***
# PE 2018.1 5.5.8 2.4.5 2020-05 (LTS)***
# PE 2019.0 6.0 2.5.1 2019-08-31^^^
#
# *** = Modules created for SIMP 6.3+ are not required to support Puppet < 5.5
# ^^^ = SIMP doesn't support 6 yet; tests are info-only and allowed to fail
---
stages:
- 'sanity'
Expand Down Expand Up @@ -65,41 +62,27 @@ variables:
# Puppet Versions
#-----------------------------------------------------------------------

.pup_4: &pup_4
image: 'ruby:2.1'
variables:
PUPPET_VERSION: '~> 4.0'
MATRIX_RUBY_VERSION: '2.1'

.pup_4_10: &pup_4_10
image: 'ruby:2.1'
variables:
PUPPET_VERSION: '~> 4.10.4'
MATRIX_RUBY_VERSION: '2.1'

.pup_5: &pup_5
image: 'ruby:2.4'
variables:
PUPPET_VERSION: '~> 5.0'
BEAKER_PUPPET_COLLECTION: 'puppet5'
MATRIX_RUBY_VERSION: '2.4'

.pup_5_5_7: &pup_5_5_7
.pup_5_5_10: &pup_5_5_10
image: 'ruby:2.4'
variables:
PUPPET_VERSION: '5.5.7'
PUPPET_VERSION: '5.5.10'
BEAKER_PUPPET_COLLECTION: 'puppet5'
MATRIX_RUBY_VERSION: '2.4'

.pup_6: &pup_6
allow_failure: true
image: 'ruby:2.5'
variables:
PUPPET_VERSION: '~> 6.0'
BEAKER_PUPPET_COLLECTION: 'puppet6'
MATRIX_RUBY_VERSION: '2.5'


# Testing Environments
#-----------------------------------------------------------------------

Expand Down Expand Up @@ -151,10 +134,6 @@ sanity_checks:
# Linting
#-----------------------------------------------------------------------

pup4-lint:
<<: *pup_4
<<: *lint_tests

pup5-lint:
<<: *pup_5
<<: *lint_tests
Expand All @@ -170,12 +149,8 @@ pup5-unit:
<<: *pup_5
<<: *unit_tests

pup5.5.7-unit:
<<: *pup_5_5_7
<<: *unit_tests

pup4.10-unit:
<<: *pup_4_10
pup5.5.10-unit:
<<: *pup_5_5_10
<<: *unit_tests

pup6-unit:
Expand All @@ -184,46 +159,39 @@ pup6-unit:

# Acceptance tests
# ==============================================================================
pup4.10:
<<: *pup_4_10
pup5.5.10:
<<: *pup_5_5_10
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites'

pup4.10-fips:
<<: *pup_4_10
pup5.5.10-fips:
<<: *pup_5_5_10
<<: *acceptance_base
<<: *only_with_SIMP_FULL_MATRIX
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites'

pup5.5.7:
<<: *pup_5_5_7
pup5.5.10-oel:
<<: *pup_5_5_10
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites'
- 'bundle exec rake beaker:suites[default,oel]'

pup5.5.7-fips:
<<: *pup_5_5_7
pup5.5.10-oel-fips:
<<: *pup_5_5_10
<<: *acceptance_base
<<: *only_with_SIMP_FULL_MATRIX
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites'
- 'BEAKER_fips=yes bundle exec rake beaker:suites[default,oel]'

pup5.5.7-oel:
<<: *pup_5_5_7
pup6:
<<: *pup_6
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites[default,oel]'
- 'bundle exec rake beaker:suites'

pup5.5.7-oel-fips:
<<: *pup_5_5_7
pup6-fips:
<<: *pup_6
<<: *acceptance_base
<<: *only_with_SIMP_FULL_MATRIX
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites[default,oel]'

# pup5.5.7-compliance-fips:
# <<: *pup_5_5_7
# <<: *compliance_base
# script:
# - 'BEAKER_fips=yes bundle exec rake beaker:suites[compliance]'
- 'BEAKER_fips=yes bundle exec rake beaker:suites'
33 changes: 11 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
# https://puppet.com/docs/pe/2018.1/overview/getting_support_for_pe.html
# ------------------------------------------------------------------------------
# Release Puppet Ruby EOL
# SIMP 6.2 4.10 2.1.9 TBD
# PE 2016.4 4.10 2.1.9 2018-12-31 (LTS)
# PE 2017.3 5.3 2.4.4 2018-12-31
# SIMP 6.3 5.5 2.4.4 TBD***
# PE 2018.1 5.5 2.4.4 2020-05 (LTS)***
# PE 2017.3 5.3 2.4.5 2018-12-31
# SIMP 6.3 5.5 2.4.5 TBD***
# PE 2018.1 5.5 2.4.5 2020-05 (LTS)***
# PE 2019.0 6.0 2.5.1 2019-08-31^^^
#
# *** = Modules created for SIMP 6.3+ are not required to support Puppet < 5.5
# ^^^ = SIMP doesn't support 6 yet; tests are info-only and allowed to fail

---
language: ruby
Expand All @@ -38,18 +35,17 @@ addons:

before_install:
- rm -f Gemfile.lock
- for x in ${HOME}/.rvm/gems/*; do gem uninstall -I -x -i "${x}" -v '>= 1.17' bundler || true; gem uninstall -I -x -i "${x}@global" -v '>= 1.17' bundler || true; done
- gem install -v '~> 1.17' bundler

global:
- STRICT_VARIABLES=yes

jobs:
allow_failures:
- name: 'Latest Puppet 6.x (allowed to fail)'

include:
- stage: check
name: 'Syntax, style, and validation checks'
rvm: 2.4.4
rvm: 2.4.5
env: PUPPET_VERSION="~> 5"
script:
- bundle exec rake check:dot_underscore
Expand All @@ -61,43 +57,36 @@ jobs:
- bundle exec rake lint
- bundle exec puppet module build

- stage: spec
name: 'Puppet 4.10 (SIMP 6.2, PE 2016.4)'
rvm: 2.1.9
env: PUPPET_VERSION="~> 4.10.0"
script:
- bundle exec rake spec

- stage: spec
name: 'Puppet 5.3 (PE 2017.3)'
rvm: 2.4.4
rvm: 2.4.5
env: PUPPET_VERSION="~> 5.3.0"
script:
- bundle exec rake spec

- stage: spec
rvm: 2.4.4
rvm: 2.4.5
name: 'Puppet 5.5 (SIMP 6.3, PE 2018.1)'
env: PUPPET_VERSION="~> 5.5.0"
script:
- bundle exec rake spec

- stage: spec
name: 'Latest Puppet 5.x'
rvm: 2.4.4
rvm: 2.4.5
env: PUPPET_VERSION="~> 5.0"
script:
- bundle exec rake spec

- stage: spec
name: 'Latest Puppet 6.x (allowed to fail)'
name: 'Latest Puppet 6.x'
rvm: 2.5.1
env: PUPPET_VERSION="~> 6.0"
script:
- bundle exec rake spec

- stage: deploy
rvm: 2.4.4
rvm: 2.4.5
script:
- true
before_deploy:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Thu Jun 06 2019 Steven Pritchard <[email protected]> - 5.3.0-0
- Add v2 compliance_markup data

* Tue Mar 05 2019 Chris Tessmer <[email protected]> - 5.2.1-0
- Fixed "unrecognized escape `\''" error in /root/.muttrc
- Fix DOS formatting of CHANGELOG
Expand Down
Loading

0 comments on commit 1a96d82

Please sign in to comment.