capistrano-itamae 1.0.2 → 1.0.3
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 +12 -0
- data/.github/workflows/release_gem.yml +41 -0
- data/.github/workflows/test.yml +16 -31
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/lib/capistrano/itamae/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9afcd64420d5f62f8a313526951fc5aa856a24a58289fe09532ab05b0107e66c
|
|
4
|
+
data.tar.gz: 2997fbaeea47d13504882143dd3b953a43b1009cb7b6e3ecfc39e75d7a695786
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e81f27db21ce302fdde1ca01908b3cf29f8a65e1ea3940f2f5f4b0d277d87a3f672f7e50c417c896a06bd85bff777845edee929659db6ab7a8d24971da126374
|
|
7
|
+
data.tar.gz: 0576657e92ea5ecaa8b0c601f8f989118ffc86d7a12164bce0df662102574389788d16138588352e8cb6c511bf3da0b5ead56776b73280bd3d45627d71cd10c5
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# c.f. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
2
|
+
version: 2
|
|
3
|
+
|
|
4
|
+
updates:
|
|
5
|
+
- package-ecosystem: github-actions
|
|
6
|
+
directory: /
|
|
7
|
+
schedule:
|
|
8
|
+
interval: weekly
|
|
9
|
+
cooldown:
|
|
10
|
+
default-days: 7
|
|
11
|
+
assignees:
|
|
12
|
+
- sue445
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
if: github.repository == 'sue445/capistrano-itamae'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/capistrano-itamae
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
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
|
@@ -12,9 +12,6 @@ on:
|
|
|
12
12
|
schedule:
|
|
13
13
|
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
|
14
14
|
|
|
15
|
-
env:
|
|
16
|
-
CI: "true"
|
|
17
|
-
|
|
18
15
|
jobs:
|
|
19
16
|
test:
|
|
20
17
|
runs-on: ubuntu-latest
|
|
@@ -30,28 +27,21 @@ jobs:
|
|
|
30
27
|
- "2.6"
|
|
31
28
|
- "2.7"
|
|
32
29
|
- "3.0"
|
|
30
|
+
- "3.1"
|
|
31
|
+
- "3.2"
|
|
32
|
+
- "3.3"
|
|
33
|
+
- "3.4"
|
|
33
34
|
|
|
34
35
|
steps:
|
|
35
|
-
- uses: actions/checkout@
|
|
36
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
36
37
|
|
|
37
|
-
- uses: ruby/setup-ruby@v1
|
|
38
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
38
39
|
with:
|
|
39
40
|
ruby-version: ${{ matrix.ruby }}
|
|
41
|
+
bundler-cache: true
|
|
42
|
+
cache-version: ${{ matrix.gemfile }}
|
|
40
43
|
|
|
41
|
-
-
|
|
42
|
-
uses: actions/cache@v1
|
|
43
|
-
id: cache_gem
|
|
44
|
-
with:
|
|
45
|
-
path: vendor/bundle
|
|
46
|
-
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
|
|
47
|
-
restore-keys: |
|
|
48
|
-
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
|
49
|
-
|
|
50
|
-
- name: bundle update
|
|
51
|
-
run: |
|
|
52
|
-
set -xe
|
|
53
|
-
bundle config path vendor/bundle
|
|
54
|
-
bundle update --jobs $(nproc) --retry 3
|
|
44
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
55
45
|
|
|
56
46
|
- name: Setup sandbox server
|
|
57
47
|
working-directory: spec/integration
|
|
@@ -67,15 +57,13 @@ jobs:
|
|
|
67
57
|
bundle exec rake spec
|
|
68
58
|
|
|
69
59
|
- name: Slack Notification (not success)
|
|
70
|
-
uses:
|
|
60
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
71
61
|
if: "! success()"
|
|
72
62
|
continue-on-error: true
|
|
73
63
|
with:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
78
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
64
|
+
status: ${{ job.status }}
|
|
65
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
66
|
+
matrix: ${{ toJson(matrix) }}
|
|
79
67
|
|
|
80
68
|
notify:
|
|
81
69
|
needs:
|
|
@@ -85,12 +73,9 @@ jobs:
|
|
|
85
73
|
|
|
86
74
|
steps:
|
|
87
75
|
- name: Slack Notification (success)
|
|
88
|
-
uses:
|
|
76
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
89
77
|
if: always()
|
|
90
78
|
continue-on-error: true
|
|
91
79
|
with:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
icon_emoji: ":octocat:"
|
|
95
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
96
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
80
|
+
status: ${{ job.status }}
|
|
81
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
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.3...master)
|
|
3
|
+
|
|
4
|
+
## [v1.0.3](https://github.com/sue445/capistrano-itamae/releases/tag/v1.0.3)
|
|
5
|
+
[full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.2...v1.0.3)
|
|
6
|
+
|
|
7
|
+
* Release gem from GitHub Actions
|
|
8
|
+
* https://github.com/sue445/capistrano-itamae/pull/50
|
|
3
9
|
|
|
4
10
|
## v1.0.2
|
|
5
11
|
[full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.1...v1.0.2)
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Run [itamae](https://github.com/itamae-kitchen/itamae) in capistrano task
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/capistrano-itamae)
|
|
6
|
-
[](https://github.com/sue445/capistrano-itamae/actions/workflows/test.yml)
|
|
7
7
|
[](https://codeclimate.com/github/sue445/capistrano-itamae)
|
|
8
8
|
|
|
9
9
|
## Installation
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -141,6 +140,8 @@ executables: []
|
|
|
141
140
|
extensions: []
|
|
142
141
|
extra_rdoc_files: []
|
|
143
142
|
files:
|
|
143
|
+
- ".github/dependabot.yml"
|
|
144
|
+
- ".github/workflows/release_gem.yml"
|
|
144
145
|
- ".github/workflows/test.yml"
|
|
145
146
|
- ".gitignore"
|
|
146
147
|
- CHANGELOG.md
|
|
@@ -164,7 +165,6 @@ metadata:
|
|
|
164
165
|
source_code_uri: https://github.com/sue445/capistrano-itamae
|
|
165
166
|
changelog_uri: https://github.com/sue445/capistrano-itamae/blob/master/CHANGELOG.md
|
|
166
167
|
rubygems_mfa_required: 'true'
|
|
167
|
-
post_install_message:
|
|
168
168
|
rdoc_options: []
|
|
169
169
|
require_paths:
|
|
170
170
|
- lib
|
|
@@ -179,8 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
179
179
|
- !ruby/object:Gem::Version
|
|
180
180
|
version: '0'
|
|
181
181
|
requirements: []
|
|
182
|
-
rubygems_version: 3.
|
|
183
|
-
signing_key:
|
|
182
|
+
rubygems_version: 3.6.7
|
|
184
183
|
specification_version: 4
|
|
185
184
|
summary: Run itamae in capistrano task
|
|
186
185
|
test_files: []
|