-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tas50/update_gem_dep
Signed-off-by: Dan Webb <[email protected]>
- Loading branch information
Showing
9 changed files
with
66 additions
and
15 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
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-google | ||
version-file: lib/kitchen/driver/gce_version.rb | ||
|
||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
--- | ||
MD012: false | ||
default: true | ||
MD013: false | ||
MD024: false | ||
MD026: false | ||
MD036: false | ||
MD012: false | ||
MD029: false | ||
MD004: false |
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,3 +1,11 @@ | ||
--- | ||
require: | ||
- chefstyle | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.5 | ||
TargetRubyVersion: 3.1 | ||
Include: | ||
- "**/*.rb" | ||
Exclude: | ||
- "vendor/**/*" | ||
- "spec/**/*" |
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 |
---|---|---|
|
@@ -6,17 +6,17 @@ Gem::Specification.new do |s| | |
s.version = Kitchen::Driver::GCE_VERSION | ||
s.summary = "Kitchen::Driver::Gce" | ||
s.description = "A Test-Kitchen driver for Google Compute Engine" | ||
s.authors = ["Andrew Leonard", "Chef Partner Engineering"] | ||
s.email = ["[email protected]", "[email protected]"] | ||
s.authors = ["Test Kitchen Team"] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/test-kitchen/kitchen-google" | ||
s.license = "Apache-2.0" | ||
|
||
s.files = %w{LICENSE} + Dir.glob("lib/**/*") | ||
s.require_paths = ["lib"] | ||
|
||
s.add_dependency "gcewinpass", "~> 1.1" | ||
s.add_dependency "gcewinpass", "~> 1.1" | ||
s.add_dependency "google-apis-compute_v1", ">= 0.75" | ||
s.add_dependency "test-kitchen", ">= 1.4.1" | ||
s.add_dependency "test-kitchen", ">= 1.0.0", "< 4.0" | ||
|
||
s.required_ruby_version = ">= 2.7" | ||
s.required_ruby_version = ">= 3.1" | ||
end |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
":disableDependencyDashboard", | ||
"schedule:automergeEarlyMondays" | ||
] | ||
} |