beaker-hostgenerator 1.18.1 → 2.0.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/dependabot.yml +9 -0
- data/.github/workflows/release.yml +1 -1
- data/.github/workflows/test.yml +30 -9
- data/.rubocop.yml +30 -0
- data/.rubocop_todo.yml +665 -0
- data/CHANGELOG.md +30 -0
- data/Gemfile +10 -2
- data/README.md +28 -28
- data/Rakefile +13 -6
- data/beaker-hostgenerator.gemspec +9 -7
- data/lib/beaker-hostgenerator/abs_support.rb +5 -5
- data/lib/beaker-hostgenerator/cli.rb +21 -21
- data/lib/beaker-hostgenerator/data.rb +366 -978
- data/lib/beaker-hostgenerator/exceptions.rb +5 -3
- data/lib/beaker-hostgenerator/generator.rb +2 -1
- data/lib/beaker-hostgenerator/hypervisor/docker.rb +6 -23
- data/lib/beaker-hostgenerator/hypervisor/hcloud.rb +1 -2
- data/lib/beaker-hostgenerator/hypervisor/vmpooler.rb +1 -5
- data/lib/beaker-hostgenerator/hypervisor.rb +0 -2
- data/lib/beaker-hostgenerator/parser.rb +17 -18
- data/lib/beaker-hostgenerator/roles.rb +1 -2
- data/lib/beaker-hostgenerator/util.rb +1 -5
- data/lib/beaker-hostgenerator/version.rb +1 -1
- metadata +38 -37
- data/bin/genconfig2 +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d05d61bb5a7cc218e5739aee4f3f5716f62be0d7604c5fed65a6eb90d44c029
|
4
|
+
data.tar.gz: 4db4f8b93a1905249eb2608c8d8520829d6cd59490ef20ba7a349664b9555e18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e214fc0e5a875f751b3d0a6ff8a0139aff20516aabd5feb10c008d065978647c58a6ef7631c681940cb256f25da925da46d0e8f31c09d747f021287b841c712
|
7
|
+
data.tar.gz: c9e58ccd0fa1320ae757028c6c54f6d35fb35f6e658582189222648ff06986a3acd5e1405b1b17277e80ceda9a3dc4054a5cb7ea8b3de123e58a8ab555fd76e4
|
data/.github/dependabot.yml
CHANGED
@@ -1,8 +1,17 @@
|
|
1
1
|
version: 2
|
2
2
|
updates:
|
3
|
+
# raise PRs for gem updates
|
3
4
|
- package-ecosystem: bundler
|
4
5
|
directory: "/"
|
5
6
|
schedule:
|
6
7
|
interval: daily
|
7
8
|
time: "13:00"
|
8
9
|
open-pull-requests-limit: 10
|
10
|
+
|
11
|
+
# Maintain dependencies for GitHub Actions
|
12
|
+
- package-ecosystem: github-actions
|
13
|
+
directory: "/"
|
14
|
+
schedule:
|
15
|
+
interval: daily
|
16
|
+
time: "13:00"
|
17
|
+
open-pull-requests-limit: 10
|
data/.github/workflows/test.yml
CHANGED
@@ -1,30 +1,42 @@
|
|
1
1
|
name: Test
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
BUNDLE_WITHOUT: release
|
4
|
+
pull_request: {}
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
9
8
|
|
10
9
|
jobs:
|
10
|
+
rubocop:
|
11
|
+
env:
|
12
|
+
BUNDLE_WITHOUT: release
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v3
|
16
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
17
|
+
uses: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: "3.1"
|
20
|
+
bundler-cache: true
|
21
|
+
- name: Run Rubocop
|
22
|
+
run: bundle exec rake rubocop
|
23
|
+
|
11
24
|
test:
|
12
25
|
runs-on: ubuntu-latest
|
13
26
|
strategy:
|
14
27
|
fail-fast: false
|
15
28
|
matrix:
|
16
29
|
include:
|
17
|
-
- ruby: "2.4"
|
18
|
-
- ruby: "2.5"
|
19
|
-
- ruby: "2.6"
|
20
30
|
- ruby: "2.7"
|
21
31
|
- ruby: "3.0"
|
22
32
|
- ruby: "3.1"
|
23
33
|
coverage: "yes"
|
34
|
+
- ruby: "3.2"
|
24
35
|
env:
|
25
36
|
COVERAGE: ${{ matrix.coverage }}
|
37
|
+
BUNDLE_WITHOUT: release:rubocop
|
26
38
|
steps:
|
27
|
-
- uses: actions/checkout@
|
39
|
+
- uses: actions/checkout@v3
|
28
40
|
- name: Install Ruby ${{ matrix.ruby }}
|
29
41
|
uses: ruby/setup-ruby@v1
|
30
42
|
with:
|
@@ -34,3 +46,12 @@ jobs:
|
|
34
46
|
run: bundle exec rake
|
35
47
|
- name: Build gem
|
36
48
|
run: gem build *.gemspec
|
49
|
+
|
50
|
+
tests:
|
51
|
+
needs:
|
52
|
+
- rubocop
|
53
|
+
- test
|
54
|
+
runs-on: ubuntu-latest
|
55
|
+
name: Test suite
|
56
|
+
steps:
|
57
|
+
- run: echo Test suite completed
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
inherit_from: .rubocop_todo.yml
|
3
|
+
|
4
|
+
require:
|
5
|
+
- rubocop-minitest
|
6
|
+
- rubocop-performance
|
7
|
+
- rubocop-rake
|
8
|
+
- rubocop-rspec
|
9
|
+
|
10
|
+
AllCops:
|
11
|
+
NewCops: enable
|
12
|
+
TargetRubyVersion: 2.7
|
13
|
+
|
14
|
+
Layout/FirstArrayElementIndentation:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Style/TrailingCommaInHashLiteral:
|
18
|
+
Enabled: True
|
19
|
+
EnforcedStyleForMultiline: consistent_comma
|
20
|
+
|
21
|
+
Style/TrailingCommaInArrayLiteral:
|
22
|
+
Enabled: True
|
23
|
+
EnforcedStyleForMultiline: consistent_comma
|
24
|
+
|
25
|
+
Style/TrailingCommaInArguments:
|
26
|
+
Enabled: True
|
27
|
+
EnforcedStyleForMultiline: comma
|
28
|
+
|
29
|
+
Gemspec/RequireMFA:
|
30
|
+
Enabled: false
|