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/dependabot.yml b/.github/dependabot.yml index 452ebb3..7062856 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,8 @@ +--- version: 2 updates: -- package-ecosystem: bundler - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 + - package-ecosystem: bundler + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 0eaf511..4700f36 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -6,4 +6,4 @@ name: 'Test' 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 b7332e5..d47a1b2 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@v4 id: release with: - release-type: ruby - package-name: kitchen-rackspace - version-file: lib/kitchen/driver/rackspace_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..d353515 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.21.0" +} diff --git a/Gemfile b/Gemfile index c488ba4..86c4a1d 100644 --- a/Gemfile +++ b/Gemfile @@ -9,5 +9,5 @@ group :test do end group :chefstyle do - gem "chefstyle", "~> 2.2", ">= 2.2.3" + gem "chefstyle", "2.2.3" end diff --git a/kitchen-rackspace.gemspec b/kitchen-rackspace.gemspec index c348d93..d2bc6ed 100644 --- a/kitchen-rackspace.gemspec +++ b/kitchen-rackspace.gemspec @@ -20,5 +20,6 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 3.1" spec.add_dependency "fog-rackspace", "~> 0.1.6" + spec.add_dependency "fog-core", ">= 1.35" ,"< 2.1.1" spec.add_dependency "test-kitchen", ">= 1.1", "< 4.0" end diff --git a/lib/kitchen/driver/rackspace.rb b/lib/kitchen/driver/rackspace.rb index c986a35..afc1d8a 100644 --- a/lib/kitchen/driver/rackspace.rb +++ b/lib/kitchen/driver/rackspace.rb @@ -3,6 +3,7 @@ require "kitchen" require "etc" unless defined?(Etc) require "socket" unless defined?(Socket) +require "json" unless defined?(JSON) module Kitchen module Driver diff --git a/lib/kitchen/driver/rackspace_version.rb b/lib/kitchen/driver/rackspace_version.rb index 97f10f2..befa899 100644 --- a/lib/kitchen/driver/rackspace_version.rb +++ b/lib/kitchen/driver/rackspace_version.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true module Kitchen module Driver - RACKSPACE_VERSION = "0.21.1.dev" + RACKSPACE_VERSION = "0.21.0" end end diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..fdb8fb0 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "packages": { + ".": { + "package-name": "kitchen-rackspace", + "changelog-path": "CHANGELOG.md", + "release-type": "ruby", + "include-component-in-tag": false, + "version-file": "lib/kitchen/driver/rackspace_version.rb" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}