beaker-pe 2.15.0 → 3.0.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: 960c4c084d43ae9f1abad57a89f6728817222050ebc7309a3a7102c15e4fbba0
4
- data.tar.gz: bd0aeb76e02a094eacf40f278c426df5448efe4e3f861fcc0fe1dcec6f18c12a
3
+ metadata.gz: e9f0ff78ec64afd7941966459c4af7aa09ec2fe632314a5e31c1c41ede5a9876
4
+ data.tar.gz: cf2ab7e224f2d468889f97c750b51f655fa35758331fe2d6264baf8afc9e8894
5
5
  SHA512:
6
- metadata.gz: 82d405b570a55e4077682b1c2a1b768dd9d1d8d7077e35caaf7feff55ab84620cfdb7ecc8687107af7559254684570b58ed5bfa1ed127d0a3aafc75b4df9bf21
7
- data.tar.gz: 050bd791ae00a9db1567d800e3572d7035eefa67a9b97beb231dc7c2d49d6bfb6b7af961efdb4ba865f58aa54bbb3348fe1f1d6cb58d3d8641a9bb0799bb46a4
6
+ metadata.gz: 0e9afe28fa995067d31c0aa18189a9728f6f837876b6ebdda59522c4203ae26e4f7047939df45581eaa8dcdb670523f2eab0dbf202720f0a531520e802694a90
7
+ data.tar.gz: 46d3f8dcfd72fff77f86b57f27ccf91e8c3903185da4059b55f95564109a941b37c7f657b912b8c80c127594394dda32d8b9559b214475db4aa07ea737364021
@@ -0,0 +1,12 @@
1
+ name: Automated release prep
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ auto_release_prep:
8
+ uses: puppetlabs/release-engineering-repo-standards/.github/workflows/auto_release_prep.yml@v1
9
+ secrets: inherit
10
+ with:
11
+ project-type: ruby
12
+ version-file-path: lib/beaker-pe/version.rb
@@ -0,0 +1,8 @@
1
+ name: Ensure label
2
+
3
+ on: pull_request
4
+
5
+ jobs:
6
+ ensure_label:
7
+ uses: puppetlabs/release-engineering-repo-standards/.github/workflows/ensure_label.yml@v1
8
+ secrets: inherit
@@ -10,7 +10,7 @@ jobs:
10
10
 
11
11
  steps:
12
12
  - name: Checkout code
13
- uses: actions/checkout@v3
13
+ uses: actions/checkout@v4
14
14
  with:
15
15
  ref: ${{ github.ref }}
16
16
  clean: true
@@ -24,7 +24,7 @@ jobs:
24
24
  echo "Found version $version from lib/beaker-pe/version.rb"
25
25
 
26
26
  - name: Get Current Version
27
- uses: actions/github-script@v6
27
+ uses: actions/github-script@v7
28
28
  id: cv
29
29
  with:
30
30
  script: |
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - name: checkout repo content
14
- uses: actions/checkout@v3
14
+ uses: actions/checkout@v4
15
15
  with:
16
16
  fetch-depth: 1
17
17
  - name: setup ruby
@@ -22,7 +22,7 @@ jobs:
22
22
  - name: check lock
23
23
  run: '[ -f "Gemfile.lock" ] && echo "package lock file exists, skipping" || bundle lock'
24
24
  # install java
25
- - uses: actions/setup-java@v3
25
+ - uses: actions/setup-java@v4
26
26
  with:
27
27
  distribution: 'temurin' # See 'Supported distributions' for available options
28
28
  java-version: '17'
@@ -13,7 +13,7 @@ jobs:
13
13
  ruby-version:
14
14
  - '2.7'
15
15
  steps:
16
- - uses: actions/checkout@v3
16
+ - uses: actions/checkout@v4
17
17
  - name: Set up Ruby
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.0.0](https://github.com/puppetlabs/beaker-pe/tree/3.0.0) (2024-02-07)
4
+
5
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.16.0...3.0.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Bump beaker from 4.40.2 to 4.41.1 [\#248](https://github.com/puppetlabs/beaker-pe/pull/248) ([dependabot[bot]](https://github.com/apps/dependabot))
10
+ - Bump scooter from 4.4.0 to 4.5.0 [\#242](https://github.com/puppetlabs/beaker-pe/pull/242) ([dependabot[bot]](https://github.com/apps/dependabot))
11
+
12
+ **Fixed bugs:**
13
+
14
+ - Bump beaker from 4.41.1 to 4.41.2 [\#249](https://github.com/puppetlabs/beaker-pe/pull/249) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+ - Bump activesupport from 7.1.1 to 7.1.2 [\#240](https://github.com/puppetlabs/beaker-pe/pull/240) ([dependabot[bot]](https://github.com/apps/dependabot))
16
+
17
+ **Merged pull requests:**
18
+
19
+ - Bump rspec from 3.12.0 to 3.13.0 [\#253](https://github.com/puppetlabs/beaker-pe/pull/253) ([dependabot[bot]](https://github.com/apps/dependabot))
20
+ - Bump activesupport from 7.1.2 to 7.1.3 [\#251](https://github.com/puppetlabs/beaker-pe/pull/251) ([dependabot[bot]](https://github.com/apps/dependabot))
21
+ - Bump actions/setup-java from 3 to 4 [\#245](https://github.com/puppetlabs/beaker-pe/pull/245) ([dependabot[bot]](https://github.com/apps/dependabot))
22
+ - Bump actions/github-script from 6 to 7 [\#241](https://github.com/puppetlabs/beaker-pe/pull/241) ([dependabot[bot]](https://github.com/apps/dependabot))
23
+
24
+ ## [2.16.0](https://github.com/puppetlabs/beaker-pe/tree/2.16.0) (2023-12-05)
25
+
26
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.15.0...2.16.0)
27
+
28
+ **Merged pull requests:**
29
+
30
+ - \(maint\) Use unversioned AIX pe\_repo class [\#244](https://github.com/puppetlabs/beaker-pe/pull/244) ([nmburgan](https://github.com/nmburgan))
31
+ - Update rake requirement from ~\> 13.0.6 to ~\> 13.1.0 [\#239](https://github.com/puppetlabs/beaker-pe/pull/239) ([dependabot[bot]](https://github.com/apps/dependabot))
32
+ - Bump activesupport from 7.1.0 to 7.1.1 [\#238](https://github.com/puppetlabs/beaker-pe/pull/238) ([dependabot[bot]](https://github.com/apps/dependabot))
33
+ - Bump activesupport from 7.0.8 to 7.1.0 [\#237](https://github.com/puppetlabs/beaker-pe/pull/237) ([dependabot[bot]](https://github.com/apps/dependabot))
34
+ - Bump actions/checkout from 3 to 4 [\#236](https://github.com/puppetlabs/beaker-pe/pull/236) ([dependabot[bot]](https://github.com/apps/dependabot))
35
+ - Bump activesupport from 7.0.7.2 to 7.0.8 [\#235](https://github.com/puppetlabs/beaker-pe/pull/235) ([dependabot[bot]](https://github.com/apps/dependabot))
36
+
3
37
  ## [2.15.0](https://github.com/puppetlabs/beaker-pe/tree/2.15.0) (2023-08-29)
4
38
 
5
39
  [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.14.1...2.15.0)
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beaker-pe (2.15.0)
4
+ beaker-pe (3.0.0)
5
5
  beaker (>= 4.0, < 6)
6
6
  beaker-abs
7
- beaker-answers (~> 0.0)
7
+ beaker-answers (~> 1.0)
8
8
  beaker-puppet (>= 1, < 3)
9
9
  beaker-vmpooler (~> 1.0)
10
10
  stringify-hash (~> 0.0.0)
@@ -12,15 +12,21 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.7.2)
15
+ activesupport (7.1.3)
16
+ base64
17
+ bigdecimal
16
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ connection_pool (>= 2.2.5)
20
+ drb
17
21
  i18n (>= 1.6, < 2)
18
22
  minitest (>= 5.1)
23
+ mutex_m
19
24
  tzinfo (~> 2.0)
20
25
  ansi (1.5.0)
21
26
  ast (2.4.2)
27
+ base64 (0.2.0)
22
28
  bcrypt_pbkdf (1.1.0)
23
- beaker (4.40.2)
29
+ beaker (4.41.2)
24
30
  beaker-hostgenerator
25
31
  ed25519 (~> 1.0)
26
32
  hocon (~> 1.0)
@@ -39,27 +45,30 @@ GEM
39
45
  beaker (~> 4.0)
40
46
  ed25519 (>= 1.2, < 2.0)
41
47
  vmfloaty (>= 1.0, < 2)
42
- beaker-answers (0.29.0)
48
+ beaker-answers (1.0.0)
43
49
  hocon (~> 1.0)
44
50
  require_all (>= 1.3.2, < 3.1.0)
45
51
  stringify-hash (~> 0.0.0)
46
- beaker-hostgenerator (2.2.3)
52
+ beaker-hostgenerator (2.9.1)
47
53
  deep_merge (~> 1.0)
48
54
  beaker-puppet (2.0.0)
49
55
  beaker (~> 4.1)
50
56
  oga (~> 3.4)
51
57
  beaker-vmpooler (1.4.0)
52
58
  stringify-hash (~> 0.0.0)
59
+ bigdecimal (3.1.6)
53
60
  coderay (1.1.3)
54
61
  commander (4.6.0)
55
62
  highline (~> 2.0.0)
56
- concurrent-ruby (1.2.2)
63
+ concurrent-ruby (1.2.3)
64
+ connection_pool (2.4.1)
57
65
  daemons (1.4.1)
58
66
  deep_merge (1.2.2)
59
- diff-lcs (1.5.0)
67
+ diff-lcs (1.5.1)
60
68
  docile (1.4.0)
61
- domain_name (0.5.20190701)
62
- unf (>= 0.0.5, < 1.0.0)
69
+ domain_name (0.6.20240107)
70
+ drb (2.2.0)
71
+ ruby2_keywords
63
72
  ed25519 (1.3.0)
64
73
  eventmachine (1.2.7)
65
74
  fakefs (2.5.0)
@@ -97,10 +106,10 @@ GEM
97
106
  domain_name (~> 0.5)
98
107
  i18n (1.14.1)
99
108
  concurrent-ruby (~> 1.0)
100
- in-parallel (1.0.0)
109
+ in-parallel (1.0.1)
101
110
  inifile (3.0.0)
102
111
  iniparser (1.0.1)
103
- json (2.6.3)
112
+ json (2.7.1)
104
113
  kramdown (2.4.0)
105
114
  rexml
106
115
  logutils (0.6.1)
@@ -110,12 +119,13 @@ GEM
110
119
  textutils (>= 0.10.0)
111
120
  method_source (1.0.0)
112
121
  minitar (0.9)
113
- minitest (5.19.0)
122
+ minitest (5.21.2)
114
123
  multipart-post (2.3.0)
115
- net-ldap (0.16.3)
124
+ mutex_m (0.2.0)
125
+ net-ldap (0.19.0)
116
126
  net-scp (4.0.0)
117
127
  net-ssh (>= 2.6.5, < 8.0.0)
118
- net-ssh (7.2.0)
128
+ net-ssh (7.2.1)
119
129
  oga (3.4)
120
130
  ast
121
131
  ruby-ll (~> 2.1)
@@ -125,39 +135,39 @@ GEM
125
135
  pry (0.14.2)
126
136
  coderay (~> 1.1)
127
137
  method_source (~> 1.0)
128
- rack (2.2.7)
129
- rake (13.0.6)
138
+ rack (2.2.8)
139
+ rake (13.1.0)
130
140
  require_all (3.0.0)
131
141
  rexml (3.2.6)
132
- rspec (3.12.0)
133
- rspec-core (~> 3.12.0)
134
- rspec-expectations (~> 3.12.0)
135
- rspec-mocks (~> 3.12.0)
136
- rspec-core (3.12.2)
137
- rspec-support (~> 3.12.0)
138
- rspec-expectations (3.12.3)
142
+ rspec (3.13.0)
143
+ rspec-core (~> 3.13.0)
144
+ rspec-expectations (~> 3.13.0)
145
+ rspec-mocks (~> 3.13.0)
146
+ rspec-core (3.13.0)
147
+ rspec-support (~> 3.13.0)
148
+ rspec-expectations (3.13.0)
139
149
  diff-lcs (>= 1.2.0, < 2.0)
140
- rspec-support (~> 3.12.0)
150
+ rspec-support (~> 3.13.0)
141
151
  rspec-its (1.3.0)
142
152
  rspec-core (>= 3.0.0)
143
153
  rspec-expectations (>= 3.0.0)
144
- rspec-mocks (3.12.5)
154
+ rspec-mocks (3.13.0)
145
155
  diff-lcs (>= 1.2.0, < 2.0)
146
- rspec-support (~> 3.12.0)
147
- rspec-support (3.12.0)
156
+ rspec-support (~> 3.13.0)
157
+ rspec-support (3.13.0)
148
158
  rsync (1.0.9)
149
- ruby-ll (2.1.2)
159
+ ruby-ll (2.1.3)
150
160
  ansi
151
161
  ast
152
162
  ruby2_keywords (0.0.5)
153
163
  rubyzip (2.3.2)
154
- scooter (4.4.0)
155
- beaker (~> 4.0)
156
- faraday (~> 1.5)
157
- faraday-cookie_jar (~> 0.0, >= 0.0.7)
164
+ scooter (4.5.0)
165
+ beaker
166
+ faraday
167
+ faraday-cookie_jar (>= 0.0.7)
158
168
  faraday_middleware (~> 1.2)
159
- json (>= 2.3.0)
160
- net-ldap (~> 0.16.0)
169
+ json
170
+ net-ldap (~> 0.16)
161
171
  test-unit
162
172
  simplecov (0.22.0)
163
173
  docile (~> 1.1)
@@ -166,7 +176,7 @@ GEM
166
176
  simplecov-html (0.12.3)
167
177
  simplecov_json_formatter (0.1.4)
168
178
  stringify-hash (0.0.2)
169
- test-unit (3.5.7)
179
+ test-unit (3.6.1)
170
180
  power_assert
171
181
  textutils (1.4.0)
172
182
  activesupport
@@ -177,13 +187,10 @@ GEM
177
187
  daemons (~> 1.0, >= 1.0.9)
178
188
  eventmachine (~> 1.0, >= 1.0.4)
179
189
  rack (>= 1, < 3)
180
- thor (1.2.2)
190
+ thor (1.3.0)
181
191
  tzinfo (2.0.6)
182
192
  concurrent-ruby (~> 1.0)
183
- unf (0.1.4)
184
- unf_ext
185
- unf_ext (0.0.8.2)
186
- vmfloaty (1.8.0)
193
+ vmfloaty (1.8.1)
187
194
  commander (>= 4.4.3, < 4.7.0)
188
195
  faraday (~> 1.5, >= 1.5.1)
189
196
  yard (0.9.34)
@@ -203,7 +210,7 @@ DEPENDENCIES
203
210
  fakefs (~> 2.4, < 2.6.0)
204
211
  markdown
205
212
  pry (~> 0.10)
206
- rake (~> 13.0.6)
213
+ rake (~> 13.1.0)
207
214
  rspec (~> 3.0)
208
215
  rspec-its
209
216
  scooter (~> 4.3)
@@ -212,4 +219,4 @@ DEPENDENCIES
212
219
  yard
213
220
 
214
221
  BUNDLED WITH
215
- 2.4.19
222
+ 2.3.23
data/README.md CHANGED
@@ -66,7 +66,7 @@ with spec testing by running the `test:spec:coverage` rake task.
66
66
 
67
67
  Acceptance tests live in the `acceptance/tests` folder. These are Beaker tests,
68
68
  & are dependent on having Beaker installed. Note that this will happen with a
69
- `bundle install` execution, but can be avoided if you're not looking to run
69
+ `bundle install` execution, but can be avoided if you're not looking to run
70
70
  acceptance tests by ignoring the `acceptance_testing` gem group.
71
71
 
72
72
  You can run the acceptance testing suite by invoking the `test:acceptance` rake
@@ -77,6 +77,11 @@ you'd like to provide your own hosts file, set the `CONFIG` environment variable
77
77
 
78
78
  ## Releasing
79
79
 
80
+ Prerequisites (without these steps you will almost certainly hit API rate limits):
81
+
82
+ 1. Generate [an API token](https://github.com/settings/tokens) with repository permissions and authorize the Puppet organization after generating.
83
+ 2. Export that token as `CHANGELOG_GITHUB_TOKEN`
84
+
80
85
  Open a release prep PR and run the release action:
81
86
 
82
87
  1. Bump the "version" parameter in `lib/beaker-pe/version.rb` appropriately based merged pull requests since the last release.
data/beaker-pe.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency 'rspec', '~> 3.0'
22
22
  s.add_development_dependency 'rspec-its'
23
23
  s.add_development_dependency 'fakefs', '~> 2.4', '< 2.6.0'
24
- s.add_development_dependency 'rake', '~> 13.0.6'
24
+ s.add_development_dependency 'rake', '~> 13.1.0'
25
25
  s.add_development_dependency 'simplecov', '= 0.22.0'
26
26
  s.add_development_dependency 'pry', '~> 0.10'
27
27
 
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.add_runtime_dependency 'beaker', '>= 4.0', '< 6'
36
36
  s.add_runtime_dependency 'beaker-puppet', '>=1', '<3'
37
37
  s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
38
- s.add_runtime_dependency 'beaker-answers', '~> 0.0'
38
+ s.add_runtime_dependency 'beaker-answers', '~> 1.0'
39
39
  s.add_runtime_dependency 'beaker-abs'
40
40
  s.add_runtime_dependency 'beaker-vmpooler', '~> 1.0'
41
41
 
@@ -495,11 +495,6 @@ module Beaker
495
495
  # For some platforms (e.g, redhatfips), packaging_platfrom is set and should
496
496
  # be used as the primary source of truth for the platform string.
497
497
  platform = host['packaging_platform'] || host['platform']
498
- # We don't have a separate AIX 7.2 build prior to 2023, so it is
499
- # classified as 7.1 for pe_repo purposes
500
- if platform == "aix-7.2-power" && version_is_less(master[:pe_ver], '2023.0.0')
501
- platform = "aix-7.1-power"
502
- end
503
498
  klass = platform.gsub(/-/, '_').gsub(/\./,'')
504
499
  if host['platform'] =~ /windows/
505
500
  if host['template'] =~ /i386/
@@ -507,7 +502,7 @@ module Beaker
507
502
  else
508
503
  klass = "pe_repo::platform::windows_x86_64"
509
504
  end
510
- elsif platform =~ /aix-.*-power/ && !version_is_less(master[:pe_ver], '2022.99.99')
505
+ elsif platform =~ /aix-.*-power/ && !version_is_less(master[:pe_ver], '2019.0.3')
511
506
  klass = "pe_repo::platform::aix_power"
512
507
  else
513
508
  klass = "pe_repo::platform::#{klass}"
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.15.0'
6
+ STRING = '3.0.0'
7
7
  end
8
8
 
9
9
  end
data/release-prep CHANGED
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
3
  # bundle install
4
- docker run -it --rm \
4
+ docker run -t --rm \
5
5
  -v $(pwd):/app \
6
6
  ruby:2.7-slim-bullseye \
7
7
  /bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends build-essential git make && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'
8
8
 
9
9
  # Update Changelog
10
- docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
10
+ docker run -t --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
11
11
  githubchangeloggenerator/github-changelog-generator:1.16.2 \
12
12
  github_changelog_generator --future-release $(grep STRING lib/beaker-pe/version.rb |rev |cut -d "'" -f2 |rev)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2024-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 13.0.6
67
+ version: 13.1.0
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 13.0.6
74
+ version: 13.1.0
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: simplecov
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -216,14 +216,14 @@ dependencies:
216
216
  requirements:
217
217
  - - "~>"
218
218
  - !ruby/object:Gem::Version
219
- version: '0.0'
219
+ version: '1.0'
220
220
  type: :runtime
221
221
  prerelease: false
222
222
  version_requirements: !ruby/object:Gem::Requirement
223
223
  requirements:
224
224
  - - "~>"
225
225
  - !ruby/object:Gem::Version
226
- version: '0.0'
226
+ version: '1.0'
227
227
  - !ruby/object:Gem::Dependency
228
228
  name: beaker-abs
229
229
  requirement: !ruby/object:Gem::Requirement
@@ -261,6 +261,8 @@ extensions: []
261
261
  extra_rdoc_files: []
262
262
  files:
263
263
  - ".github/dependabot.yml"
264
+ - ".github/workflows/auto_release_prep.yml"
265
+ - ".github/workflows/ensure_label.yml"
264
266
  - ".github/workflows/release.yml"
265
267
  - ".github/workflows/security.yml"
266
268
  - ".github/workflows/testing.yml"