Skip to content

Commit

Permalink
fix: update release please configs (#326)
Browse files Browse the repository at this point in the history
* fix: update release please configs

---------

Signed-off-by: Corey Hemminger <[email protected]>
  • Loading branch information
Stromweld authored Jun 19, 2024
1 parent f09859e commit a407bcc
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ name: 'Lint, Unit & Integration Tests'

jobs:
lint-unit:
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@v0.1.2
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main

integration:
runs-on: ubuntu-latest
needs: lint-unit
name: Kitchen Verify
strategy:
matrix:
ruby: ["3.3"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Create & Validate containers
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: ruby
package-name: kitchen-dokken
version-file: lib/kitchen/driver/dokken_version.rb
token: ${{ secrets.PORTER_GITHUB_TOKEN }}

- name: Checkout
Expand Down
7 changes: 2 additions & 5 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
default: true
MD004: false
MD012: false
MD013: false
MD024: false
MD026: false
MD036: false
MD012: false
MD029: false
MD004: false
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "2.20.4"
}
9 changes: 8 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
---
require:
- chefstyle

AllCops:
TargetRubyVersion: 2.7
Include:
- "**/*.rb"
Exclude:
- "vendor/**/*"
- "spec/**/*"
12 changes: 12 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"packages": {
".": {
"package-name": "kitchen-dokken",
"changelog-path": "CHANGELOG.md",
"release-type": "ruby",
"include-component-in-tag": false,
"version-file": "lib/kitchen/driver/dokken_version.rb"
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit a407bcc

Please sign in to comment.