beaker-pe 2.16.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: d7200cf840de1d1b56cd716d6c513f62b42091a20e31b337acc8afd0c1802bc4
4
- data.tar.gz: 2164e796cf929ec7d8eb1bab177f597c074fcbd8eb88e327076bb4c709eab89c
3
+ metadata.gz: e9f0ff78ec64afd7941966459c4af7aa09ec2fe632314a5e31c1c41ede5a9876
4
+ data.tar.gz: cf2ab7e224f2d468889f97c750b51f655fa35758331fe2d6264baf8afc9e8894
5
5
  SHA512:
6
- metadata.gz: 6873ecc8c44f38e3f365c21bc5233d86d965e5190ec7748f947e93f30b4d6994c36340ee8be9ea44b9c5cd66223a2d94e6f0d1b2968cc1b0f22069327274dfcf
7
- data.tar.gz: 25adb8464fc66186df73f3cf2f5d0e0901a32cc521f9a0946182a6aeef6aec814668faba827f48b3497ead9be59214f37a66caca3a18282aafd25ceadd566e5e
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
@@ -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: |
@@ -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'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
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
+
3
24
  ## [2.16.0](https://github.com/puppetlabs/beaker-pe/tree/2.16.0) (2023-12-05)
4
25
 
5
26
  [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.15.0...2.16.0)
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beaker-pe (2.16.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,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.1.1)
15
+ activesupport (7.1.3)
16
16
  base64
17
17
  bigdecimal
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -24,9 +24,9 @@ GEM
24
24
  tzinfo (~> 2.0)
25
25
  ansi (1.5.0)
26
26
  ast (2.4.2)
27
- base64 (0.1.1)
27
+ base64 (0.2.0)
28
28
  bcrypt_pbkdf (1.1.0)
29
- beaker (4.40.2)
29
+ beaker (4.41.2)
30
30
  beaker-hostgenerator
31
31
  ed25519 (~> 1.0)
32
32
  hocon (~> 1.0)
@@ -45,30 +45,29 @@ GEM
45
45
  beaker (~> 4.0)
46
46
  ed25519 (>= 1.2, < 2.0)
47
47
  vmfloaty (>= 1.0, < 2)
48
- beaker-answers (0.29.0)
48
+ beaker-answers (1.0.0)
49
49
  hocon (~> 1.0)
50
50
  require_all (>= 1.3.2, < 3.1.0)
51
51
  stringify-hash (~> 0.0.0)
52
- beaker-hostgenerator (2.2.3)
52
+ beaker-hostgenerator (2.9.1)
53
53
  deep_merge (~> 1.0)
54
54
  beaker-puppet (2.0.0)
55
55
  beaker (~> 4.1)
56
56
  oga (~> 3.4)
57
57
  beaker-vmpooler (1.4.0)
58
58
  stringify-hash (~> 0.0.0)
59
- bigdecimal (3.1.4)
59
+ bigdecimal (3.1.6)
60
60
  coderay (1.1.3)
61
61
  commander (4.6.0)
62
62
  highline (~> 2.0.0)
63
- concurrent-ruby (1.2.2)
63
+ concurrent-ruby (1.2.3)
64
64
  connection_pool (2.4.1)
65
65
  daemons (1.4.1)
66
66
  deep_merge (1.2.2)
67
- diff-lcs (1.5.0)
67
+ diff-lcs (1.5.1)
68
68
  docile (1.4.0)
69
- domain_name (0.5.20190701)
70
- unf (>= 0.0.5, < 1.0.0)
71
- drb (2.1.1)
69
+ domain_name (0.6.20240107)
70
+ drb (2.2.0)
72
71
  ruby2_keywords
73
72
  ed25519 (1.3.0)
74
73
  eventmachine (1.2.7)
@@ -107,10 +106,10 @@ GEM
107
106
  domain_name (~> 0.5)
108
107
  i18n (1.14.1)
109
108
  concurrent-ruby (~> 1.0)
110
- in-parallel (1.0.0)
109
+ in-parallel (1.0.1)
111
110
  inifile (3.0.0)
112
111
  iniparser (1.0.1)
113
- json (2.6.3)
112
+ json (2.7.1)
114
113
  kramdown (2.4.0)
115
114
  rexml
116
115
  logutils (0.6.1)
@@ -120,13 +119,13 @@ GEM
120
119
  textutils (>= 0.10.0)
121
120
  method_source (1.0.0)
122
121
  minitar (0.9)
123
- minitest (5.20.0)
122
+ minitest (5.21.2)
124
123
  multipart-post (2.3.0)
125
- mutex_m (0.1.2)
126
- net-ldap (0.16.3)
124
+ mutex_m (0.2.0)
125
+ net-ldap (0.19.0)
127
126
  net-scp (4.0.0)
128
127
  net-ssh (>= 2.6.5, < 8.0.0)
129
- net-ssh (7.2.0)
128
+ net-ssh (7.2.1)
130
129
  oga (3.4)
131
130
  ast
132
131
  ruby-ll (~> 2.1)
@@ -136,39 +135,39 @@ GEM
136
135
  pry (0.14.2)
137
136
  coderay (~> 1.1)
138
137
  method_source (~> 1.0)
139
- rack (2.2.7)
138
+ rack (2.2.8)
140
139
  rake (13.1.0)
141
140
  require_all (3.0.0)
142
141
  rexml (3.2.6)
143
- rspec (3.12.0)
144
- rspec-core (~> 3.12.0)
145
- rspec-expectations (~> 3.12.0)
146
- rspec-mocks (~> 3.12.0)
147
- rspec-core (3.12.2)
148
- rspec-support (~> 3.12.0)
149
- 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)
150
149
  diff-lcs (>= 1.2.0, < 2.0)
151
- rspec-support (~> 3.12.0)
150
+ rspec-support (~> 3.13.0)
152
151
  rspec-its (1.3.0)
153
152
  rspec-core (>= 3.0.0)
154
153
  rspec-expectations (>= 3.0.0)
155
- rspec-mocks (3.12.5)
154
+ rspec-mocks (3.13.0)
156
155
  diff-lcs (>= 1.2.0, < 2.0)
157
- rspec-support (~> 3.12.0)
158
- rspec-support (3.12.0)
156
+ rspec-support (~> 3.13.0)
157
+ rspec-support (3.13.0)
159
158
  rsync (1.0.9)
160
- ruby-ll (2.1.2)
159
+ ruby-ll (2.1.3)
161
160
  ansi
162
161
  ast
163
162
  ruby2_keywords (0.0.5)
164
163
  rubyzip (2.3.2)
165
- scooter (4.4.0)
166
- beaker (~> 4.0)
167
- faraday (~> 1.5)
168
- faraday-cookie_jar (~> 0.0, >= 0.0.7)
164
+ scooter (4.5.0)
165
+ beaker
166
+ faraday
167
+ faraday-cookie_jar (>= 0.0.7)
169
168
  faraday_middleware (~> 1.2)
170
- json (>= 2.3.0)
171
- net-ldap (~> 0.16.0)
169
+ json
170
+ net-ldap (~> 0.16)
172
171
  test-unit
173
172
  simplecov (0.22.0)
174
173
  docile (~> 1.1)
@@ -177,7 +176,7 @@ GEM
177
176
  simplecov-html (0.12.3)
178
177
  simplecov_json_formatter (0.1.4)
179
178
  stringify-hash (0.0.2)
180
- test-unit (3.5.7)
179
+ test-unit (3.6.1)
181
180
  power_assert
182
181
  textutils (1.4.0)
183
182
  activesupport
@@ -188,13 +187,10 @@ GEM
188
187
  daemons (~> 1.0, >= 1.0.9)
189
188
  eventmachine (~> 1.0, >= 1.0.4)
190
189
  rack (>= 1, < 3)
191
- thor (1.2.2)
190
+ thor (1.3.0)
192
191
  tzinfo (2.0.6)
193
192
  concurrent-ruby (~> 1.0)
194
- unf (0.1.4)
195
- unf_ext
196
- unf_ext (0.0.8.2)
197
- vmfloaty (1.8.0)
193
+ vmfloaty (1.8.1)
198
194
  commander (>= 4.4.3, < 4.7.0)
199
195
  faraday (~> 1.5, >= 1.5.1)
200
196
  yard (0.9.34)
@@ -223,4 +219,4 @@ DEPENDENCIES
223
219
  yard
224
220
 
225
221
  BUNDLED WITH
226
- 2.4.22
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
@@ -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
 
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.16.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.16.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-12-05 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
@@ -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"