beaker-openstack 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/release.yml +41 -0
- data/.github/workflows/release.yml +95 -20
- data/.github/workflows/test.yml +33 -6
- data/CHANGELOG.md +12 -0
- data/beaker-openstack.gemspec +6 -5
- data/lib/beaker-openstack/version.rb +1 -1
- metadata +23 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55a3c90aebd4a0b7dbc596deec04e3282296b5828f3f7276a60816bd4683681f
|
|
4
|
+
data.tar.gz: 73ab6d4c7a3b267237882aa003a5af527f5819855d24e4dc9d594130dfcb68e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf439d1e7731e19723cda5c1e0fb3d7f0f384bcb9a4fed9ec2feb5173b9b181ff8d0414f9c0aa95fe965d2f0c2ee2038183ac0589a5b3b485e45f810385dfca4
|
|
7
|
+
data.tar.gz: 2ecf5c50a16e62d6c334aa033d9c5d36ccc0836205e1326fc3eb22af5352bb0079ec14329598b22d9bb94f4e51f80e71c194be9f418bacead8609c4a1a6137ce
|
data/.github/release.yml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
|
3
|
+
|
|
4
|
+
changelog:
|
|
5
|
+
exclude:
|
|
6
|
+
labels:
|
|
7
|
+
- duplicate
|
|
8
|
+
- invalid
|
|
9
|
+
- modulesync
|
|
10
|
+
- question
|
|
11
|
+
- skip-changelog
|
|
12
|
+
- wont-fix
|
|
13
|
+
- wontfix
|
|
14
|
+
- github_actions
|
|
15
|
+
|
|
16
|
+
categories:
|
|
17
|
+
- title: Breaking Changes 🛠
|
|
18
|
+
labels:
|
|
19
|
+
- backwards-incompatible
|
|
20
|
+
|
|
21
|
+
- title: New Features 🎉
|
|
22
|
+
labels:
|
|
23
|
+
- enhancement
|
|
24
|
+
|
|
25
|
+
- title: Bug Fixes 🐛
|
|
26
|
+
labels:
|
|
27
|
+
- bug
|
|
28
|
+
- bugfix
|
|
29
|
+
|
|
30
|
+
- title: Documentation Updates 📚
|
|
31
|
+
labels:
|
|
32
|
+
- documentation
|
|
33
|
+
- docs
|
|
34
|
+
|
|
35
|
+
- title: Dependency Updates ⬆️
|
|
36
|
+
labels:
|
|
37
|
+
- dependencies
|
|
38
|
+
|
|
39
|
+
- title: Other Changes
|
|
40
|
+
labels:
|
|
41
|
+
- "*"
|
|
@@ -1,31 +1,106 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: Gem Release
|
|
2
3
|
|
|
3
4
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
push:
|
|
6
|
+
tags:
|
|
7
|
+
- '*'
|
|
8
|
+
|
|
9
|
+
permissions: {}
|
|
6
10
|
|
|
7
11
|
jobs:
|
|
8
|
-
release:
|
|
9
|
-
|
|
10
|
-
if: github.
|
|
12
|
+
build-release:
|
|
13
|
+
# Prevent releases from forked repositories
|
|
14
|
+
if: github.repository_owner == 'voxpupuli'
|
|
15
|
+
name: Build the gem
|
|
16
|
+
runs-on: ubuntu-24.04
|
|
11
17
|
steps:
|
|
12
|
-
- uses: actions/checkout@
|
|
13
|
-
- name: Install Ruby
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
|
+
- name: Install Ruby
|
|
14
20
|
uses: ruby/setup-ruby@v1
|
|
15
21
|
with:
|
|
16
|
-
ruby-version: '
|
|
17
|
-
env:
|
|
18
|
-
BUNDLE_WITHOUT: release
|
|
22
|
+
ruby-version: 'ruby'
|
|
19
23
|
- name: Build gem
|
|
20
|
-
|
|
24
|
+
shell: bash
|
|
25
|
+
run: gem build --verbose *.gemspec
|
|
26
|
+
- name: Upload gem to GitHub cache
|
|
27
|
+
uses: actions/upload-artifact@v6
|
|
28
|
+
with:
|
|
29
|
+
name: gem-artifact
|
|
30
|
+
path: '*.gem'
|
|
31
|
+
retention-days: 1
|
|
32
|
+
compression-level: 0
|
|
33
|
+
|
|
34
|
+
create-github-release:
|
|
35
|
+
needs: build-release
|
|
36
|
+
name: Create GitHub release
|
|
37
|
+
runs-on: ubuntu-24.04
|
|
38
|
+
permissions:
|
|
39
|
+
contents: write # clone repo and create release
|
|
40
|
+
steps:
|
|
41
|
+
- name: Download gem from GitHub cache
|
|
42
|
+
uses: actions/download-artifact@v7
|
|
43
|
+
with:
|
|
44
|
+
name: gem-artifact
|
|
45
|
+
- name: Create Release
|
|
46
|
+
shell: bash
|
|
47
|
+
env:
|
|
48
|
+
GH_TOKEN: ${{ github.token }}
|
|
49
|
+
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
|
|
50
|
+
|
|
51
|
+
release-to-github:
|
|
52
|
+
needs: build-release
|
|
53
|
+
name: Release to GitHub
|
|
54
|
+
runs-on: ubuntu-24.04
|
|
55
|
+
permissions:
|
|
56
|
+
packages: write # publish to rubygems.pkg.github.com
|
|
57
|
+
steps:
|
|
58
|
+
- name: Download gem from GitHub cache
|
|
59
|
+
uses: actions/download-artifact@v7
|
|
60
|
+
with:
|
|
61
|
+
name: gem-artifact
|
|
62
|
+
- name: Publish gem to GitHub packages
|
|
63
|
+
run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
|
|
64
|
+
env:
|
|
65
|
+
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
|
66
|
+
|
|
67
|
+
release-to-rubygems:
|
|
68
|
+
needs: build-release
|
|
69
|
+
name: Release gem to rubygems.org
|
|
70
|
+
runs-on: ubuntu-24.04
|
|
71
|
+
environment: release # recommended by rubygems.org
|
|
72
|
+
permissions:
|
|
73
|
+
id-token: write # rubygems.org authentication
|
|
74
|
+
steps:
|
|
75
|
+
- name: Download gem from GitHub cache
|
|
76
|
+
uses: actions/download-artifact@v7
|
|
77
|
+
with:
|
|
78
|
+
name: gem-artifact
|
|
79
|
+
- uses: rubygems/configure-rubygems-credentials@v1.0.0
|
|
21
80
|
- name: Publish gem to rubygems.org
|
|
81
|
+
shell: bash
|
|
22
82
|
run: gem push *.gem
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
83
|
+
|
|
84
|
+
release-verification:
|
|
85
|
+
name: Check that all releases are done
|
|
86
|
+
runs-on: ubuntu-24.04
|
|
87
|
+
permissions:
|
|
88
|
+
contents: read # minimal permissions that we have to grant
|
|
89
|
+
needs:
|
|
90
|
+
- create-github-release
|
|
91
|
+
- release-to-github
|
|
92
|
+
- release-to-rubygems
|
|
93
|
+
steps:
|
|
94
|
+
- name: Download gem from GitHub cache
|
|
95
|
+
uses: actions/download-artifact@v7
|
|
96
|
+
with:
|
|
97
|
+
name: gem-artifact
|
|
98
|
+
- name: Install Ruby
|
|
99
|
+
uses: ruby/setup-ruby@v1
|
|
100
|
+
with:
|
|
101
|
+
ruby-version: 'ruby'
|
|
102
|
+
- name: Wait for release to propagate
|
|
103
|
+
shell: bash
|
|
26
104
|
run: |
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
chmod 0600 ~/.gem/credentials
|
|
30
|
-
- name: Publish gem to GitHub packages
|
|
31
|
-
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
|
105
|
+
gem install rubygems-await
|
|
106
|
+
gem await *.gem
|
data/.github/workflows/test.yml
CHANGED
|
@@ -1,20 +1,38 @@
|
|
|
1
1
|
name: Test
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
pull_request: {}
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- master
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
6
11
|
|
|
7
12
|
jobs:
|
|
13
|
+
matrix:
|
|
14
|
+
runs-on: ubuntu-24.04
|
|
15
|
+
outputs:
|
|
16
|
+
ruby: ${{ steps.ruby.outputs.versions }}
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
|
20
|
+
uses: ruby/setup-ruby@v1
|
|
21
|
+
with:
|
|
22
|
+
ruby-version: '3.4'
|
|
23
|
+
bundler-cache: true
|
|
24
|
+
- id: ruby
|
|
25
|
+
uses: voxpupuli/ruby-version@v2
|
|
8
26
|
test:
|
|
9
27
|
runs-on: ubuntu-latest
|
|
28
|
+
needs: matrix
|
|
10
29
|
strategy:
|
|
11
30
|
fail-fast: false
|
|
12
31
|
matrix:
|
|
13
|
-
ruby:
|
|
14
|
-
|
|
15
|
-
- "3.0"
|
|
32
|
+
ruby: ${{ fromJSON(needs.matrix.outputs.ruby) }}
|
|
33
|
+
|
|
16
34
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@v6
|
|
18
36
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
19
37
|
uses: ruby/setup-ruby@v1
|
|
20
38
|
with:
|
|
@@ -22,3 +40,12 @@ jobs:
|
|
|
22
40
|
bundler-cache: true
|
|
23
41
|
- name: Run tests
|
|
24
42
|
run: bundle exec rake spec
|
|
43
|
+
|
|
44
|
+
tests:
|
|
45
|
+
needs:
|
|
46
|
+
- matrix
|
|
47
|
+
- test
|
|
48
|
+
runs-on: ubuntu-24.04
|
|
49
|
+
name: Test suite
|
|
50
|
+
steps:
|
|
51
|
+
- run: echo Test suite completed
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.1.0](https://github.com/voxpupuli/beaker-openstack/tree/2.1.0) (2025-12-31)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-openstack/compare/2.0.0...2.1.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Allow beaker-openstack to run with Beaker 6.x and 7.x [\#31](https://github.com/voxpupuli/beaker-openstack/pull/31) ([canihavethisone](https://github.com/canihavethisone))
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- CI: Generate ruby matrix dynamically & Add Ruby 4 support [\#32](https://github.com/voxpupuli/beaker-openstack/pull/32) ([bastelfreak](https://github.com/bastelfreak))
|
|
16
|
+
|
|
5
17
|
## [2.0.0](https://github.com/voxpupuli/beaker-openstack/tree/2.0.0) (2024-02-03)
|
|
6
18
|
|
|
7
19
|
[Full Changelog](https://github.com/voxpupuli/beaker-openstack/compare/1.0.0...2.0.0)
|
data/beaker-openstack.gemspec
CHANGED
|
@@ -17,12 +17,13 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
18
18
|
s.require_paths = ["lib"]
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
# Ruby compatibility
|
|
21
|
+
s.required_ruby_version = '>= 2.7', '< 5'
|
|
21
22
|
|
|
22
23
|
# Testing dependencies
|
|
23
24
|
s.add_development_dependency 'rspec', '~> 3.0'
|
|
24
25
|
s.add_development_dependency 'rspec-its'
|
|
25
|
-
s.add_development_dependency 'fakefs', '
|
|
26
|
+
s.add_development_dependency 'fakefs', '>= 2.4', '< 4'
|
|
26
27
|
s.add_development_dependency 'rake', '>= 12.3.3'
|
|
27
28
|
s.add_development_dependency 'simplecov'
|
|
28
29
|
s.add_development_dependency 'pry', '~> 0.10'
|
|
@@ -32,8 +33,8 @@ Gem::Specification.new do |s|
|
|
|
32
33
|
s.add_development_dependency 'markdown'
|
|
33
34
|
s.add_development_dependency 'thin'
|
|
34
35
|
|
|
35
|
-
#
|
|
36
|
+
# Runtime dependencies
|
|
36
37
|
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
|
|
37
|
-
s.add_runtime_dependency 'fog-openstack', '~> 1.0
|
|
38
|
-
s.add_runtime_dependency 'beaker', '
|
|
38
|
+
s.add_runtime_dependency 'fog-openstack', '~> 1.0'
|
|
39
|
+
s.add_runtime_dependency 'beaker', '>= 5.6', '< 8'
|
|
39
40
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-openstack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vox Pupuli
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rspec
|
|
@@ -42,16 +41,22 @@ dependencies:
|
|
|
42
41
|
name: fakefs
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
|
-
- - "
|
|
44
|
+
- - ">="
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
46
|
version: '2.4'
|
|
47
|
+
- - "<"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '4'
|
|
48
50
|
type: :development
|
|
49
51
|
prerelease: false
|
|
50
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
53
|
requirements:
|
|
52
|
-
- - "
|
|
54
|
+
- - ">="
|
|
53
55
|
- !ruby/object:Gem::Version
|
|
54
56
|
version: '2.4'
|
|
57
|
+
- - "<"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '4'
|
|
55
60
|
- !ruby/object:Gem::Dependency
|
|
56
61
|
name: rake
|
|
57
62
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -156,28 +161,34 @@ dependencies:
|
|
|
156
161
|
requirements:
|
|
157
162
|
- - "~>"
|
|
158
163
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: 1.0
|
|
164
|
+
version: '1.0'
|
|
160
165
|
type: :runtime
|
|
161
166
|
prerelease: false
|
|
162
167
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
168
|
requirements:
|
|
164
169
|
- - "~>"
|
|
165
170
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: 1.0
|
|
171
|
+
version: '1.0'
|
|
167
172
|
- !ruby/object:Gem::Dependency
|
|
168
173
|
name: beaker
|
|
169
174
|
requirement: !ruby/object:Gem::Requirement
|
|
170
175
|
requirements:
|
|
171
|
-
- - "
|
|
176
|
+
- - ">="
|
|
172
177
|
- !ruby/object:Gem::Version
|
|
173
178
|
version: '5.6'
|
|
179
|
+
- - "<"
|
|
180
|
+
- !ruby/object:Gem::Version
|
|
181
|
+
version: '8'
|
|
174
182
|
type: :runtime
|
|
175
183
|
prerelease: false
|
|
176
184
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
185
|
requirements:
|
|
178
|
-
- - "
|
|
186
|
+
- - ">="
|
|
179
187
|
- !ruby/object:Gem::Version
|
|
180
188
|
version: '5.6'
|
|
189
|
+
- - "<"
|
|
190
|
+
- !ruby/object:Gem::Version
|
|
191
|
+
version: '8'
|
|
181
192
|
description: For use for the Beaker acceptance testing tool
|
|
182
193
|
email: voxpupuli@groups.io
|
|
183
194
|
executables:
|
|
@@ -186,6 +197,7 @@ extensions: []
|
|
|
186
197
|
extra_rdoc_files: []
|
|
187
198
|
files:
|
|
188
199
|
- ".github/dependabot.yml"
|
|
200
|
+
- ".github/release.yml"
|
|
189
201
|
- ".github/workflows/release.yml"
|
|
190
202
|
- ".github/workflows/test.yml"
|
|
191
203
|
- ".gitignore"
|
|
@@ -206,7 +218,6 @@ homepage: https://github.com/voxpupuli/beaker-openstack
|
|
|
206
218
|
licenses:
|
|
207
219
|
- Apache-2.0
|
|
208
220
|
metadata: {}
|
|
209
|
-
post_install_message:
|
|
210
221
|
rdoc_options: []
|
|
211
222
|
require_paths:
|
|
212
223
|
- lib
|
|
@@ -217,15 +228,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
217
228
|
version: '2.7'
|
|
218
229
|
- - "<"
|
|
219
230
|
- !ruby/object:Gem::Version
|
|
220
|
-
version: '
|
|
231
|
+
version: '5'
|
|
221
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
233
|
requirements:
|
|
223
234
|
- - ">="
|
|
224
235
|
- !ruby/object:Gem::Version
|
|
225
236
|
version: '0'
|
|
226
237
|
requirements: []
|
|
227
|
-
rubygems_version:
|
|
228
|
-
signing_key:
|
|
238
|
+
rubygems_version: 4.0.3
|
|
229
239
|
specification_version: 4
|
|
230
240
|
summary: Beaker DSL Extension Helpers!
|
|
231
241
|
test_files: []
|