From cd88b249be85d599191793b25e28b33511c55d97 Mon Sep 17 00:00:00 2001 From: Corey Hemminger Date: Mon, 1 Jul 2024 12:35:56 -0500 Subject: [PATCH] fix: release please (#95) * fix: release please --------- Signed-off-by: Corey Hemminger --- .github/CODEOWNERS | 1 + .github/workflows/lint.yml | 6 +++--- .github/workflows/publish.yaml | 5 +---- .markdownlint.yaml | 7 ++----- .release-please-manifest.json | 3 +++ README.md | 2 +- release-please-config.json | 12 ++++++++++++ 7 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..b7175b0 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@test-kitchen/maintainers diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6cbf56a..042bc85 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,9 +1,9 @@ --- -name: "Lint, Unit & Integration Tests" +name: 'Lint, Unit & Integration Tests' -"on": +'on': pull_request: 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 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 441879f..e7a75d9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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@v3 id: release with: - release-type: ruby - package-name: kitchen-dsc - version-file: lib/kitchen-dsc/version.rb token: ${{ secrets.PORTER_GITHUB_TOKEN }} - name: Checkout diff --git a/.markdownlint.yaml b/.markdownlint.yaml index b5908fb..9fd2375 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,9 +1,6 @@ --- default: true +MD004: false +MD012: false MD013: false MD024: false -MD026: false -MD036: false -MD012: false -MD029: false -MD004: false diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..8032c17 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.12.0" +} diff --git a/README.md b/README.md index 792b381..173266d 100755 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You'll need a driver box with WMF4 or greater (ONLY WINDOWS SYSTEMS) You'll need the test-kitchen & kitchen-dsc gems installed in your system, along with kitchen-vagrant or some ther suitable driver for test-kitchen. -### Note: +### Note You will see a delay in the return of the run details due to an difference in how the verbose stream is returned for DSC runs between WMF versions, so I return the verbose stream after the job completes. I'd love to live stream the results, but that'll take a bit more experimentation. (PR's welcome!) diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..53baa4c --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "packages": { + ".": { + "package-name": "kitchen-dsc", + "changelog-path": "CHANGELOG.md", + "release-type": "ruby", + "include-component-in-tag": false, + "version-file": "lib/kitchen-dsc/version.rb" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}