beaker-vcloud 1.0.0 → 1.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 +5 -5
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/release.yml +32 -0
- data/.github/workflows/test.yml +35 -0
- data/CHANGELOG.md +54 -0
- data/Gemfile +7 -3
- data/README.md +28 -2
- data/Rakefile +14 -11
- data/beaker-vcloud.gemspec +5 -19
- data/lib/beaker-vcloud/version.rb +1 -1
- data/spec/spec_helper.rb +24 -1
- metadata +10 -77
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 542915c3ebbc5457f6dbf4e8b8e78f79547c536b344470c35c6c1237cb3fb000
|
4
|
+
data.tar.gz: 7d0f178a90c5adc24bf813ffb33800825f6d652dbda16f87608ec7465c4810cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1510d5f9fd01949062bc90d5fbd2e9b6ebf72039a2d23e45b82c190e8a72108e623af5fe12de1709b5e10b251fe3558978a47db82db5083e2bcd6df28432110
|
7
|
+
data.tar.gz: f3169acda5c87ae11ef68ebff098f1b9773795cf5bc49ea9b2bb4fb8940e4e1f963d4d0cecdfb692172f8dc1324b59fe509194264e007b2d08b3bf96851ab305
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- '*'
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
release:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
if: github.repository_owner == 'voxpupuli'
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- name: Install Ruby 3.0
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: '3.0'
|
18
|
+
env:
|
19
|
+
BUNDLE_WITHOUT: release
|
20
|
+
- name: Build gem
|
21
|
+
run: gem build *.gemspec
|
22
|
+
- name: Publish gem to rubygems.org
|
23
|
+
run: gem push *.gem
|
24
|
+
env:
|
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
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
- pull_request
|
5
|
+
- push
|
6
|
+
|
7
|
+
env:
|
8
|
+
BUNDLE_WITHOUT: release
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
test:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
strategy:
|
14
|
+
fail-fast: false
|
15
|
+
matrix:
|
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 }}
|
25
|
+
steps:
|
26
|
+
- uses: actions/checkout@v2
|
27
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
28
|
+
uses: ruby/setup-ruby@v1
|
29
|
+
with:
|
30
|
+
ruby-version: ${{ matrix.ruby }}
|
31
|
+
bundler-cache: true
|
32
|
+
- name: Run tests
|
33
|
+
run: bundle exec rake
|
34
|
+
- name: Build gem
|
35
|
+
run: gem build *.gemspec
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [1.1.0](https://github.com/voxpupuli/beaker-vcloud/tree/1.1.0) (2021-08-09)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-vcloud/compare/1.0.0...1.1.0)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Add GitHub actions, Update README.md after migration [\#8](https://github.com/voxpupuli/beaker-vcloud/pull/8) ([bastelfreak](https://github.com/bastelfreak))
|
10
|
+
|
11
|
+
## [1.0.0](https://github.com/voxpupuli/beaker-vcloud/tree/1.0.0) (2018-08-06)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-vcloud/compare/0.4.0...1.0.0)
|
14
|
+
|
15
|
+
**Merged pull requests:**
|
16
|
+
|
17
|
+
- \(BKR-1509\) Removes vcloud legacy fallback to vmpooler [\#7](https://github.com/voxpupuli/beaker-vcloud/pull/7) ([Dakta](https://github.com/Dakta))
|
18
|
+
|
19
|
+
## [0.4.0](https://github.com/voxpupuli/beaker-vcloud/tree/0.4.0) (2018-08-03)
|
20
|
+
|
21
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-vcloud/compare/0.3.0...0.4.0)
|
22
|
+
|
23
|
+
**Merged pull requests:**
|
24
|
+
|
25
|
+
- \(BKR-1507\) Specify vcenter\_instance for init [\#6](https://github.com/voxpupuli/beaker-vcloud/pull/6) ([jcoconnor](https://github.com/jcoconnor))
|
26
|
+
|
27
|
+
## [0.3.0](https://github.com/voxpupuli/beaker-vcloud/tree/0.3.0) (2018-06-27)
|
28
|
+
|
29
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-vcloud/compare/0.2.0...0.3.0)
|
30
|
+
|
31
|
+
**Merged pull requests:**
|
32
|
+
|
33
|
+
- \(BKR-1094\) Deprecate vcloud's silent fallback to vmpooler [\#5](https://github.com/voxpupuli/beaker-vcloud/pull/5) ([Dakta](https://github.com/Dakta))
|
34
|
+
|
35
|
+
## [0.2.0](https://github.com/voxpupuli/beaker-vcloud/tree/0.2.0) (2017-10-24)
|
36
|
+
|
37
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-vcloud/compare/0.1.0...0.2.0)
|
38
|
+
|
39
|
+
**Merged pull requests:**
|
40
|
+
|
41
|
+
- \(BKR-1217\) suppress enable\_root on cygwin SUTs [\#4](https://github.com/voxpupuli/beaker-vcloud/pull/4) ([kevpl](https://github.com/kevpl))
|
42
|
+
- \(BKR-1216\) Add beaker-vmware to vcloud [\#2](https://github.com/voxpupuli/beaker-vcloud/pull/2) ([tvpartytonight](https://github.com/tvpartytonight))
|
43
|
+
|
44
|
+
## [0.1.0](https://github.com/voxpupuli/beaker-vcloud/tree/0.1.0) (2017-08-09)
|
45
|
+
|
46
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-vcloud/compare/df44e4b13e3ede1d832623b54fe4acb8278543dd...0.1.0)
|
47
|
+
|
48
|
+
**Merged pull requests:**
|
49
|
+
|
50
|
+
- \(MAINT\) Add README for beaker-vcloud repo [\#1](https://github.com/voxpupuli/beaker-vcloud/pull/1) ([rishijavia](https://github.com/rishijavia))
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
@@ -16,10 +16,14 @@ end
|
|
16
16
|
# We don't put beaker in as a test dependency because we
|
17
17
|
# don't want to create a transitive dependency
|
18
18
|
group :acceptance_testing do
|
19
|
-
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '
|
19
|
+
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '>= 3.0')
|
20
20
|
end
|
21
21
|
|
22
|
+
group :release do
|
23
|
+
gem 'github_changelog_generator', require: false
|
24
|
+
end
|
22
25
|
|
23
|
-
|
24
|
-
|
26
|
+
group :coverage, optional: ENV['COVERAGE']!='yes' do
|
27
|
+
gem 'simplecov-console', :require => false
|
28
|
+
gem 'codecov', :require => false
|
25
29
|
end
|
data/README.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# beaker-vcloud
|
2
2
|
|
3
|
+
[](https://github.com/voxpupuli/beaker-vcloud/blob/master/LICENSE)
|
4
|
+
[](https://github.com/voxpupuli/beaker-vcloud/actions/workflows/test.yml)
|
5
|
+
[](https://codecov.io/gh/voxpupuli/beaker-vcloud)
|
6
|
+
[](https://github.com/voxpupuli/beaker-vcloud/actions/workflows/release.yml)
|
7
|
+
[](https://rubygems.org/gems/beaker-vcloud)
|
8
|
+
[](https://rubygems.org/gems/beaker-vcloud)
|
9
|
+
[](#transfer-notice)
|
10
|
+
|
3
11
|
Beaker library to use vcloud hypervisor
|
4
12
|
|
5
13
|
# Legacy VMPooler Fallback
|
@@ -29,6 +37,24 @@ s.add_runtime_dependency 'beaker', '~>4.0'
|
|
29
37
|
s.add_runtime_dependency 'beaker-vcloud'
|
30
38
|
~~~
|
31
39
|
|
32
|
-
|
40
|
+
## Transfer Notice
|
41
|
+
|
42
|
+
This plugin was originally authored by [Puppet Inc](http://puppet.com).
|
43
|
+
The maintainer preferred that Vox Pupuli take ownership of the module for future improvement and maintenance.
|
44
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute at https://github.com/voxpupuli/beaker-vcloud
|
45
|
+
|
46
|
+
Previously: https://github.com/puppetlabs/beaker-vcloud
|
47
|
+
|
48
|
+
## License
|
49
|
+
|
50
|
+
This gem is licensed under the Apache-2 license.
|
51
|
+
|
52
|
+
## Release information
|
33
53
|
|
34
|
-
|
54
|
+
To make a new release, please do:
|
55
|
+
* update the version in lib/beaker-vcloud/version.rb
|
56
|
+
* Install gems with `bundle install --with release --path .vendor`
|
57
|
+
* generate the changelog with `bundle exec rake changelog`
|
58
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
59
|
+
* Create a PR with it
|
60
|
+
* After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
|
data/Rakefile
CHANGED
@@ -1,24 +1,13 @@
|
|
1
1
|
require 'rspec/core/rake_task'
|
2
2
|
|
3
3
|
namespace :test do
|
4
|
-
|
5
4
|
namespace :spec do
|
6
|
-
|
7
5
|
desc "Run spec tests"
|
8
6
|
RSpec::Core::RakeTask.new(:run) do |t|
|
9
7
|
t.rspec_opts = ['--color']
|
10
8
|
t.pattern = 'spec/'
|
11
9
|
end
|
12
|
-
|
13
|
-
desc "Run spec tests with coverage"
|
14
|
-
RSpec::Core::RakeTask.new(:coverage) do |t|
|
15
|
-
ENV['BEAKER_VCLOUD_COVERAGE'] = 'y'
|
16
|
-
t.rspec_opts = ['--color']
|
17
|
-
t.pattern = 'spec/'
|
18
|
-
end
|
19
|
-
|
20
10
|
end
|
21
|
-
|
22
11
|
end
|
23
12
|
|
24
13
|
# namespace-named default tasks.
|
@@ -135,3 +124,17 @@ namespace :docs do
|
|
135
124
|
end
|
136
125
|
end
|
137
126
|
end
|
127
|
+
|
128
|
+
begin
|
129
|
+
require 'rubygems'
|
130
|
+
require 'github_changelog_generator/task'
|
131
|
+
rescue LoadError # rubocop:disable Lint/HandleExceptions
|
132
|
+
else
|
133
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
134
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
|
135
|
+
config.user = 'voxpupuli'
|
136
|
+
config.project = 'beaker-vcloud'
|
137
|
+
gem_version = Gem::Specification.load("#{config.project}.gemspec").version
|
138
|
+
config.future_release = gem_version
|
139
|
+
end
|
140
|
+
end
|
data/beaker-vcloud.gemspec
CHANGED
@@ -5,9 +5,9 @@ require 'beaker-vcloud/version'
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "beaker-vcloud"
|
7
7
|
s.version = BeakerVcloud::VERSION
|
8
|
-
s.authors = ["
|
9
|
-
s.email = ["
|
10
|
-
s.homepage = "https://github.com/
|
8
|
+
s.authors = ["Vox Pupuli"]
|
9
|
+
s.email = ["voxpupuli@groups.io"]
|
10
|
+
s.homepage = "https://github.com/voxpupuli/beaker-vcloud"
|
11
11
|
s.summary = %q{Beaker DSL Extension Helpers!}
|
12
12
|
s.description = %q{For use for the Beaker acceptance testing tool}
|
13
13
|
s.license = 'Apache2'
|
@@ -20,25 +20,11 @@ Gem::Specification.new do |s|
|
|
20
20
|
# Testing dependencies
|
21
21
|
s.add_development_dependency 'rspec', '~> 3.0'
|
22
22
|
s.add_development_dependency 'rspec-its'
|
23
|
-
|
24
|
-
|
25
|
-
s.add_development_dependency 'fakefs', '~> 0.6', '< 0.14'
|
26
|
-
else
|
27
|
-
s.add_development_dependency 'fakefs', '~> 0.6'
|
28
|
-
end
|
29
|
-
s.add_development_dependency 'rake', '~> 10.1'
|
30
|
-
s.add_development_dependency 'simplecov'
|
31
|
-
s.add_development_dependency 'pry', '~> 0.10'
|
32
|
-
|
33
|
-
# Documentation dependencies
|
34
|
-
s.add_development_dependency 'yard'
|
35
|
-
s.add_development_dependency 'markdown'
|
36
|
-
s.add_development_dependency 'thin'
|
23
|
+
s.add_development_dependency 'fakefs', '~> 0.6'
|
24
|
+
s.add_development_dependency 'rake'
|
37
25
|
|
38
26
|
# Run time dependencies
|
39
27
|
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
|
40
28
|
s.add_runtime_dependency 'rbvmomi', '~> 1.9'
|
41
29
|
s.add_runtime_dependency 'beaker-vmware'
|
42
|
-
|
43
30
|
end
|
44
|
-
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,27 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
require 'simplecov'
|
3
|
+
require 'simplecov-console'
|
4
|
+
require 'codecov'
|
5
|
+
rescue LoadError
|
6
|
+
else
|
7
|
+
SimpleCov.start do
|
8
|
+
track_files 'lib/**/*.rb'
|
9
|
+
|
10
|
+
add_filter '/spec'
|
11
|
+
|
12
|
+
enable_coverage :branch
|
13
|
+
|
14
|
+
# do not track vendored files
|
15
|
+
add_filter '/vendor'
|
16
|
+
add_filter '/.vendor'
|
17
|
+
end
|
18
|
+
|
19
|
+
SimpleCov.formatters = [
|
20
|
+
SimpleCov::Formatter::Console,
|
21
|
+
SimpleCov::Formatter::Codecov,
|
22
|
+
]
|
23
|
+
end
|
24
|
+
|
2
25
|
require 'rspec/its'
|
3
26
|
require 'beaker'
|
4
27
|
require 'beaker/hypervisor/vcloud'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-vcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -54,76 +54,6 @@ dependencies:
|
|
54
54
|
version: '0.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: simplecov
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: pry
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.10'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.10'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: yard
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: markdown
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: thin
|
127
57
|
requirement: !ruby/object:Gem::Requirement
|
128
58
|
requirements:
|
129
59
|
- - ">="
|
@@ -180,14 +110,18 @@ dependencies:
|
|
180
110
|
version: '0'
|
181
111
|
description: For use for the Beaker acceptance testing tool
|
182
112
|
email:
|
183
|
-
-
|
113
|
+
- voxpupuli@groups.io
|
184
114
|
executables:
|
185
115
|
- beaker-vcloud
|
186
116
|
extensions: []
|
187
117
|
extra_rdoc_files: []
|
188
118
|
files:
|
119
|
+
- ".github/dependabot.yml"
|
120
|
+
- ".github/workflows/release.yml"
|
121
|
+
- ".github/workflows/test.yml"
|
189
122
|
- ".gitignore"
|
190
123
|
- ".simplecov"
|
124
|
+
- CHANGELOG.md
|
191
125
|
- Gemfile
|
192
126
|
- LICENSE
|
193
127
|
- README.md
|
@@ -198,7 +132,7 @@ files:
|
|
198
132
|
- lib/beaker/hypervisor/vcloud.rb
|
199
133
|
- spec/beaker/hypervisor/vcloud_spec.rb
|
200
134
|
- spec/spec_helper.rb
|
201
|
-
homepage: https://github.com/
|
135
|
+
homepage: https://github.com/voxpupuli/beaker-vcloud
|
202
136
|
licenses:
|
203
137
|
- Apache2
|
204
138
|
metadata: {}
|
@@ -217,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
151
|
- !ruby/object:Gem::Version
|
218
152
|
version: '0'
|
219
153
|
requirements: []
|
220
|
-
|
221
|
-
rubygems_version: 2.5.1
|
154
|
+
rubygems_version: 3.2.22
|
222
155
|
signing_key:
|
223
156
|
specification_version: 4
|
224
157
|
summary: Beaker DSL Extension Helpers!
|