simp-beaker-helpers 1.28.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/add_new_issue_to_triage_project.yml +21 -0
- data/.github/workflows/pr_acceptance.yml +34 -15
- data/.github/workflows/pr_glci.yml +5 -5
- data/.github/workflows/pr_glci_cleanup.yml +2 -2
- data/.github/workflows/pr_glci_manual.yml +7 -7
- data/.github/workflows/pr_tests.yml +15 -24
- data/.github/workflows/tag_deploy_rubygem.yml +25 -24
- data/.gitlab-ci.yml +45 -15
- data/.rubocop.yml +21 -24
- data/CHANGELOG.md +22 -1
- data/lib/simp/beaker_helpers/constants.rb +1 -1
- data/lib/simp/beaker_helpers/version.rb +1 -1
- data/lib/simp/beaker_helpers.rb +60 -10
- data/simp-beaker-helpers.gemspec +2 -2
- data/spec/acceptance/nodesets/default.yml +12 -18
- data/spec/acceptance/nodesets/docker.yml +2 -2
- data/spec/acceptance/nodesets/ubuntu.yml +6 -13
- data/spec/acceptance/suites/default/check_puppet_version_spec.rb +13 -13
- data/spec/acceptance/suites/default/fixture_modules_spec.rb +2 -2
- data/spec/acceptance/suites/default/nodesets +1 -1
- data/spec/acceptance/suites/fips_from_fixtures/nodesets +1 -1
- data/spec/acceptance/suites/inspec/nodesets +1 -1
- data/spec/acceptance/suites/snapshot/nodesets +1 -1
- data/spec/acceptance/suites/ssg/nodesets +1 -1
- data/spec/acceptance/suites/windows/nodesets/default.yml +11 -19
- data/spec/acceptance/suites/windows/nodesets/win2012.yml +28 -0
- data/spec/acceptance/suites/windows/nodesets/win2016.yml +11 -18
- data/spec/acceptance/suites/windows/nodesets/win2019.yml +11 -17
- data/spec/lib/simp/beaker_helpers_spec.rb +0 -2
- metadata +9 -8
@@ -1,33 +1,27 @@
|
|
1
|
-
|
2
|
-
if ENV['BEAKER_HYPERVISOR']
|
3
|
-
hypervisor = ENV['BEAKER_HYPERVISOR']
|
4
|
-
else
|
5
|
-
hypervisor = 'vagrant'
|
6
|
-
end
|
7
|
-
-%>
|
1
|
+
---
|
8
2
|
HOSTS:
|
9
3
|
win:
|
10
4
|
roles:
|
11
|
-
|
5
|
+
- windows
|
12
6
|
platform: windows-server-amd64
|
13
7
|
box: gusztavvargadr/windows-server
|
14
|
-
|
8
|
+
box_version: "~> 1809"
|
9
|
+
hypervisor: "<%= ENV.fetch('BEAKER_HYPERVISOR', 'vagrant') %>"
|
15
10
|
vagrant_memsize: 2048
|
16
11
|
vagrant_cpus: 2
|
17
12
|
user: vagrant
|
18
|
-
communicator: winrm
|
19
13
|
is_cygwin: false
|
20
|
-
|
14
|
+
family: windows-cloud/windows-2019
|
15
|
+
gce_machine_type: n1-standard-2
|
21
16
|
el7:
|
22
17
|
roles:
|
23
|
-
|
18
|
+
- default
|
24
19
|
platform: el-7-x86_64
|
25
20
|
box: centos/7
|
26
|
-
hypervisor: <%=
|
27
|
-
|
21
|
+
hypervisor: "<%= ENV.fetch('BEAKER_HYPERVISOR', 'vagrant') %>"
|
22
|
+
family: centos-cloud/centos-7
|
23
|
+
gce_machine_type: n1-standard-2
|
28
24
|
CONFIG:
|
29
25
|
log_level: verbose
|
30
26
|
type: aio
|
31
|
-
|
32
|
-
puppet_environment: <%= ENV['BEAKER_PUPPET_ENVIRONMENT'] %>
|
33
|
-
<% end -%>
|
27
|
+
puppet_collection: "<%= ENV.fetch('BEAKER_PUPPET_COLLECTION', 'puppet7') %>"
|
@@ -179,9 +179,7 @@ describe 'Simp::BeakerHelpers' do
|
|
179
179
|
it 'extracts info from PUPPET_INSTALL_TYPE' do
|
180
180
|
ENV['PUPPET_INSTALL_TYPE'] = 'pe'
|
181
181
|
|
182
|
-
expect( @helper.get_puppet_install_info[:puppet_collection] ).to eq('puppet6')
|
183
182
|
expect( @helper.get_puppet_install_info[:puppet_install_type] ).to eq('pe')
|
184
|
-
expect( @helper.get_puppet_install_info[:puppet_install_version] ).to match(/^6\./)
|
185
183
|
end
|
186
184
|
|
187
185
|
it 'fails when BEAKER_PUPPET_COLLECTION is invalid' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-beaker-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: beaker
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 4.17.0
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 6.0.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,21 +30,21 @@ dependencies:
|
|
30
30
|
version: 4.17.0
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.0.0
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: beaker-rspec
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '8.0'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '8.0'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: beaker-puppet
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- ".fips_fixtures"
|
163
163
|
- ".fixtures.yml"
|
164
164
|
- ".github/workflows.local.json"
|
165
|
+
- ".github/workflows/add_new_issue_to_triage_project.yml"
|
165
166
|
- ".github/workflows/pr_acceptance.yml"
|
166
167
|
- ".github/workflows/pr_glci.yml"
|
167
168
|
- ".github/workflows/pr_glci_cleanup.yml"
|
@@ -224,6 +225,7 @@ files:
|
|
224
225
|
- spec/acceptance/suites/windows/00_default_spec.rb
|
225
226
|
- spec/acceptance/suites/windows/metadata.yml
|
226
227
|
- spec/acceptance/suites/windows/nodesets/default.yml
|
228
|
+
- spec/acceptance/suites/windows/nodesets/win2012.yml
|
227
229
|
- spec/acceptance/suites/windows/nodesets/win2016.yml
|
228
230
|
- spec/acceptance/suites/windows/nodesets/win2019.yml
|
229
231
|
- spec/fixtures/inspec_profiles/CentOS-7-disa_stig
|
@@ -252,8 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
254
|
- !ruby/object:Gem::Version
|
253
255
|
version: '0'
|
254
256
|
requirements: []
|
255
|
-
|
256
|
-
rubygems_version: 2.7.6.3
|
257
|
+
rubygems_version: 3.1.6
|
257
258
|
signing_key:
|
258
259
|
specification_version: 4
|
259
260
|
summary: beaker helper methods for SIMP
|