puppet_litmus 1.1.3 → 1.2.0

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: 8481f68695821e0c43b5f940fc3d3923a591d9eea517b584c68ac89a4a2d8705
4
- data.tar.gz: cc2c8065859e96290760d4320d701dc8cfb367041360b5287eda12a9fdf9eb45
3
+ metadata.gz: c1369a1f849915e1d1f26f7fd67a08c7700a234311387ba5a26ce5e226da81cd
4
+ data.tar.gz: 0aacb018ffc6bdfa148c36d48e58402fe761b5669ca61f19e7095f9c5ff5fd94
5
5
  SHA512:
6
- metadata.gz: 9aefe6ab00559d2a6726626e4d2d3819025565c152624c0c42e88c1a2c323c1b025540fbca5bd64a110b7947682f5fe173ea6788425be6c5512e7653ef6eeee0
7
- data.tar.gz: 11f0c2f06e8be551a2c7efdd262256fa3f90fb5942576c2665d4064a23357a1a20081baa81983fcdd1e39832a1c7a0f3e84a999bf35c12386cf26ebbe9c31201
6
+ metadata.gz: 7654e71c9f39deb9f9dc51cb9a0ecca43b4f60d7b1f0175088ab647f72cb9d3c257f9e4a914af97fdfc050d02804c8534d325530cfd53d8eb4e2569d0b8a8732
7
+ data.tar.gz: d9786867d3db6c028bf8f41dd9f23c8f680104656deba2016d3c29d52dfba7b077c4428cadbda9b26a547b85077deca8fca8343d8d7b202d4517ea1eb4e8276a
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Litmus
2
2
 
3
+ [![Code Owners](https://img.shields.io/badge/owners-DevX--team-blue)](https://github.com/puppetlabs/puppet_litmus/blob/main/CODEOWNERS)
4
+ ![ci](https://github.com/puppetlabs/puppet_litmus/actions/workflows/ci.yml/badge.svg)
5
+ [![Gem Version](https://badge.fury.io/rb/puppet_litmus.svg)](https://badge.fury.io/rb/puppet_litmus)
6
+
3
7
  <div name="logo">
4
8
  <img src="resources/litmus-dark-RGB.png"
5
9
  style="display: block; margin-left: auto; margin-right: auto;"
@@ -61,6 +65,10 @@ In order to use this new functionality, run:
61
65
 
62
66
  For documentation, see our [Litmus Docs Site](https://puppetlabs.github.io/content-and-tooling-team/docs/litmus/).
63
67
 
68
+ ## License
69
+
70
+ This codebase is licensed under Apache 2.0. However, the open source dependencies included in this codebase might be subject to other software licenses such as AGPL, GPL2.0, and MIT.
71
+
64
72
  ## Other Resources
65
73
 
66
74
  - [Is it Worth the Time?](https://xkcd.com/1205/)
@@ -27,6 +27,8 @@ end
27
27
  IMAGE_TABLE = {
28
28
  'RedHat-7' => 'rhel-7',
29
29
  'RedHat-8' => 'rhel-8',
30
+ 'RedHat-9' => 'rhel-9',
31
+ 'RedHat-9-arm' => 'rhel-9-arm64',
30
32
  'SLES-12' => 'sles-12',
31
33
  'SLES-15' => 'sles-15',
32
34
  'Windows-2012 R2' => 'windows-2012-r2-core',
@@ -28,6 +28,7 @@ IMAGE_TABLE = {
28
28
  'RedHat-7' => 'rhel-7',
29
29
  'RedHat-8' => 'rhel-8',
30
30
  'RedHat-9' => 'rhel-9',
31
+ 'RedHat-9-arm' => 'rhel-9-arm64',
31
32
  'SLES-12' => 'sles-12',
32
33
  'SLES-15' => 'sles-15',
33
34
  'Windows-2016' => 'windows-2016',
@@ -45,6 +46,7 @@ DOCKER_PLATFORMS = {
45
46
  'Debian-9' => 'litmusimage/debian:9',
46
47
  'Debian-10' => 'litmusimage/debian:10',
47
48
  'Debian-11' => 'litmusimage/debian:11',
49
+ 'Debian-12' => 'litmusimage/debian:12',
48
50
  'OracleLinux-6' => 'litmusimage/oraclelinux:6',
49
51
  'OracleLinux-7' => 'litmusimage/oraclelinux:7',
50
52
  'Scientific-6' => 'litmusimage/scientificlinux:6',
@@ -2,5 +2,5 @@
2
2
 
3
3
  # version of this gem
4
4
  module PuppetLitmus
5
- VERSION = '1.1.3'
5
+ VERSION = '1.2.0'
6
6
  end
@@ -23,7 +23,8 @@
23
23
  {
24
24
  "operatingsystem": "RedHat",
25
25
  "operatingsystemrelease": [
26
- "8"
26
+ "8",
27
+ "9-arm"
27
28
  ]
28
29
  },
29
30
  {
@@ -24,6 +24,7 @@ RSpec.describe 'matrix_from_metadata_v2' do
24
24
  '"platforms":[',
25
25
  '{"label":"CentOS-6","provider":"docker","image":"litmusimage/centos:6"},',
26
26
  '{"label":"RedHat-8","provider":"provision_service","image":"rhel-8"},',
27
+ '{"label":"RedHat-9-arm","provider":"provision_service","image":"rhel-9-arm64"},',
27
28
  '{"label":"Ubuntu-18.04","provider":"docker","image":"litmusimage/ubuntu:18.04"}',
28
29
  '],',
29
30
  '"collection":[',
@@ -35,7 +36,7 @@ RSpec.describe 'matrix_from_metadata_v2' do
35
36
  expect(github_output_content).to include(
36
37
  'spec_matrix={"include":[{"puppet_version":"~> 7.24","ruby_version":2.7},{"puppet_version":"~> 8.0","ruby_version":3.2}]}'
37
38
  )
38
- expect(result.stdout).to include("Created matrix with 8 cells:\n - Acceptance Test Cells: 6\n - Spec Test Cells: 2")
39
+ expect(result.stdout).to include("Created matrix with 10 cells:\n - Acceptance Test Cells: 8\n - Spec Test Cells: 2")
39
40
  end
40
41
  end
41
42
 
@@ -60,7 +61,8 @@ RSpec.describe 'matrix_from_metadata_v2' do
60
61
  'matrix={',
61
62
  '"platforms":[',
62
63
  '{"label":"CentOS-6","provider":"docker","image":"litmusimage/centos:6"},',
63
- '{"label":"RedHat-8","provider":"provision_service","image":"rhel-8"}',
64
+ '{"label":"RedHat-8","provider":"provision_service","image":"rhel-8"},',
65
+ '{"label":"RedHat-9-arm","provider":"provision_service","image":"rhel-9-arm64"}',
64
66
  '],',
65
67
  '"collection":[',
66
68
  '"puppet7-nightly","puppet8-nightly"',
@@ -71,14 +73,14 @@ RSpec.describe 'matrix_from_metadata_v2' do
71
73
  expect(github_output_content).to include(
72
74
  'spec_matrix={"include":[{"puppet_version":"~> 7.24","ruby_version":2.7},{"puppet_version":"~> 8.0","ruby_version":3.2}]}'
73
75
  )
74
- expect(result.stdout).to include("Created matrix with 6 cells:\n - Acceptance Test Cells: 4\n - Spec Test Cells: 2")
76
+ expect(result.stdout).to include("Created matrix with 8 cells:\n - Acceptance Test Cells: 6\n - Spec Test Cells: 2")
75
77
  end
76
78
  end
77
79
 
78
80
  context 'with --exclude-platforms \'["ubuntu-18.04","redhat-8"]\'' do
79
81
  let(:github_output) { Tempfile.new('github_output') }
80
82
  let(:github_output_content) { github_output.read }
81
- let(:result) { run_matrix_from_metadata_v2({ '--exclude-platforms' => ['ubuntu-18.04', 'redhat-8'] }) }
83
+ let(:result) { run_matrix_from_metadata_v2({ '--exclude-platforms' => ['ubuntu-18.04', 'redhat-8', 'redhat-9'] }) }
82
84
 
83
85
  before do
84
86
  ENV['GITHUB_OUTPUT'] = github_output.path
@@ -96,7 +98,8 @@ RSpec.describe 'matrix_from_metadata_v2' do
96
98
  [
97
99
  'matrix={',
98
100
  '"platforms":[',
99
- '{"label":"CentOS-6","provider":"docker","image":"litmusimage/centos:6"}',
101
+ '{"label":"CentOS-6","provider":"docker","image":"litmusimage/centos:6"},',
102
+ '{"label":"RedHat-9-arm","provider":"provision_service","image":"rhel-9-arm64"}',
100
103
  '],',
101
104
  '"collection":[',
102
105
  '"puppet7-nightly","puppet8-nightly"',
@@ -107,7 +110,7 @@ RSpec.describe 'matrix_from_metadata_v2' do
107
110
  expect(github_output_content).to include(
108
111
  'spec_matrix={"include":[{"puppet_version":"~> 7.24","ruby_version":2.7},{"puppet_version":"~> 8.0","ruby_version":3.2}]}'
109
112
  )
110
- expect(result.stdout).to include("Created matrix with 4 cells:\n - Acceptance Test Cells: 2\n - Spec Test Cells: 2")
113
+ expect(result.stdout).to include("Created matrix with 6 cells:\n - Acceptance Test Cells: 4\n - Spec Test Cells: 2")
111
114
  end
112
115
  end
113
116
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_litmus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-31 00:00:00.000000000 Z
11
+ date: 2023-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bolt