Skip to content

Commit

Permalink
(maint) matrix from metadata v3
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed May 30, 2024
1 parent c541934 commit efd2ee0
Show file tree
Hide file tree
Showing 5 changed files with 624 additions and 13 deletions.
33 changes: 20 additions & 13 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-04-18 15:58:23 UTC using RuboCop version 1.48.1.
# on 2024-02-13 06:54:13 UTC using RuboCop version 1.50.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 17
# Offense count: 16
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 116
Max: 105

# Offense count: 8
# Offense count: 10
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 350
Max: 348

# Offense count: 8
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 33

# Offense count: 20
# Offense count: 18
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 79

# Offense count: 3
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 324
Max: 255

# Offense count: 7
# Offense count: 8
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 38
Expand Down Expand Up @@ -66,15 +66,15 @@ RSpec/DescribeClass:
- '**/spec/routing/**/*'
- '**/spec/system/**/*'
- '**/spec/views/**/*'
- 'spec/exe/matrix_from_metadata_v2_spec.rb'
- 'spec/exe/*.rb'
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb'

# Offense count: 31
# Offense count: 22
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 22

# Offense count: 126
# Offense count: 106
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Expand All @@ -96,15 +96,22 @@ RSpec/NoExpectationExample:
Exclude:
- 'spec/lib/puppet_litmus/rake_helper_spec.rb'

# Offense count: 113
# Offense count: 93
RSpec/StubbedMock:
Exclude:
- 'spec/lib/puppet_litmus/puppet_helpers_spec.rb'
- 'spec/lib/puppet_litmus/rake_helper_spec.rb'
- 'spec/lib/puppet_litmus/rake_tasks_spec.rb'

# Offense count: 6
# Offense count: 7
Style/OpenStructUse:
Exclude:
- 'exe/matrix_from_metadata_v3'
- 'lib/puppet_litmus/puppet_helpers.rb'
- 'spec/spec_helper.rb'

# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
Style/StderrPuts:
Exclude:
- 'exe/matrix_from_metadata_v3'
85 changes: 85 additions & 0 deletions exe/matrix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"collections": [
{
"puppet": 7.24,
"ruby": 2.7
},
{
"puppet": 8.0,
"ruby": 3.2
}
],
"provisioners": {
"provision_service": {
"AlmaLinux": {
"8": { "x86_64": "almalinux-cloud/almalinux-8" }
},
"CentOS": {
"7": { "x86_64": "centos-7" },
"8": { "x86_64": "centos-stream-8" }
},
"Rocky": {
"8": { "x86_64": "rocky-linux-cloud/rocky-linux-8" }
},
"Debian": {
"10": { "x86_64": "debian-10" },
"11": { "x86_64": "debian-11" }
},
"RedHat": {
"7": { "x86_64": "rhel-7" },
"8": { "x86_64": "rhel-8" },
"9": { "x86_64": "rhel-9", "arm": "rhel-9-arm64" }
},
"SLES" : {
"12": { "x86_64": "sles-12" },
"15": { "x86_64": "sles-15" }
},
"Ubuntu": {
"20.04": { "x86_64": "ubuntu-2004-lts" },
"22.04": { "x86_64": "ubuntu-2204-lts", "arm": "ubuntu-2204-lts-arm64" }
},
"Windows": {
"2016": { "x86_64": "windows-2016" },
"2019": { "x86_64": "windows-2019" },
"2022": { "x86_64": "windows-2022" }
}
},
"docker": {
"AmazonLinux": {
"2": { "x86_64": "litmusimage/amazonlinux:2" },
"2023": { "x86_64": "litmusimage/amazonlinux:2023" }
},
"CentOS": {
"7": { "x86_64": "litmusimage/centos:7" },
"8": { "x86_64": "litmusimage/centos:stream8" },
"9": { "x86_64": "litmusimage/centos:stream9" }
},
"Rocky": {
"8": { "x86_64": "litmusimage/rockylinux:8" },
"9": { "x86_64": "litmusimage/rockylinux:9" }
},
"AlmaLinux": {
"8": { "x86_64": "litmusimage/almalinux:8" },
"9": { "x86_64": "litmusimage/almalinux:9" }
},
"Debian": {
"10": { "x86_64": "litmusimage/debian:10" },
"11": { "x86_64": "litmusimage/debian:11" },
"12": { "x86_64": "litmusimage/debian:12" }
},
"OracleLinux": {
"7": { "x86_64": "litmusimage/oraclelinux:7" },
"8": { "x86_64": "litmusimage/oraclelinux:8" },
"8": { "x86_64": "litmusimage/oraclelinux:9" }
},
"Scientific": {
"7": { "x86_64": "litmusimage/scientificlinux:7" }
},
"Ubuntu": {
"18.04": { "x86_64": "litmusimage/ubuntu:18.04" },
"20.04": { "x86_64": "litmusimage/ubuntu:20.04" },
"22.04": { "x86_64": "litmusimage/ubuntu:22.04" }
}
}
}
}
Loading

0 comments on commit efd2ee0

Please sign in to comment.