Skip to content

Commit

Permalink
(SIMP-10176) stunnel Add Puppet 7 acceptance test (#94)
Browse files Browse the repository at this point in the history
* Add a Puppet 7 acceptance test
* Remove check for Puppet >=6 in .fixtures.yml
* Fail acceptance tests if no examples are executed.

[SIMP-9666] #comment pupmod-simp-stunnel acceptance tests configured
SIMP-10176 #close
  • Loading branch information
lnemsick-simp authored Jul 1, 2021
1 parent d90d9d2 commit d9fb5b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
fixtures:
repositories:
auditd: https://github.com/simp/pupmod-simp-auditd.git
augeas_core:
repo: https://github.com/simp/pupmod-puppetlabs-augeas_core.git
puppet_version: ">= 6.0.0"
augeas_core: https://github.com/simp/pupmod-puppetlabs-augeas_core.git
augeasproviders_core: https://github.com/simp/augeasproviders_core.git
augeasproviders_grub: https://github.com/simp/augeasproviders_grub.git
compliance_markup: https://github.com/simp/pupmod-simp-compliance_markup.git
Expand Down
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,3 +368,9 @@ pup6.pe-oel-fips:
<<: *with_SIMP_ACCEPTANCE_MATRIX_LEVEL_3
script:
- 'BEAKER_fips=yes bundle exec rake beaker:suites[default,oel]'

pup7.x:
<<: *pup_7_x
<<: *acceptance_base
script:
- 'bundle exec rake beaker:suites[default,default]'
4 changes: 4 additions & 0 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
# ensure that environment OS is ready on each host
fix_errata_on hosts

# Detect cases in which no examples are executed (e.g., nodeset does not
# have hosts with required roles)
c.fail_if_no_examples = true

# Readable test descriptions
c.formatter = :documentation

Expand Down

0 comments on commit d9fb5b4

Please sign in to comment.