capistrano-itamae 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +11 -3
- data/.github/release.yml +31 -0
- data/.github/workflows/dependabot-manager.yml +28 -0
- data/.github/workflows/release_gem.yml +4 -31
- data/.github/workflows/test.yml +11 -11
- data/CHANGELOG.md +7 -1
- data/Gemfile +5 -0
- data/README.md +1 -1
- data/lib/capistrano/itamae/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99ff85a736b8fbd4c6d2cfae398614cae52920eb63a4bc2b68154138f4dd766e
|
|
4
|
+
data.tar.gz: 8717fec2d4cb5694d759398bc6e2f0435c9576b569f2106fc1755122252090b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bef806a5450a811edcdc801801177109474b20dd4d6b1411da81c373e91fdb84f00db0b7d7fc96639fb916d9191020c7f9b6e2d90fedf254826303f35fad1c6c
|
|
7
|
+
data.tar.gz: 0f27b92747791854c90ac1a733258a390d67a1de89870d02e1391d9a7686c23e18b3759df69f24f6d5bb2a6f3ac92305603210c6f3b90c25180331ac67c55e27
|
data/.github/dependabot.yml
CHANGED
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
version: 2
|
|
3
3
|
|
|
4
4
|
updates:
|
|
5
|
+
###########################################################
|
|
6
|
+
# NOTE: following sections are auto generated. DO NOT EDIT!
|
|
7
|
+
###########################################################
|
|
5
8
|
- package-ecosystem: github-actions
|
|
6
9
|
directory: /
|
|
7
10
|
schedule:
|
|
8
|
-
interval:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
interval: monthly
|
|
12
|
+
time: "05:00"
|
|
13
|
+
timezone: Asia/Tokyo
|
|
11
14
|
assignees:
|
|
12
15
|
- sue445
|
|
16
|
+
cooldown:
|
|
17
|
+
default-days: 7
|
|
18
|
+
exclude:
|
|
19
|
+
- ruby/setup-ruby
|
|
20
|
+
###########################################################
|
data/.github/release.yml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# ref. https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
|
|
2
|
+
|
|
3
|
+
changelog:
|
|
4
|
+
exclude:
|
|
5
|
+
labels:
|
|
6
|
+
- chore
|
|
7
|
+
|
|
8
|
+
categories:
|
|
9
|
+
- title: ":bomb: Breaking Changes"
|
|
10
|
+
labels:
|
|
11
|
+
- breaking change
|
|
12
|
+
|
|
13
|
+
- title: ":lock: Security Fix"
|
|
14
|
+
labels:
|
|
15
|
+
- security
|
|
16
|
+
|
|
17
|
+
- title: ":rocket: Features"
|
|
18
|
+
labels:
|
|
19
|
+
- enhancement
|
|
20
|
+
|
|
21
|
+
- title: ":bug: Bug Fixes"
|
|
22
|
+
labels:
|
|
23
|
+
- bug
|
|
24
|
+
|
|
25
|
+
- title: ":dependabot: Dependency updates"
|
|
26
|
+
labels:
|
|
27
|
+
- dependencies
|
|
28
|
+
|
|
29
|
+
- title: ":pencil: Other Changes"
|
|
30
|
+
labels:
|
|
31
|
+
- "*"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: dependabot-manager
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types:
|
|
6
|
+
- opened
|
|
7
|
+
- synchronize # PR branch is rebased
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
dependabot-auto-merge:
|
|
11
|
+
uses: sue445/workflows/.github/workflows/dependabot-auto-merge.yml@main
|
|
12
|
+
with:
|
|
13
|
+
repo-name: sue445/capistrano-itamae
|
|
14
|
+
secrets:
|
|
15
|
+
# TODO: Set secrets to Dependabot secrets
|
|
16
|
+
app-id: ${{ secrets.GH_APP_ID }}
|
|
17
|
+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
18
|
+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
|
19
|
+
|
|
20
|
+
dependabot-security-alert:
|
|
21
|
+
uses: sue445/workflows/.github/workflows/dependabot-security-alert.yml@main
|
|
22
|
+
with:
|
|
23
|
+
repo-name: sue445/capistrano-itamae
|
|
24
|
+
secrets:
|
|
25
|
+
# TODO: Set secrets to Dependabot secrets
|
|
26
|
+
app-id: ${{ secrets.GH_APP_ID }}
|
|
27
|
+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
28
|
+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
|
@@ -5,37 +5,10 @@ on:
|
|
|
5
5
|
|
|
6
6
|
jobs:
|
|
7
7
|
release:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
name: rubygems.org
|
|
13
|
-
url: https://rubygems.org/gems/capistrano-itamae
|
|
14
|
-
|
|
8
|
+
uses: sue445/workflows/.github/workflows/release_gem.yml@main
|
|
9
|
+
with:
|
|
10
|
+
repo-name: sue445/capistrano-itamae
|
|
11
|
+
gem-name: capistrano-itamae
|
|
15
12
|
permissions:
|
|
16
13
|
contents: write
|
|
17
14
|
id-token: write
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- name: Harden Runner
|
|
21
|
-
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
22
|
-
with:
|
|
23
|
-
egress-policy: audit
|
|
24
|
-
|
|
25
|
-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
26
|
-
|
|
27
|
-
- name: Set up Ruby
|
|
28
|
-
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
|
|
29
|
-
with:
|
|
30
|
-
bundler-cache: true
|
|
31
|
-
ruby-version: ruby
|
|
32
|
-
|
|
33
|
-
- name: Publish to RubyGems
|
|
34
|
-
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
|
|
35
|
-
|
|
36
|
-
- name: Create GitHub release
|
|
37
|
-
run: |
|
|
38
|
-
tag_name="$(git describe --tags --abbrev=0)"
|
|
39
|
-
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
40
|
-
env:
|
|
41
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
|
@@ -31,11 +31,12 @@ jobs:
|
|
|
31
31
|
- "3.2"
|
|
32
32
|
- "3.3"
|
|
33
33
|
- "3.4"
|
|
34
|
+
- "4.0"
|
|
34
35
|
|
|
35
36
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
37
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
37
38
|
|
|
38
|
-
- uses: ruby/setup-ruby@
|
|
39
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
39
40
|
with:
|
|
40
41
|
ruby-version: ${{ matrix.ruby }}
|
|
41
42
|
bundler-cache: true
|
|
@@ -57,7 +58,7 @@ jobs:
|
|
|
57
58
|
bundle exec rake spec
|
|
58
59
|
|
|
59
60
|
- name: Slack Notification (not success)
|
|
60
|
-
uses: act10ns/slack@
|
|
61
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
61
62
|
if: "! success()"
|
|
62
63
|
continue-on-error: true
|
|
63
64
|
with:
|
|
@@ -65,17 +66,16 @@ jobs:
|
|
|
65
66
|
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
66
67
|
matrix: ${{ toJson(matrix) }}
|
|
67
68
|
|
|
68
|
-
|
|
69
|
+
all-pass:
|
|
70
|
+
if: always()
|
|
71
|
+
|
|
69
72
|
needs:
|
|
70
73
|
- test
|
|
71
74
|
|
|
72
|
-
runs-on: ubuntu-
|
|
75
|
+
runs-on: ubuntu-slim
|
|
73
76
|
|
|
74
77
|
steps:
|
|
75
|
-
- name:
|
|
76
|
-
uses:
|
|
77
|
-
if: always()
|
|
78
|
-
continue-on-error: true
|
|
78
|
+
- name: check dependent jobs
|
|
79
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
79
80
|
with:
|
|
80
|
-
|
|
81
|
-
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
81
|
+
jobs: ${{ toJSON(needs) }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.
|
|
2
|
+
[full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.4...master)
|
|
3
|
+
|
|
4
|
+
## [v1.0.4](https://github.com/sue445/capistrano-itamae/releases/tag/v1.0.4)
|
|
5
|
+
[full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.3...v1.0.4)
|
|
6
|
+
|
|
7
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
8
|
+
* https://github.com/sue445/capistrano-itamae/pull/88
|
|
3
9
|
|
|
4
10
|
## [v1.0.3](https://github.com/sue445/capistrano-itamae/releases/tag/v1.0.3)
|
|
5
11
|
[full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.2...v1.0.3)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Run [itamae](https://github.com/itamae-kitchen/itamae) in capistrano task
|
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/capistrano-itamae)
|
|
6
6
|
[](https://github.com/sue445/capistrano-itamae/actions/workflows/test.yml)
|
|
7
|
-
[](https://qlty.sh/gh/sue445/projects/capistrano-itamae)
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-itamae
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
@@ -141,6 +141,8 @@ extensions: []
|
|
|
141
141
|
extra_rdoc_files: []
|
|
142
142
|
files:
|
|
143
143
|
- ".github/dependabot.yml"
|
|
144
|
+
- ".github/release.yml"
|
|
145
|
+
- ".github/workflows/dependabot-manager.yml"
|
|
144
146
|
- ".github/workflows/release_gem.yml"
|
|
145
147
|
- ".github/workflows/test.yml"
|
|
146
148
|
- ".gitignore"
|
|
@@ -179,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
179
181
|
- !ruby/object:Gem::Version
|
|
180
182
|
version: '0'
|
|
181
183
|
requirements: []
|
|
182
|
-
rubygems_version:
|
|
184
|
+
rubygems_version: 4.0.16
|
|
183
185
|
specification_version: 4
|
|
184
186
|
summary: Run itamae in capistrano task
|
|
185
187
|
test_files: []
|