-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dan Webb <[email protected]>
- Loading branch information
Showing
6 changed files
with
84 additions
and
35 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@test-kitchen/maintainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: Lint & Unit | ||
|
||
"on": | ||
pull_request: | ||
|
||
jobs: | ||
lint-unit: | ||
uses: test-kitchen/.github/.github/workflows/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
-- | ||
name: release-please | ||
|
||
"on": | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
id: release | ||
with: | ||
release-type: ruby | ||
package-name: kitchen-vro | ||
version-file: lib/kitchen/driver/vro_version.rb | ||
token: ${{ secrets.PORTER_GITHUB_TOKEN }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
if: ${{ steps.release.outputs.release_created }} | ||
|
||
- name: Build and publish to GitHub Package | ||
uses: actionshub/publish-gem-to-github@main | ||
if: ${{ steps.release.outputs.release_created }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
owner: ${{ secrets.OWNER }} | ||
|
||
- name: Build and publish to RubyGems | ||
uses: actionshub/publish-gem-to-rubygems@main | ||
if: ${{ steps.release.outputs.release_created }} | ||
with: | ||
token: ${{ secrets.RUBYGEMS_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'bundler/gem_tasks' | ||
require 'rspec/core/rake_task' | ||
require 'rubocop/rake_task' | ||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
require "rubocop/rake_task" | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
RuboCop::RakeTask.new(:style) | ||
|
||
task default: %i[spec style] | ||
task default: %i{spec style} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
# coding: utf-8 | ||
|
||
lib = File.expand_path('../lib', __FILE__) | ||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'kitchen/driver/vro_version' | ||
require "kitchen/driver/vro_version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'kitchen-vro' | ||
spec.name = "kitchen-vro" | ||
spec.version = Kitchen::Driver::VRO_VERSION | ||
spec.authors = ['Chef Partner Engineering'] | ||
spec.email = ['[email protected]'] | ||
spec.summary = 'A Test Kitchen driver for VMware vRealize Orchestrator (vRO)' | ||
spec.authors = ["Test Kitchen Team"] | ||
spec.email = ["[email protected]"] | ||
spec.summary = "A Test Kitchen driver for VMware vRealize Orchestrator (vRO)" | ||
spec.description = spec.summary | ||
spec.homepage = 'https://github.com/chef-partners/kitchen-vro' | ||
spec.license = 'Apache 2.0' | ||
spec.homepage = "https://https://github.com/test-kitchen/kitchen-vro" | ||
spec.license = "Apache 2.0" | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = [] | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ['lib'] | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_dependency 'test-kitchen', '~> 1.4', '< 4' | ||
spec.add_dependency 'vcoworkflows', '~> 0.2' | ||
spec.add_dependency "test-kitchen", "~> 1.4", "< 4" | ||
spec.add_dependency "vcoworkflows", "~> 0.2" | ||
end |