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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc36b44395bf6f0041c88b00d0cfe48aa7cf7228266d37fe62ef97d243363439
4
- data.tar.gz: c3c945d48d8014e840725d091cb5ec3dbee46f78eaf0ffceac663ccb396b9c86
3
+ metadata.gz: 746b195dfba403d6dcd2bc2ced6206a0e3b9608e1ab5e7b9835bbbf5b92e0aac
4
+ data.tar.gz: 646bff8f600ba1a18409baea84a15d1986d49f372ac6febfe0895c7fe29c7d20
5
5
  SHA512:
6
- metadata.gz: 4439bc945c20414a53ea46ca748f2409e3adaa4f5d839f5cbb15ba6059dd63cc3afb6c7610bf9b61af06680ca2405c9355fae4e91377df1c7bb66b739c35f1e8
7
- data.tar.gz: 37a7b8f9ab417ba43d4a4e1e5c6ab95f18effdff461740e68c343ad465533ec4d3a2dfa7bb0faeaaf856976df19181e1e500a682f1167d4edc90adb00fef3869
6
+ metadata.gz: a0d5830714e4f422256f67536c31f12b779086156d867a8c2dd5ac13f911ae6361e222eab24192ede7fc10b6349467a8fb9467a31f3f7d2f400cb422ab0bf996
7
+ data.tar.gz: ac96953b0acdfa2d4f9f08edb0cc2fc82b80d39438ff34c36cba7682960519c59d72e1741f72c7a8ca03aa42b407f24bb2e57d21a59cb37477a0220141a0226d
@@ -1,22 +1,32 @@
1
1
  name: Release
2
2
 
3
3
  on:
4
- create:
5
- ref_type: tag
4
+ push:
5
+ tags:
6
+ - '*'
6
7
 
7
8
  jobs:
8
9
  release:
9
10
  runs-on: ubuntu-latest
10
- if: github.repository == 'voxpupuli/beaker-hostgenerator'
11
+ if: github.repository_owner == 'voxpupuli'
11
12
  steps:
12
13
  - uses: actions/checkout@v2
13
- - name: Install Ruby 2.7
14
+ - name: Install Ruby 3.0
14
15
  uses: ruby/setup-ruby@v1
15
16
  with:
16
- ruby-version: '2.7'
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
@@ -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
- ruby:
14
- - "2.4"
15
- - "2.5"
16
- - "2.6"
17
- - "2.7"
18
- name: Ruby ${{ matrix.ruby }}
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 test:spec
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
@@ -9,3 +9,8 @@ end
9
9
  group :release do
10
10
  gem 'github_changelog_generator', :require => false
11
11
  end
12
+
13
+ group :coverage, optional: ENV['COVERAGE']!='yes' do
14
+ gem 'simplecov-console', :require => false
15
+ gem 'codecov', :require => false
16
+ end
data/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Beaker Host Generator
2
2
 
3
+ [![License](https://img.shields.io/github/license/voxpupuli/beaker-hostgenerator.svg)](https://github.com/voxpupuli/beaker-hostgenerator/blob/master/LICENSE)
4
+ [![Test](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/test.yml)
5
+ [![codecov](https://codecov.io/gh/voxpupuli/beaker-hostgenerator/branch/master/graph/badge.svg)](https://codecov.io/gh/voxpupuli/beaker-hostgenerator)
6
+ [![Release](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/beaker-hostgenerator/actions/workflows/release.yml)
7
+ [![RubyGem Version](https://img.shields.io/gem/v/beaker-hostgenerator.svg)](https://rubygems.org/gems/beaker-hostgenerator)
8
+ [![RubyGem Downloads](https://img.shields.io/gem/dt/beaker-hostgenerator.svg)](https://rubygems.org/gems/beaker-hostgenerator)
9
+ [![Donated by Puppet Inc](https://img.shields.io/badge/donated%20by-Puppet%20Inc-fb7047.svg)](#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',
@@ -10,7 +10,7 @@ module BeakerHostGenerator
10
10
  # default global configuration keys
11
11
  def global_config
12
12
  {
13
- 'pooling_api' => 'http://vmpooler.delivery.puppetlabs.net/'
13
+ 'pooling_api' => 'https://vmpooler-prod.k8s.infracore.puppet.net/'
14
14
  }
15
15
  end
16
16
 
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '1.7.1'
3
+ STRING = '1.8.0'
4
4
  end
5
5
  end
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.7.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-09-22 00:00:00.000000000 Z
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.1.6
211
+ rubygems_version: 3.2.22
226
212
  signing_key:
227
213
  specification_version: 4
228
214
  summary: Beaker Host Generator Utility