Skip to content

Commit

Permalink
(SIMP-5680) Add v2 compliance_markup data (#69)
Browse files Browse the repository at this point in the history
SIMP-5680 #close
  • Loading branch information
silug authored and trevor-vaughan committed Jul 6, 2019
1 parent 25c8935 commit ff73eed
Show file tree
Hide file tree
Showing 13 changed files with 733 additions and 82 deletions.
1 change: 1 addition & 0 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fixtures:
pki: https://github.com/simp/pupmod-simp-pki
rsyslog: https://github.com/simp/pupmod-simp-rsyslog
oddjob: https://github.com/simp/pupmod-simp-oddjob
simp_options: https://github.com/simp/pupmod-simp-simp_options
simplib: https://github.com/simp/pupmod-simp-simplib
ssh: https://github.com/simp/pupmod-simp-ssh
sssd: https://github.com/simp/pupmod-simp-sssd
Expand Down
83 changes: 19 additions & 64 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# https://puppet.com/docs/pe/2018.1/overview/getting_support_for_pe.html
# ------------------------------------------------------------------------------
# Release Puppet Ruby EOL
# 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
Expand Down Expand Up @@ -69,10 +69,10 @@ variables:
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'

Expand All @@ -83,7 +83,6 @@ variables:
BEAKER_PUPPET_COLLECTION: 'puppet6'
MATRIX_RUBY_VERSION: '2.5'


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

Expand Down Expand Up @@ -150,8 +149,8 @@ pup5-unit:
<<: *pup_5
<<: *unit_tests

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

pup6-unit:
Expand All @@ -160,83 +159,39 @@ pup6-unit:

# Acceptance tests
# ==============================================================================
pup5.5.7:
<<: *pup_5_5_7
pup5.5.10:
<<: *pup_5_5_10
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites[default]'
- 'bundle exec rake beaker:suites'

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

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

pup5.5.7-oel-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[default,oel]'

pup5.5.7-security_modules:
<<: *pup_5_5_7
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites[security_modules]'

pup5.5.7-security_modules-fips:
<<: *pup_5_5_7
<<: *acceptance_base
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites[security_modules]'

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

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

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

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

pup5.5.7-compliance-fips:
<<: *pup_5_5_7
<<: *compliance_base
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites[compliance]'

pup6:
<<: *pup_6
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites[default]'
- 'bundle exec rake beaker:suites'

pup6-compliance-fips:
pup6-fips:
<<: *pup_6
<<: *acceptance_base
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites[compliance]'
- 'BEAKER_fips=yes bundle exec rake beaker:suites'
1 change: 0 additions & 1 deletion .puppet-lint.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
--log-format="%{path}:%{line}:%{check}:%{KIND}:%{message}"
--relative
--no-140chars-check
--no-trailing_comma-check
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ addons:

before_install:
- rm -f Gemfile.lock
- gem install -v '~> 1.16' bundler
- 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
Expand All @@ -45,7 +46,7 @@ jobs:
- stage: check
name: 'Syntax, style, and validation checks'
rvm: 2.4.5
env: PUPPET_VERSION="~> 5.5"
env: PUPPET_VERSION="~> 5"
script:
- bundle exec rake check:dot_underscore
- bundle exec rake check:test_file
Expand Down Expand Up @@ -84,8 +85,6 @@ jobs:
script:
- bundle exec rake spec

# Uncomment the following for deployment tasks and set 'secure' in both
# sections appropriately
- stage: deploy
rvm: 2.4.5
script:
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]> - 6.6.0-0
- Add v2 compliance_markup data

* Mon Apr 29 2019 Trevor Vaughan <[email protected]> - 6.5.0-0
- Fix bug where the ending faillock items were not being called due to the
'sufficient' lines on pam_unix and pam_sssd.
Expand Down
Loading

0 comments on commit ff73eed

Please sign in to comment.