beaker-hostgenerator 1.7.1 → 1.8.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/workflows/release.yml +16 -6
- data/.github/workflows/test.yml +15 -7
- data/CHANGELOG.md +14 -0
- data/Gemfile +5 -0
- data/README.md +16 -0
- data/beaker-hostgenerator.gemspec +0 -1
- data/lib/beaker-hostgenerator/data.rb +10 -0
- data/lib/beaker-hostgenerator/hypervisor/vmpooler.rb +1 -1
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 746b195dfba403d6dcd2bc2ced6206a0e3b9608e1ab5e7b9835bbbf5b92e0aac
|
|
4
|
+
data.tar.gz: 646bff8f600ba1a18409baea84a15d1986d49f372ac6febfe0895c7fe29c7d20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0d5830714e4f422256f67536c31f12b779086156d867a8c2dd5ac13f911ae6361e222eab24192ede7fc10b6349467a8fb9467a31f3f7d2f400cb422ab0bf996
|
|
7
|
+
data.tar.gz: ac96953b0acdfa2d4f9f08edb0cc2fc82b80d39438ff34c36cba7682960519c59d72e1741f72c7a8ca03aa42b407f24bb2e57d21a59cb37477a0220141a0226d
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
name: Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- '*'
|
|
6
7
|
|
|
7
8
|
jobs:
|
|
8
9
|
release:
|
|
9
10
|
runs-on: ubuntu-latest
|
|
10
|
-
if: github.
|
|
11
|
+
if: github.repository_owner == 'voxpupuli'
|
|
11
12
|
steps:
|
|
12
13
|
- uses: actions/checkout@v2
|
|
13
|
-
- name: Install Ruby
|
|
14
|
+
- name: Install Ruby 3.0
|
|
14
15
|
uses: ruby/setup-ruby@v1
|
|
15
16
|
with:
|
|
16
|
-
ruby-version: '
|
|
17
|
+
ruby-version: '3.0'
|
|
18
|
+
env:
|
|
19
|
+
BUNDLE_WITHOUT: release
|
|
17
20
|
- name: Build gem
|
|
18
21
|
run: gem build *.gemspec
|
|
19
|
-
- name: Publish gem
|
|
22
|
+
- name: Publish gem to rubygems.org
|
|
20
23
|
run: gem push *.gem
|
|
21
24
|
env:
|
|
22
25
|
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
|
|
26
|
+
- name: Setup GitHub packages access
|
|
27
|
+
run: |
|
|
28
|
+
mkdir -p ~/.gem
|
|
29
|
+
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
|
|
30
|
+
chmod 0600 ~/.gem/credentials
|
|
31
|
+
- name: Publish gem to GitHub packages
|
|
32
|
+
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
data/.github/workflows/test.yml
CHANGED
|
@@ -4,18 +4,24 @@ on:
|
|
|
4
4
|
- pull_request
|
|
5
5
|
- push
|
|
6
6
|
|
|
7
|
+
env:
|
|
8
|
+
BUNDLE_WITHOUT: release
|
|
9
|
+
|
|
7
10
|
jobs:
|
|
8
11
|
test:
|
|
9
12
|
runs-on: ubuntu-latest
|
|
10
13
|
strategy:
|
|
11
14
|
fail-fast: false
|
|
12
15
|
matrix:
|
|
13
|
-
|
|
14
|
-
- "2.4"
|
|
15
|
-
- "2.5"
|
|
16
|
-
- "2.6"
|
|
17
|
-
- "2.7"
|
|
18
|
-
|
|
16
|
+
include:
|
|
17
|
+
- ruby: "2.4"
|
|
18
|
+
- ruby: "2.5"
|
|
19
|
+
- ruby: "2.6"
|
|
20
|
+
- ruby: "2.7"
|
|
21
|
+
- ruby: "3.0"
|
|
22
|
+
coverage: "yes"
|
|
23
|
+
env:
|
|
24
|
+
COVERAGE: ${{ matrix.coverage }}
|
|
19
25
|
steps:
|
|
20
26
|
- uses: actions/checkout@v2
|
|
21
27
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
@@ -24,4 +30,6 @@ jobs:
|
|
|
24
30
|
ruby-version: ${{ matrix.ruby }}
|
|
25
31
|
bundler-cache: true
|
|
26
32
|
- name: Run tests
|
|
27
|
-
run: bundle exec rake
|
|
33
|
+
run: bundle exec rake
|
|
34
|
+
- name: Build gem
|
|
35
|
+
run: gem build *.gemspec
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.8.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.8.0) (2021-10-25)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.7.1...1.8.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Implement coverage reports [\#233](https://github.com/voxpupuli/beaker-hostgenerator/pull/233) ([bastelfreak](https://github.com/bastelfreak))
|
|
12
|
+
- Align github actions/publish gem to github as well [\#232](https://github.com/voxpupuli/beaker-hostgenerator/pull/232) ([bastelfreak](https://github.com/bastelfreak))
|
|
13
|
+
- Add Windows Server 2022 64-bit support and update default vmpooler API [\#231](https://github.com/voxpupuli/beaker-hostgenerator/pull/231) ([GabrielNagy](https://github.com/GabrielNagy))
|
|
14
|
+
|
|
15
|
+
**Closed issues:**
|
|
16
|
+
|
|
17
|
+
- vmpooler API endpoint has changed [\#230](https://github.com/voxpupuli/beaker-hostgenerator/issues/230)
|
|
18
|
+
|
|
5
19
|
## [1.7.1](https://github.com/voxpupuli/beaker-hostgenerator/tree/1.7.1) (2021-09-22)
|
|
6
20
|
|
|
7
21
|
[Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/1.7.0...1.7.1)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Beaker Host Generator
|
|
2
2
|
|
|
3
|
+
[](https://github.com/voxpupuli/beaker-hostgenerator/blob/master/LICENSE)
|
|
4
|
+
[](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/test.yml)
|
|
5
|
+
[](https://codecov.io/gh/voxpupuli/beaker-hostgenerator)
|
|
6
|
+
[](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/release.yml)
|
|
7
|
+
[](https://rubygems.org/gems/beaker-hostgenerator)
|
|
8
|
+
[](https://rubygems.org/gems/beaker-hostgenerator)
|
|
9
|
+
[](#transfer-notice)
|
|
10
|
+
|
|
3
11
|
`beaker-hostgenerator` is a command line utility designed to generate beaker
|
|
4
12
|
host config files using a compact command line SUT specification.
|
|
5
13
|
|
|
@@ -453,6 +461,14 @@ contribute.
|
|
|
453
461
|
If you have questions or comments, please contact the Beaker team at the
|
|
454
462
|
`#puppet-dev` IRC channel on chat.freenode.org
|
|
455
463
|
|
|
464
|
+
## Transfer Notice
|
|
465
|
+
|
|
466
|
+
This plugin was originally authored by [Puppet Inc](http://puppet.com).
|
|
467
|
+
The maintainer preferred that Vox Pupuli take ownership of the module for future improvement and maintenance.
|
|
468
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute at https://github.com/voxpupuli/beaker-hostgenerator
|
|
469
|
+
|
|
470
|
+
Previously: https://github.com/puppetlabs/beaker-hostgenerator
|
|
471
|
+
|
|
456
472
|
## Make a new release
|
|
457
473
|
|
|
458
474
|
To make a new release:
|
|
@@ -25,7 +25,6 @@ eos
|
|
|
25
25
|
s.add_development_dependency 'rspec-its'
|
|
26
26
|
s.add_development_dependency 'fakefs', '>= 0.6', '< 2.0'
|
|
27
27
|
s.add_development_dependency 'rake', '~> 13.0'
|
|
28
|
-
s.add_development_dependency 'simplecov'
|
|
29
28
|
s.add_development_dependency 'pry', '~> 0.10'
|
|
30
29
|
|
|
31
30
|
# Documentation dependencies
|
|
@@ -1623,6 +1623,16 @@ module BeakerHostGenerator
|
|
|
1623
1623
|
'template' => 'win-2019-core-x86_64'
|
|
1624
1624
|
}
|
|
1625
1625
|
},
|
|
1626
|
+
'windows2022-64' => {
|
|
1627
|
+
:general => {
|
|
1628
|
+
'platform' => 'windows-2022-64',
|
|
1629
|
+
'packaging_platform' => 'windows-2012-x64',
|
|
1630
|
+
'ruby_arch' => 'x64'
|
|
1631
|
+
},
|
|
1632
|
+
:vmpooler => {
|
|
1633
|
+
'template' => 'win-2022-x86_64'
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1626
1636
|
'windows7-64' => {
|
|
1627
1637
|
:general => {
|
|
1628
1638
|
'platform' => 'windows-7-64',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-hostgenerator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Branan Purvine-Riley
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2021-
|
|
13
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: minitest
|
|
@@ -88,20 +88,6 @@ dependencies:
|
|
|
88
88
|
- - "~>"
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
90
|
version: '13.0'
|
|
91
|
-
- !ruby/object:Gem::Dependency
|
|
92
|
-
name: simplecov
|
|
93
|
-
requirement: !ruby/object:Gem::Requirement
|
|
94
|
-
requirements:
|
|
95
|
-
- - ">="
|
|
96
|
-
- !ruby/object:Gem::Version
|
|
97
|
-
version: '0'
|
|
98
|
-
type: :development
|
|
99
|
-
prerelease: false
|
|
100
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
101
|
-
requirements:
|
|
102
|
-
- - ">="
|
|
103
|
-
- !ruby/object:Gem::Version
|
|
104
|
-
version: '0'
|
|
105
91
|
- !ruby/object:Gem::Dependency
|
|
106
92
|
name: pry
|
|
107
93
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -222,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
222
208
|
- !ruby/object:Gem::Version
|
|
223
209
|
version: '0'
|
|
224
210
|
requirements: []
|
|
225
|
-
rubygems_version: 3.
|
|
211
|
+
rubygems_version: 3.2.22
|
|
226
212
|
signing_key:
|
|
227
213
|
specification_version: 4
|
|
228
214
|
summary: Beaker Host Generator Utility
|