simp-beaker-helpers 1.18.7 → 1.19.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c9e3aa05ef72a88b5b47a58fd135b79f0e18f1c8904e54d20b8795f168e163a
4
- data.tar.gz: 44ebf1aa2489a831fa8b9477888a0122d3a44a0a92f175c4a5cd7ce5093eeede
3
+ metadata.gz: 9eede146380997a5256ef8fc379350b7b2b44e5a4a1156e5a14f13a5be0d396d
4
+ data.tar.gz: 31345b9736832c517f96e327dd18ddaca39c9eb72b0d94b9b56e83344f83d645
5
5
  SHA512:
6
- metadata.gz: a3ccf798229dbc16ed9aceac1b9e21992b35ca23ede613343037bcb0143ab5f9785dcfe797a98d8764f83c5c85bd6e84116f2c5efd842d885905b9c2da4baac7
7
- data.tar.gz: 26a69f5aa235c6074788d7103cedde8abba88df6216eb8b347456d64e488047b68aa3754d2a86f8f9b7533977d5037e37939f3a471277377ca9ca537cee789af
6
+ metadata.gz: 89e30957c049a514d97f58e99f2668682fa956e7a43a7414e69dff18d58f9af2f7ac2bf715ba72af97ffe6cdf93630dc3eeb68a45096b07adad069a907abaa93
7
+ data.tar.gz: 004cf046d60282beeecc534f39b45d4398cf4b35bccc0b9e46a6cdddf260cd2fd222ebb796e66e10f6cd9e518b7b806584716ccc0eb8734ff2c00181a3a53748
@@ -0,0 +1,8 @@
1
+ ---
2
+ fixtures:
3
+ repositories:
4
+ fips: https://github.com/simp/pupmod-simp-fips
5
+ augeasproviders_core: https://github.com/simp/augeasproviders_core
6
+ augeasproviders_grub: https://github.com/simp/augeasproviders_grub
7
+ simplib: https://github.com/simp/pupmod-simp-simplib
8
+ stdlib: https://github.com/simp/puppetlabs-stdlib
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  fixtures:
3
- # Needed for Hiera v5 to work
4
- forge_modules:
5
- compliance_markup: "simp/compliance_markup"
6
3
  repositories:
7
- stdlib: "https://github.com/simp/puppetlabs-stdlib"
4
+ stdlib: https://github.com/simp/puppetlabs-stdlib
5
+ simplib: https://github.com/simp/pupmod-simp-simplib
6
+ compliance_markup: https://github.com/simp/pupmod-simp-compliance_markup
8
7
 
@@ -1,163 +1,366 @@
1
+ # ------------------------------------------------------------------------------
2
+ # NOTICE: **This file is maintained with puppetsync**
3
+ #
4
+ # This file is updated automatically as part of a puppet module baseline.
5
+ #
6
+ # The next baseline sync will overwrite any local changes to everything above
7
+ # the line "# Repo-specific content"
8
+ # ------------------------------------------------------------------------------
9
+ # The testing matrix considers ruby/puppet versions supported by SIMP and PE:
10
+ #
11
+ # https://puppet.com/docs/pe/2019.8/component_versions_in_recent_pe_releases.html
12
+ # https://puppet.com/misc/puppet-enterprise-lifecycle
13
+ # https://puppet.com/docs/pe/2018.1/overview/getting_support_for_pe.html
14
+ # ------------------------------------------------------------------------------
15
+ # Release Puppet Ruby EOL
16
+ # SIMP 6.4 5.5 2.4.10 TBD
17
+ # PE 2018.1 5.5 2.4.10 2021-01 (LTS overlap)
18
+ # PE 2019.8 6.18 2.5.7 2022-12 (LTS)
1
19
  ---
2
- .cache_bundler: &cache_bundler
20
+
21
+ stages:
22
+ - 'validation'
23
+ - 'acceptance'
24
+ - 'compliance'
25
+ - 'deployment'
26
+
27
+ variables:
28
+ # PUPPET_VERSION is a canary variable!
29
+ #
30
+ # The value `UNDEFINED` will (intentionally) cause `bundler install|update` to
31
+ # fail. The intended value for PUPPET_VERSION is provided by the `pup_#` YAML
32
+ # anchors. If it is still `UNDEFINED`, all the other setting from the job's
33
+ # anchor are also missing.
34
+ PUPPET_VERSION: 'UNDEFINED' # <- Matrixed jobs MUST override this (or fail)
35
+ BUNDLER_VERSION: '1.17.1'
36
+ SIMP_MATRIX_LEVEL: '1'
37
+ SIMP_FORCE_RUN_MATRIX: 'no'
38
+
39
+ # Force dependencies into a path the gitlab-runner user can write to.
40
+ # (This avoids some failures on Runners with misconfigured ruby environments.)
41
+ GEM_HOME: .vendor/gem_install
42
+ BUNDLE_CACHE_PATH: .vendor/bundle
43
+ BUNDLE_PATH: .vendor/bundle
44
+ BUNDLE_BIN: .vendor/gem_install/bin
45
+ BUNDLE_NO_PRUNE: 'true'
46
+
47
+
48
+ # bundler dependencies + caching, optional RVM setup, with diagnostic output
49
+ # --------------------------------------------------------------------------
50
+ .setup_bundler_env: &setup_bundler_env
3
51
  cache:
4
- untracked: true
5
- # A broad attempt at caching between runs (ala Travis CI)
6
- key: "${CI_PROJECT_NAMESPACE}__bundler"
52
+ # Cache bundler gems between pipelines for each Ruby version
53
+ key: "${CI_PROJECT_NAMESPACE}_ruby-${MATRIX_RUBY_VERSION}_bundler"
7
54
  paths:
8
55
  - '.vendor'
9
- - 'vendor'
10
-
11
- .setup_bundler_env: &setup_bundler_env
12
56
  before_script:
13
- - 'echo Files in cache: $(find .vendor | wc -l) || :'
14
- - 'export GEM_HOME=.vendor/gem_install'
15
- - 'export BUNDLE_CACHE_PATH=.vendor/bundler'
16
- - 'declare GEM_BUNDLER_VER=(-v ''~> ${BUNDLER_VERSION:-1.16.0}'')'
17
- - declare GEM_INSTALL=(gem install --no-document)
18
- - declare BUNDLER_INSTALL=(bundle install --no-binstubs --jobs $(nproc) --path=.vendor "${FLAGS[@]}")
19
- - gem list -ie "${GEM_BUNDLE_VER[@]}" --silent bundler || "${GEM_INSTALL[@]}" --local "${GEM_BUNDLE_VER[@]}" bundler || "${GEM_INSTALL[@]}" "${GEM_BUNDLE_VER[@]}" bundler
57
+ - 'ruby -e "puts %(\n\n), %q(=)*80, %(\nSIMP-relevant Environment Variables:\n\n#{e=ENV.keys.grep(/^PUPPET|^SIMP|^BEAKER|MATRIX/); pad=e.map{|x| x.size}.max+1; e.map{|v| %( * #{%(#{v}:).ljust(pad)} #{39.chr + ENV[v] + 39.chr}\n)}.join}\n), %q(=)*80, %(\n\n)"'
58
+ # Diagnostic ruby & gem information
59
+ - 'which ruby && ruby --version || :'
60
+ - "[[ $- == *i* ]] && echo 'Interactive shell session' || echo 'Non-interactive shell session'"
61
+ - "shopt -q login_shell && echo 'Login shell' || echo 'Not a login shell'"
62
+ - 'rvm ls || :'
63
+
64
+ # If RVM is available, make SURE it's using the right Ruby:
65
+ # * Source rvm (to run in non-login shells)
66
+ # * If any $MATRIX_RUBY_VERSION rubies are available, use the latest
67
+ # * Otherwise: install & use ${MATRIX_RUBY_VERSION}-head (e.g., latest)
68
+ # * ^^ This could be wonky and introduce variations across runners
69
+ # * ^^ maybe it should just fail if there is no $MATRIX_RUBY_VERSION installed?
70
+ - "command -v rvm && { if declare -p rvm_path &> /dev/null; then source \"${rvm_path}/scripts/rvm\"; else source \"$HOME/.rvm/scripts/rvm\" || source /etc/profile.d/rvm.sh; fi; }"
71
+ - "command -v rvm && { LATEST_RVM_RUBY_XY=\"$(rvm ls | grep \"$MATRIX_RUBY_VERSION\" | tail -1 | sed -e 's/^.*\\([0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\\).*$/\\1/g')\"; if [ -z \"$LATEST_RVM_RUBY_XY\" ]; then LATEST_RVM_RUBY_XY=\"${MATRIX_RUBY_VERSION}-head\"; rvm install \"$LATEST_RVM_RUBY\" --no-docs; else echo \"Found RVM Ruby: '${LATEST_RVM_RUBY_XY}'\"; fi; rvm use \"$LATEST_RVM_RUBY_XY\" ; }"
72
+ - 'ruby --version || :'
73
+ - 'gem list sync || :'
74
+
75
+ # Bundle gems (preferring cached > local > downloaded resources)
76
+ # * Try to use cached and local resources before downloading dependencies
77
+ - 'declare GEM_BUNDLER_VER=(-v "~> ${BUNDLER_VERSION:-1.17.1}")'
78
+ - 'declare GEM_INSTALL_CMD=(gem install --no-document)'
79
+ - 'declare BUNDLER_INSTALL_CMD=(bundle install --no-binstubs --jobs $(nproc) "${FLAGS[@]}")'
80
+ - 'mkdir -p ${GEM_HOME} ${BUNDLER_BIN}'
81
+ - 'gem list -ie "${GEM_BUNDLER_VER[@]}" --silent bundler || "${GEM_INSTALL_CMD[@]}" --local "${GEM_BUNDLER_VER[@]}" bundler || "${GEM_INSTALL_CMD[@]}" "${GEM_BUNDLER_VER[@]}" bundler'
20
82
  - 'rm -rf pkg/ || :'
21
- - bundle check || rm -f Gemfile.lock && ("${BUNDLER_INSTALL[@]}" --local || "${BUNDLER_INSTALL[@]}")
83
+ - 'bundle check || rm -f Gemfile.lock && ("${BUNDLER_INSTALL_CMD[@]}" --local || "${BUNDLER_INSTALL_CMD[@]}" || bundle pristine || "${BUNDLER_INSTALL_CMD[@]}") || { echo "PIPELINE: Bundler could not install everything (see log output above)" && exit 99 ; }'
22
84
 
85
+ # Diagnostic bundler, ruby, and gem checks:
86
+ - 'bundle exec rvm ls || :'
87
+ - 'bundle exec which ruby || :'
88
+ - 'bundle show sync || :'
89
+ - 'bundle exec gem list sync || :'
23
90
 
24
- .validation_checks: &validation_checks
25
- script:
26
- - bundle exec rake syntax
27
- - bundle exec rake check:dot_underscore
28
- - bundle exec rake check:test_file
29
- - bundle exec rake lint
30
- # - bundle exec rake pkg:check_version
31
- # - bundle exec rake pkg:compare_latest_tag
32
-
33
- .spec_tests: &spec_tests
34
- script:
35
- - bundle exec rake spec
36
91
 
37
- # To avoid running a prohibitive number of tests every commit,
38
- # don't set this env var in your gitlab instance
39
- .only_with_SIMP_FULL_MATRIX: &only_with_SIMP_FULL_MATRIX
40
- only:
41
- variables:
42
- - $SIMP_FULL_MATRIX
92
+ # Assign a matrix level when your test will run. Heavier jobs get higher numbers
93
+ # NOTE: To skip all jobs with a SIMP_MATRIX_LEVEL, set SIMP_MATRIX_LEVEL=0
94
+ # ------------------------------------------------------------------------------
43
95
 
44
- stages:
45
- - validation
46
- - unit
47
- - acceptance
48
- - deploy
49
-
50
- # Puppet 4.10 for PE 2017.2 support (EOL:2018-02-21)
51
- # See: https://puppet.com/misc/puppet-enterprise-lifecycle
52
- # --------------------------------------
53
- 2_1-validation:
54
- stage: validation
55
- tags:
56
- - docker
57
- image: ruby:2.1
58
- <<: *cache_bundler
96
+ .relevant_file_conditions_trigger_spec_tests: &relevant_file_conditions_trigger_spec_tests
97
+ changes:
98
+ - .gitlab-ci.yml
99
+ - .fixtures.yml
100
+ - "spec/spec_helper.rb"
101
+ - "spec/{classes,unit,defines,type_aliases,types,hosts}/**/*.rb"
102
+ - "{manifests,files,types}/**/*"
103
+ - "templates/*.{erb,epp}"
104
+ - "lib/**/*"
105
+ - "Gemfile"
106
+ - "SIMP/**/*"
107
+ - "data/**/*"
108
+ exists:
109
+ - "spec/{classes,unit,defines,type_aliases,types,hosts}/**/*_spec.rb"
110
+
111
+ .relevant_file_conditions_trigger_acceptance_tests: &relevant_file_conditions_trigger_acceptance_tests
112
+ changes:
113
+ - .gitlab-ci.yml
114
+ - "spec/spec_helper_acceptance.rb"
115
+ - "spec/acceptance/**/*"
116
+ - "{manifests,files,types}/**/*"
117
+ - "templates/*.{erb,epp}"
118
+ - "lib/**/*"
119
+ - "Gemfile"
120
+ - "SIMP/**/*"
121
+ - "data/**/*"
122
+ exists:
123
+ - "spec/acceptance/**/*_spec.rb"
124
+
125
+ # For some reason, the rule regexes stopped matching line starts inside
126
+ # $CI_COMMIT_MESSAGE with carets /^/, so we're using /\n?/ as a workaround.
127
+ .skip_job_when_commit_message_says_to: &skip_job_when_commit_message_says_to
128
+ if: '$CI_COMMIT_MESSAGE =~ /\n?CI: (SKIP MATRIX|MATRIX LEVEL 0)/'
129
+ when: never
130
+
131
+ .force_run_job_when_commit_message_lvl_1_or_above: &force_run_job_when_commit_mssage_lvl_1_or_above
132
+ if: '$CI_COMMIT_MESSAGE =~ /\n?CI: MATRIX LEVEL [123]/'
133
+ when: on_success
134
+
135
+ .force_run_job_when_commit_message_lvl_2_or_above: &force_run_job_when_commit_mssage_lvl_2_or_above
136
+ if: '$CI_COMMIT_MESSAGE =~ /\n?CI: MATRIX LEVEL [23]/'
137
+ when: on_success
138
+
139
+ .force_run_job_when_commit_message_lvl_3_or_above: &force_run_job_when_commit_mssage_lvl_3_or_above
140
+ if: '$CI_COMMIT_MESSAGE =~ /\n?CI: MATRIX LEVEL [3]/'
141
+ when: on_success
142
+
143
+ # check for $CI_PIPELINE_SOURCE needed because this is combined w/when:changes
144
+ .run_job_when_level_1_or_above_w_changes: &run_job_when_level_1_or_above_w_changes
145
+ if: '$SIMP_MATRIX_LEVEL =~ /^[123]$/ && $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
146
+ when: on_success
147
+
148
+ .run_job_when_level_2_or_above_w_changes: &run_job_when_level_2_or_above_w_changes
149
+ if: '$SIMP_MATRIX_LEVEL =~ /^[23]$/ && $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
150
+ when: on_success
151
+
152
+ .run_job_when_level_3_or_above_w_changes: &run_job_when_level_3_or_above_w_changes
153
+ if: '$SIMP_MATRIX_LEVEL =~ /^[3]$/ && $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
154
+ when: on_success
155
+
156
+ .force_run_job_when_var_and_lvl_1_or_above: &force_run_job_when_var_and_lvl_1_or_above
157
+ if: '$SIMP_FORCE_RUN_MATRIX == "yes" && $SIMP_MATRIX_LEVEL =~ /^[123]$/'
158
+ when: on_success
159
+
160
+ .force_run_job_when_var_and_lvl_2_or_above: &force_run_job_when_var_and_lvl_2_or_above
161
+ if: '$SIMP_FORCE_RUN_MATRIX == "yes" && $SIMP_MATRIX_LEVEL =~ /^[23]$/'
162
+ when: on_success
163
+
164
+ .force_run_job_when_var_and_lvl_3_or_above: &force_run_job_when_var_and_lvl_3_or_above
165
+ if: '$SIMP_FORCE_RUN_MATRIX == "yes" && $SIMP_MATRIX_LEVEL =~ /^[3]$/'
166
+ when: on_success
167
+
168
+
169
+
170
+ # SIMP_MATRIX_LEVEL=1: Intended to run every commit
171
+ .with_SIMP_ACCEPTANCE_MATRIX_LEVEL_1: &with_SIMP_ACCEPTANCE_MATRIX_LEVEL_1
172
+ rules:
173
+ - <<: *skip_job_when_commit_message_says_to
174
+ - <<: *force_run_job_when_var_and_lvl_1_or_above
175
+ - <<: *force_run_job_when_commit_mssage_lvl_1_or_above
176
+ - <<: *run_job_when_level_1_or_above_w_changes
177
+ <<: *relevant_file_conditions_trigger_acceptance_tests
178
+ - when: never
179
+
180
+ .with_SIMP_SPEC_MATRIX_LEVEL_1: &with_SIMP_SPEC_MATRIX_LEVEL_1
181
+ rules:
182
+ - <<: *skip_job_when_commit_message_says_to
183
+ - <<: *force_run_job_when_commit_mssage_lvl_1_or_above
184
+ - <<: *force_run_job_when_var_and_lvl_1_or_above
185
+ - <<: *run_job_when_level_1_or_above_w_changes
186
+ <<: *relevant_file_conditions_trigger_spec_tests
187
+ - when: never
188
+
189
+ # SIMP_MATRIX_LEVEL=2: Resource-heavy or redundant jobs
190
+ .with_SIMP_ACCEPTANCE_MATRIX_LEVEL_2: &with_SIMP_ACCEPTANCE_MATRIX_LEVEL_2
191
+ rules:
192
+ - <<: *skip_job_when_commit_message_says_to
193
+ - <<: *force_run_job_when_var_and_lvl_2_or_above
194
+ - <<: *force_run_job_when_commit_mssage_lvl_2_or_above
195
+ - <<: *run_job_when_level_2_or_above_w_changes
196
+ <<: *relevant_file_conditions_trigger_acceptance_tests
197
+ - when: never
198
+
199
+ .with_SIMP_SPEC_MATRIX_LEVEL_2: &with_SIMP_SPEC_MATRIX_LEVEL_2
200
+ rules:
201
+ - <<: *skip_job_when_commit_message_says_to
202
+ - <<: *force_run_job_when_commit_mssage_lvl_2_or_above
203
+ - <<: *force_run_job_when_var_and_lvl_2_or_above
204
+ - <<: *run_job_when_level_2_or_above_w_changes
205
+ <<: *relevant_file_conditions_trigger_spec_tests
206
+ - when: never
207
+
208
+ # SIMP_MATRIX_LEVEL=3: Reserved for FULL matrix testing
209
+ .with_SIMP_ACCEPTANCE_MATRIX_LEVEL_3: &with_SIMP_ACCEPTANCE_MATRIX_LEVEL_3
210
+ rules:
211
+ - <<: *skip_job_when_commit_message_says_to
212
+ - <<: *force_run_job_when_var_and_lvl_3_or_above
213
+ - <<: *force_run_job_when_commit_mssage_lvl_3_or_above
214
+ - <<: *run_job_when_level_3_or_above_w_changes
215
+ <<: *relevant_file_conditions_trigger_acceptance_tests
216
+ - when: never
217
+
218
+
219
+ # Puppet Versions
220
+ #-----------------------------------------------------------------------
221
+
222
+ .pup_5: &pup_5
223
+ image: 'ruby:2.4'
224
+ variables:
225
+ PUPPET_VERSION: '~> 5.0'
226
+ BEAKER_PUPPET_COLLECTION: 'puppet5'
227
+ MATRIX_RUBY_VERSION: '2.4'
228
+
229
+ .pup_6: &pup_6
230
+ image: 'ruby:2.5'
231
+ variables:
232
+ PUPPET_VERSION: '~> 6.0'
233
+ BEAKER_PUPPET_COLLECTION: 'puppet6'
234
+ MATRIX_RUBY_VERSION: '2.5'
235
+
236
+ .pup_6_18_0: &pup_6_18_0
237
+ image: 'ruby:2.5'
238
+ variables:
239
+ PUPPET_VERSION: '6.18.0'
240
+ BEAKER_PUPPET_COLLECTION: 'puppet6'
241
+ MATRIX_RUBY_VERSION: '2.5'
242
+
243
+ .pup_7: &pup_7
244
+ image: 'ruby:2.7'
245
+ variables:
246
+ PUPPET_VERSION: '~> 7.0'
247
+ BEAKER_PUPPET_COLLECTION: 'puppet7'
248
+ MATRIX_RUBY_VERSION: '2.7'
249
+
250
+ # Testing Environments
251
+ #-----------------------------------------------------------------------
252
+
253
+ .lint_tests: &lint_tests
254
+ stage: 'validation'
255
+ tags: ['docker']
59
256
  <<: *setup_bundler_env
60
- <<: *validation_checks
61
-
62
- 2_1-unit:
63
- stage: unit
64
- tags:
65
- - docker
66
- image: ruby:2.1
67
- <<: *cache_bundler
257
+ script:
258
+ - 'bundle exec rake syntax'
259
+ - 'bundle exec rake lint'
260
+ - 'bundle exec rake metadata_lint'
261
+
262
+ .unit_tests: &unit_tests
263
+ stage: 'validation'
264
+ tags: ['docker']
68
265
  <<: *setup_bundler_env
69
- <<: *spec_tests
70
-
71
- # Puppet 4.10 for PE 2017.2 support (EOL:2018-02-21)
72
- # See: https://puppet.com/misc/puppet-enterprise-lifecycle
73
- # --------------------------------------
74
- 2_4-validation:
75
- stage: validation
76
- tags:
77
- - docker
78
- image: ruby:2.4
79
- <<: *cache_bundler
266
+ <<: *with_SIMP_SPEC_MATRIX_LEVEL_1
267
+ script:
268
+ - 'bundle exec rake spec'
269
+
270
+ .acceptance_base: &acceptance_base
271
+ stage: 'acceptance'
272
+ tags: ['beaker']
80
273
  <<: *setup_bundler_env
81
- <<: *validation_checks
82
-
83
- 2_4-unit:
84
- stage: unit
85
- tags:
86
- - docker
87
- image: ruby:2.4
88
- <<: *cache_bundler
274
+ <<: *with_SIMP_ACCEPTANCE_MATRIX_LEVEL_1
275
+
276
+ .compliance_base: &compliance_base
277
+ stage: 'compliance'
278
+ tags: ['beaker']
89
279
  <<: *setup_bundler_env
90
- <<: *spec_tests
280
+ <<: *with_SIMP_ACCEPTANCE_MATRIX_LEVEL_1
281
+
282
+
283
+ # Unit Tests
284
+ #-----------------------------------------------------------------------
285
+
286
+ pup5-unit:
287
+ <<: *pup_5
288
+ <<: *unit_tests
289
+ <<: *with_SIMP_SPEC_MATRIX_LEVEL_2
290
+
291
+ pup6-unit:
292
+ <<: *pup_6
293
+ <<: *unit_tests
294
+ <<: *with_SIMP_SPEC_MATRIX_LEVEL_2
295
+
296
+ pup6.18.0-unit:
297
+ <<: *pup_6_18_0
298
+ <<: *unit_tests
299
+
300
+ pup7-unit:
301
+ <<: *pup_7
302
+ <<: *unit_tests
303
+ <<: *with_SIMP_SPEC_MATRIX_LEVEL_2
304
+
305
+ # ------------------------------------------------------------------------------
306
+ # NOTICE: **This file is maintained with puppetsync**
307
+ #
308
+ # Everything above the "Repo-specific content" comment will be overwritten by
309
+ # the next puppetsync.
310
+ # ------------------------------------------------------------------------------
311
+
312
+ # Repo-specific content
313
+ # ==============================================================================
91
314
 
92
315
 
93
316
  #=======================================================================
94
317
  # Acceptance tests
95
318
  default:
96
- stage: acceptance
97
- tags:
98
- - beaker
99
- <<: *cache_bundler
100
- <<: *setup_bundler_env
319
+ <<: *pup_6
320
+ <<: *acceptance_base
101
321
  script:
102
- - bundle exec rake spec_clean
103
322
  - bundle exec rake beaker:suites[default]
104
323
 
105
324
  default-fips:
106
- stage: acceptance
107
- tags:
108
- - beaker
109
- <<: *cache_bundler
110
- <<: *setup_bundler_env
111
- variables:
112
- BEAKER_fips: 'yes'
325
+ <<: *pup_6
326
+ <<: *acceptance_base
113
327
  script:
114
- - bundle exec rake spec_clean
115
- - bundle exec rake beaker:suites[default]
328
+ - BEAKER_fips=yes bundle exec rake beaker:suites[default]
116
329
 
117
330
  fips_from_fixtures:
118
- stage: acceptance
119
- tags:
120
- - beaker
121
- <<: *cache_bundler
122
- <<: *setup_bundler_env
123
- variables:
124
- PUPPET_VERSION: '~> 5.3'
125
- BEAKER_PUPPET_COLLECTION: 'puppet5'
331
+ <<: *pup_6
332
+ <<: *acceptance_base
126
333
  script:
127
- - bundle exec rake spec_clean
128
334
  - bundle exec rake beaker:suites[fips_from_fixtures]
129
335
 
130
- puppet_collections:
131
- stage: acceptance
132
- tags:
133
- - beaker
134
- <<: *cache_bundler
135
- <<: *setup_bundler_env
136
- variables:
137
- PUPPET_VERSION: '~> 5.3'
138
- BEAKER_PUPPET_COLLECTION: 'puppet5'
336
+ puppet5_collections:
337
+ <<: *pup_5
338
+ <<: *acceptance_base
339
+ script:
340
+ - bundle exec rake beaker:suites[puppet_collections]
341
+
342
+ puppet6_collections:
343
+ <<: *pup_6
344
+ <<: *acceptance_base
345
+ script:
346
+ - bundle exec rake beaker:suites[puppet_collections]
347
+
348
+ puppet7_collections:
349
+ <<: *pup_7
350
+ <<: *acceptance_base
139
351
  script:
140
- - bundle exec rake spec_clean
141
352
  - bundle exec rake beaker:suites[puppet_collections]
142
353
 
143
354
  windows:
144
- stage: acceptance
145
- tags:
146
- - beaker
147
- <<: *cache_bundler
148
- <<: *setup_bundler_env
355
+ <<: *pup_6
356
+ <<: *acceptance_base
149
357
  script:
150
- - bundle exec rake spec_clean
151
358
  - bundle exec rake beaker:suites[windows]
152
359
 
153
360
  snapshot:
154
- stage: acceptance
155
- tags:
156
- - beaker
157
- <<: *cache_bundler
158
- <<: *setup_bundler_env
159
- variables:
160
- BEAKER_simp_snapshot: 'yes'
361
+ <<: *pup_6
362
+ <<: *acceptance_base
363
+ # This is prone to breakage in the underlying system
364
+ allow_failure: true
161
365
  script:
162
- - bundle exec rake spec_clean
163
- - bundle exec rake beaker:suites[snapshot]
366
+ - BEAKER_simp_snapshot=yes bundle exec rake beaker:suites[snapshot]