Skip to content

Commit ff3de62

Browse files
committed
(maint) matrix from metadata v3
1 parent 2e0b5c7 commit ff3de62

File tree

5 files changed

+624
-13
lines changed

5 files changed

+624
-13
lines changed

.rubocop_todo.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2023-04-18 15:58:23 UTC using RuboCop version 1.48.1.
3+
# on 2024-02-13 06:54:13 UTC using RuboCop version 1.50.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 17
9+
# Offense count: 16
1010
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1111
Metrics/AbcSize:
12-
Max: 116
12+
Max: 105
1313

14-
# Offense count: 8
14+
# Offense count: 10
1515
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
1616
# AllowedMethods: refine
1717
Metrics/BlockLength:
18-
Max: 350
18+
Max: 348
1919

2020
# Offense count: 8
2121
# Configuration parameters: AllowedMethods, AllowedPatterns.
2222
Metrics/CyclomaticComplexity:
2323
Max: 33
2424

25-
# Offense count: 20
25+
# Offense count: 18
2626
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2727
Metrics/MethodLength:
2828
Max: 79
2929

3030
# Offense count: 3
3131
# Configuration parameters: CountComments, CountAsOne.
3232
Metrics/ModuleLength:
33-
Max: 324
33+
Max: 255
3434

35-
# Offense count: 7
35+
# Offense count: 8
3636
# Configuration parameters: AllowedMethods, AllowedPatterns.
3737
Metrics/PerceivedComplexity:
3838
Max: 38
@@ -66,15 +66,15 @@ RSpec/DescribeClass:
6666
- '**/spec/routing/**/*'
6767
- '**/spec/system/**/*'
6868
- '**/spec/views/**/*'
69-
- 'spec/exe/matrix_from_metadata_v2_spec.rb'
69+
- 'spec/exe/*.rb'
7070
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb'
7171

72-
# Offense count: 31
72+
# Offense count: 22
7373
# Configuration parameters: CountAsOne.
7474
RSpec/ExampleLength:
7575
Max: 22
7676

77-
# Offense count: 126
77+
# Offense count: 106
7878
# Configuration parameters: .
7979
# SupportedStyles: have_received, receive
8080
RSpec/MessageSpies:
@@ -96,15 +96,22 @@ RSpec/NoExpectationExample:
9696
Exclude:
9797
- 'spec/lib/puppet_litmus/rake_helper_spec.rb'
9898

99-
# Offense count: 113
99+
# Offense count: 93
100100
RSpec/StubbedMock:
101101
Exclude:
102102
- 'spec/lib/puppet_litmus/puppet_helpers_spec.rb'
103103
- 'spec/lib/puppet_litmus/rake_helper_spec.rb'
104104
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb'
105105

106-
# Offense count: 6
106+
# Offense count: 7
107107
Style/OpenStructUse:
108108
Exclude:
109+
- 'exe/matrix_from_metadata_v3'
109110
- 'lib/puppet_litmus/puppet_helpers.rb'
110111
- 'spec/spec_helper.rb'
112+
113+
# Offense count: 4
114+
# This cop supports safe autocorrection (--autocorrect).
115+
Style/StderrPuts:
116+
Exclude:
117+
- 'exe/matrix_from_metadata_v3'

exe/matrix.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"collections": [
3+
{
4+
"puppet": 7.24,
5+
"ruby": 2.7
6+
},
7+
{
8+
"puppet": 8.0,
9+
"ruby": 3.2
10+
}
11+
],
12+
"provisioners": {
13+
"provision_service": {
14+
"AlmaLinux": {
15+
"8": { "x86_64": "almalinux-cloud/almalinux-8" }
16+
},
17+
"CentOS": {
18+
"7": { "x86_64": "centos-7" },
19+
"8": { "x86_64": "centos-stream-8" }
20+
},
21+
"Rocky": {
22+
"8": { "x86_64": "rocky-linux-cloud/rocky-linux-8" }
23+
},
24+
"Debian": {
25+
"10": { "x86_64": "debian-10" },
26+
"11": { "x86_64": "debian-11" }
27+
},
28+
"RedHat": {
29+
"7": { "x86_64": "rhel-7" },
30+
"8": { "x86_64": "rhel-8" },
31+
"9": { "x86_64": "rhel-9", "arm": "rhel-9-arm64" }
32+
},
33+
"SLES" : {
34+
"12": { "x86_64": "sles-12" },
35+
"15": { "x86_64": "sles-15" }
36+
},
37+
"Ubuntu": {
38+
"20.04": { "x86_64": "ubuntu-2004-lts" },
39+
"22.04": { "x86_64": "ubuntu-2204-lts", "arm": "ubuntu-2204-lts-arm64" }
40+
},
41+
"Windows": {
42+
"2016": { "x86_64": "windows-2016" },
43+
"2019": { "x86_64": "windows-2019" },
44+
"2022": { "x86_64": "windows-2022" }
45+
}
46+
},
47+
"docker": {
48+
"AmazonLinux": {
49+
"2": { "x86_64": "litmusimage/amazonlinux:2" },
50+
"2023": { "x86_64": "litmusimage/amazonlinux:2023" }
51+
},
52+
"CentOS": {
53+
"7": { "x86_64": "litmusimage/centos:7" },
54+
"8": { "x86_64": "litmusimage/centos:stream8" },
55+
"9": { "x86_64": "litmusimage/centos:stream9" }
56+
},
57+
"Rocky": {
58+
"8": { "x86_64": "litmusimage/rockylinux:8" },
59+
"9": { "x86_64": "litmusimage/rockylinux:9" }
60+
},
61+
"AlmaLinux": {
62+
"8": { "x86_64": "litmusimage/almalinux:8" },
63+
"9": { "x86_64": "litmusimage/almalinux:9" }
64+
},
65+
"Debian": {
66+
"10": { "x86_64": "litmusimage/debian:10" },
67+
"11": { "x86_64": "litmusimage/debian:11" },
68+
"12": { "x86_64": "litmusimage/debian:12" }
69+
},
70+
"OracleLinux": {
71+
"7": { "x86_64": "litmusimage/oraclelinux:7" },
72+
"8": { "x86_64": "litmusimage/oraclelinux:8" },
73+
"8": { "x86_64": "litmusimage/oraclelinux:9" }
74+
},
75+
"Scientific": {
76+
"7": { "x86_64": "litmusimage/scientificlinux:7" }
77+
},
78+
"Ubuntu": {
79+
"18.04": { "x86_64": "litmusimage/ubuntu:18.04" },
80+
"20.04": { "x86_64": "litmusimage/ubuntu:20.04" },
81+
"22.04": { "x86_64": "litmusimage/ubuntu:22.04" }
82+
}
83+
}
84+
}
85+
}

0 commit comments

Comments
 (0)