Skip to content

Commit

Permalink
(SIMP-5585) Update static assets (#13)
Browse files Browse the repository at this point in the history
- Update static assets
- Update to onyxpoint OEL boxes in acceptance tests
- Update badges in README.md

SIMP-5585 #comment pupmod-simp-issue
  • Loading branch information
lnemsick-simp authored and trevor-vaughan committed Nov 7, 2018
1 parent f7b5f8c commit a3e14f8
Show file tree
Hide file tree
Showing 10 changed files with 286 additions and 323 deletions.
420 changes: 194 additions & 226 deletions .gitlab-ci.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.9
2.4.4
68 changes: 47 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
# The testing matrix considers ruby/puppet versions supported by SIMP and PE:
#
# https://puppet.com/docs/pe/2018.1/component_versions_in_recent_pe_releases.html
# https://puppet.com/misc/puppet-enterprise-lifecycle
# https://puppet.com/docs/pe/2018.1/overview/getting_support_for_pe.html
# ------------------------------------------------------------------------------
# release pup ruby eol
# PE 2016.4 4.7 2.1.9 TBD (LTS)
# PE 2016.5 4.8 2.1.9 2017-10-31
# SIMP6.0.0 4.8 2.1.9 TBD
# PE 2017.1 4.9 2.1.9 2017-10-31
# PE 2017.2 4.10 2.1.9 TBD
# 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 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
cache: bundler
sudo: false

stages:
- check
- spec
- name: deploy
if: 'fork = false AND tag = true'

bundler_args: --without development system_tests --path .vendor

notifications:
Expand All @@ -24,53 +39,65 @@ addons:
before_install:
- rm -f Gemfile.lock

global:
- STRICT_VARIABLES=yes

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

include:
- stage: check
rvm: 2.4.1
env: STRICT_VARIABLES=yes TRUSTED_NODE_DATA=yes PUPPET_VERSION="~> 5"
name: 'Syntax, style, and validation checks'
rvm: 2.4.4
env: PUPPET_VERSION="~> 5"
script:
- bundle exec rake check:dot_underscore
- bundle exec rake check:test_file
- bundle exec rake metadata_lint
- bundle exec rake pkg:check_version
- bundle exec rake metadata_lint
- bundle exec rake pkg:compare_latest_tag
- bundle exec rake pkg:create_tag_changelog
- bundle exec rake lint
- bundle exec puppet module build

- stage: spec
rvm: 2.4.1
env: STRICT_VARIABLES=yes TRUSTED_NODE_DATA=yes PUPPET_VERSION="~> 5.0"
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
rvm: 2.1.9
env: STRICT_VARIABLES=yes TRUSTED_NODE_DATA=yes PUPPET_VERSION="~> 4.10.0"
name: 'Puppet 5.3 (PE 2017.3)'
rvm: 2.4.4
env: PUPPET_VERSION="~> 5.3.0"
script:
- bundle exec rake spec

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

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

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

- stage: deploy
rvm: 2.4.1
rvm: 2.4.4
script:
- true
before_deploy:
Expand All @@ -90,5 +117,4 @@ jobs:
secure: "d/Rv4hKx7BgvktVYdWRv3SGQcwzzxMH1rZBeel8GBt0FUyWr+dpOEA/DAEoivZ4vpu+7Kmd5rOJEQHmkR9uCb+HW2xFmuTUHlDLNAS7W1qoz6eE8GFGUe3NSDnX3xgzxri8d7BtYRsOu2jZzBLaO/I6EPYtZb907pwh6w1GA3LH1CnLm9YC16gTLd0NSEZu8YZoWT6w/lBpccOrhqeJWwr3uHxeYvzkyZbagTQdialpCP8h0nbk8kQbG4wO4CWeTOsSgtReEJKVXtW7A+DK1Ew/H+xCstpaXTkQyYxgX2G0Y5feSZNhAo3ptw+kA0AiP7E8GVXoTNVVs3Oip3qzmz63VUWcdcXC7HKW8853FOefS8lDXplfjiH9aJeGuzs/Vl67bgCT28gD57FxBsT/S6nS3Y3tQUmlTrwUVTT4wOosSaP7UaREQJ7NYTf3OZkhxQGeTyo7MZuAhp72zNCZpEEA6uTCIJZE4bQozxTF/gM2Y4jf8zllBbco7DylWGAs+7gy4PtpOStPVBci4VHFKbiZB4llWJLT3CD7okYi3/eCfBVWtCtPh5wBMiWqGBjXSUmMPyd2ZZBypl9ckvCujsykEi5KtaHEClXk+JcBncDEIV2E+yOsSPaiD/RxosyZQ5HoFBoWgQSV1OsNJSZqjOx5B+63f4xY7tG/7dsyKvZE="
on:
tags: true
rvm: 2.4.1
condition: '($SKIP_FORGE_PUBLISH != true)'
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
* Wed Nov 07 2018 Liz Nemsick <lnemsick.simp@gmail.com> - 0.0.3-0
- Update static assets
- Update to onyxpoint OEL boxes in acceptance tests
- Update badges in README.md

* Mon Jun 25 2018 Trevor Vaughan <tvaughan@onyxpoint.com> - 0.0.3-0
- Removed the static banners from the module and tied the module to the
`simp/simp_banners` module
Expand Down
15 changes: 6 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# ------------------------------------------------------------------------------
# NOTE: SIMP Puppet rake tasks support ruby 2.1.9
# ------------------------------------------------------------------------------
gem_sources = ENV.fetch('GEM_SERVERS','https://rubygems.org').split(/[, ]+/)

gem_sources.each { |gem_source| source gem_source }

group :test do
gem 'rake'
gem 'puppet', ENV.fetch('PUPPET_VERSION', '~> 4.0')
gem 'puppet', ENV.fetch('PUPPET_VERSION', '~> 5.5')
gem 'rspec'
gem 'rspec-puppet', ['>= 2.6.11', '< 3.0.0']
gem 'rspec-puppet'
gem 'hiera-puppet-helper'
gem 'puppetlabs_spec_helper', '~> 2.7.0'
gem 'puppetlabs_spec_helper'
gem 'metadata-json-lint'
gem 'puppet-strings'
gem 'puppet-lint-empty_string-check', :require => false
gem 'puppet-lint-trailing_comma-check', :require => false
gem 'simp-rspec-puppet-facts', ENV.fetch('SIMP_RSPEC_PUPPET_FACTS_VERSION', '~> 2.0.0')
gem 'simp-rake-helpers', ENV.fetch('SIMP_RAKE_HELPERS_VERSION', ['>= 5.2', '< 6.0'])
gem 'simp-rspec-puppet-facts', ENV.fetch('SIMP_RSPEC_PUPPET_FACTS_VERSION', '~> 2.2')
gem 'simp-rake-helpers', ENV.fetch('SIMP_RAKE_HELPERS_VERSION', '~> 5.6')
gem 'facterdb'
end

Expand All @@ -29,5 +26,5 @@ end
group :system_tests do
gem 'beaker'
gem 'beaker-rspec'
gem 'simp-beaker-helpers', ENV.fetch('SIMP_BEAKER_HELPERS_VERSION', '~> 1.10')
gem 'simp-beaker-helpers', ENV.fetch('SIMP_BEAKER_HELPERS_VERSION', '~> 1.12')
end
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) [![Build Status](https://travis-ci.org/simp/pupmod-simp-issue.svg)](https://travis-ci.org/simp/pupmod-simp-issue) [![SIMP compatibility](https://img.shields.io/badge/SIMP%20compatibility-6.*-orange.svg)](https://img.shields.io/badge/SIMP%20compatibility-6.*-orange.svg)
[![License](https://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/73/badge)](https://bestpractices.coreinfrastructure.org/projects/73)
[![Puppet Forge](https://img.shields.io/puppetforge/v/simp/issue.svg)](https://forge.puppetlabs.com/simp/issue)
[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/simp/issue.svg)](https://forge.puppetlabs.com/simp/issue)
[![Build Status](https://travis-ci.org/simp/pupmod-simp-issue.svg)](https://travis-ci.org/simp/pupmod-simp-issue)

#### Table of Contents

Expand All @@ -16,7 +20,8 @@ file examples.

### This is a SIMP module

This module is a component of the [System Integrity Management Platform](https://github.com/NationalSecurityAgency/SIMP), a compliance-management framework built on Puppet.
This module is a component of the [System Integrity Management Platform](https://simp-project.com),
a compliance-management framework built on Puppet.

If you find any issues, they may be submitted to our [bug tracker](https://simp-project.atlassian.net/).

Expand Down
14 changes: 12 additions & 2 deletions spec/acceptance/nodesets/default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<%
if ENV['BEAKER_HYPERVISOR']
hypervisor = ENV['BEAKER_HYPERVISOR']
else
hypervisor = 'vagrant'
end
-%>
HOSTS:
el6:
roles:
Expand All @@ -6,7 +13,7 @@ HOSTS:
- client
platform: el-6-x86_64
box: centos/6
hypervisor: vagrant
hypervisor: <%= hypervisor %>
yum_repos:
epel:
mirrorlist: 'https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch'
Expand All @@ -17,7 +24,7 @@ HOSTS:
- client
platform: el-7-x86_64
box: centos/7
hypervisor: vagrant
hypervisor: <%= hypervisor %>
yum_repos:
epel:
mirrorlist: 'https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch'
Expand All @@ -26,3 +33,6 @@ HOSTS:
CONFIG:
log_level: verbose
type: aio
<% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
<% end -%>
18 changes: 14 additions & 4 deletions spec/acceptance/nodesets/oel.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
<%
if ENV['BEAKER_HYPERVISOR']
hypervisor = ENV['BEAKER_HYPERVISOR']
else
hypervisor = 'vagrant'
end
-%>
HOSTS:
oel6:
roles:
- default
- master
- client
platform: el-6-x86_64
box: elastic/oel-6-x86_64
hypervisor: vagrant
box: onyxpoint/oel-6-x86_64
hypervisor: <%= hypervisor %>
yum_repos:
epel:
mirrorlist: 'https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch'
Expand All @@ -16,8 +23,8 @@ HOSTS:
roles:
- client
platform: el-7-x86_64
box: elastic/oel-7-x86_64
hypervisor: vagrant
box: onyxpoint/oel-7-x86_64
hypervisor: <%= hypervisor %>
yum_repos:
epel:
mirrorlist: 'https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch'
Expand All @@ -26,3 +33,6 @@ HOSTS:
CONFIG:
log_level: verbose
type: aio
<% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
<% end -%>
29 changes: 0 additions & 29 deletions spec/acceptance/nodesets/oel_p5.yml

This file was deleted.

29 changes: 0 additions & 29 deletions spec/acceptance/nodesets/puppet5.yml

This file was deleted.

0 comments on commit a3e14f8

Please sign in to comment.