itamae-plugin-recipe-tig 0.1.4 → 0.1.6
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 +15 -37
- data/CHANGELOG.md +14 -0
- data/README.md +3 -3
- data/lib/itamae/plugin/recipe/tig/default.rb +1 -1
- data/lib/itamae/plugin/recipe/tig/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: ee1d7cccbb864775a87b42713ec2be3a1340b36bf01e6a29c4f32f262edb36d7
|
|
4
|
+
data.tar.gz: 4f1dbe41a19e85460775cee4adb58633d747da9f1248c2ac0bdfb89240eb7e37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a988d56a65591c7644998820758ff7cd0a3639ab00828530e2e6ab64905f82f9449932ee4d8707f2aa5bd4d8ec63f5cd1435ff47cfa2134dd8c33456450b250
|
|
7
|
+
data.tar.gz: d9c46818eb0232ff170db8d91bbb83e70dfa17c887871ea03feefc315a4a6ec2fff6e88a89b92549ef7e8e22f8ed4fbb400d4ae31b850e3ca3ad3045d5842954
|
|
@@ -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/itamae-plugin-recipe-tig'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/itamae-plugin-recipe-tig
|
|
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
|
|
@@ -24,36 +21,22 @@ jobs:
|
|
|
24
21
|
|
|
25
22
|
matrix:
|
|
26
23
|
ruby:
|
|
27
|
-
- 2.3
|
|
24
|
+
- "2.3"
|
|
28
25
|
image:
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- debian:
|
|
32
|
-
- debian:stretch
|
|
33
|
-
- debian:buster
|
|
26
|
+
- debian:bullseye
|
|
27
|
+
- debian:bookworm
|
|
28
|
+
- debian:trixie
|
|
34
29
|
- amazonlinux:2
|
|
35
30
|
|
|
36
31
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
32
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
38
33
|
|
|
39
|
-
- uses:
|
|
34
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
40
35
|
with:
|
|
41
36
|
ruby-version: ${{ matrix.ruby }}
|
|
37
|
+
bundler-cache: true
|
|
42
38
|
|
|
43
|
-
-
|
|
44
|
-
uses: actions/cache@v1
|
|
45
|
-
id: cache_gem
|
|
46
|
-
with:
|
|
47
|
-
path: vendor/bundle
|
|
48
|
-
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
|
|
49
|
-
restore-keys: |
|
|
50
|
-
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
|
51
|
-
|
|
52
|
-
- name: bundle update
|
|
53
|
-
run: |
|
|
54
|
-
set -xe
|
|
55
|
-
bundle config path vendor/bundle
|
|
56
|
-
bundle update --jobs $(nproc) --retry 3
|
|
39
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
57
40
|
|
|
58
41
|
- name: Run Itamae
|
|
59
42
|
run: |
|
|
@@ -70,15 +53,13 @@ jobs:
|
|
|
70
53
|
DOCKER_IMAGE: itamae-plugin:latest
|
|
71
54
|
|
|
72
55
|
- name: Slack Notification (not success)
|
|
73
|
-
uses:
|
|
56
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
74
57
|
if: "! success()"
|
|
75
58
|
continue-on-error: true
|
|
76
59
|
with:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
81
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
60
|
+
status: ${{ job.status }}
|
|
61
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
62
|
+
matrix: ${{ toJson(matrix) }}
|
|
82
63
|
|
|
83
64
|
notify:
|
|
84
65
|
needs:
|
|
@@ -88,12 +69,9 @@ jobs:
|
|
|
88
69
|
|
|
89
70
|
steps:
|
|
90
71
|
- name: Slack Notification (success)
|
|
91
|
-
uses:
|
|
72
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
92
73
|
if: always()
|
|
93
74
|
continue-on-error: true
|
|
94
75
|
with:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
icon_emoji: ":octocat:"
|
|
98
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
99
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
76
|
+
status: ${{ job.status }}
|
|
77
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
+
## Unreleased
|
|
3
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.6...master)
|
|
4
|
+
|
|
5
|
+
## [v0.1.6](https://github.com/sue445/itamae-plugin-recipe-tig/releases/tag/v0.1.6) (2025/11/29)
|
|
6
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.5...v0.1.6)
|
|
7
|
+
|
|
8
|
+
* Release gem from GitHub Actions
|
|
9
|
+
* https://github.com/sue445/itamae-plugin-recipe-tig/pull/42
|
|
10
|
+
|
|
11
|
+
## [v0.1.5](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.5) (2022/03/31)
|
|
12
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.4...v0.1.5)
|
|
13
|
+
|
|
14
|
+
* Change default schema to https
|
|
15
|
+
* https://github.com/sue445/itamae-plugin-recipe-tig/pull/31
|
|
2
16
|
|
|
3
17
|
## [v0.1.4](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.4) (2021/11/20)
|
|
4
18
|
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.3...v0.1.4)
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[Itamae](https://github.com/itamae-kitchen/itamae) plugin to install [tig](https://github.com/jonas/tig)
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/itamae-plugin-recipe-tig)
|
|
6
|
-
[](https://github.com/sue445/itamae-plugin-recipe-tig/actions/workflows/test.yml)
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -44,8 +44,8 @@ tig:
|
|
|
44
44
|
# source dir (default: /usr/local/src)
|
|
45
45
|
src: /usr/local/src
|
|
46
46
|
|
|
47
|
-
# specify scheme to use in git clone (default:
|
|
48
|
-
scheme:
|
|
47
|
+
# specify scheme to use in git clone (default: https)
|
|
48
|
+
scheme: https
|
|
49
49
|
|
|
50
50
|
# install version (default: HEAD)
|
|
51
51
|
version: 2.1.1
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-recipe-tig
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
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: itamae
|
|
@@ -87,6 +86,8 @@ executables: []
|
|
|
87
86
|
extensions: []
|
|
88
87
|
extra_rdoc_files: []
|
|
89
88
|
files:
|
|
89
|
+
- ".github/dependabot.yml"
|
|
90
|
+
- ".github/workflows/release_gem.yml"
|
|
90
91
|
- ".github/workflows/test.yml"
|
|
91
92
|
- ".github_changelog_generator"
|
|
92
93
|
- ".gitignore"
|
|
@@ -110,7 +111,6 @@ metadata:
|
|
|
110
111
|
source_code_uri: https://github.com/sue445/itamae-plugin-recipe-tig
|
|
111
112
|
changelog_uri: https://github.com/sue445/itamae-plugin-recipe-tig/blob/master/CHANGELOG.md
|
|
112
113
|
rubygems_mfa_required: 'true'
|
|
113
|
-
post_install_message:
|
|
114
114
|
rdoc_options: []
|
|
115
115
|
require_paths:
|
|
116
116
|
- lib
|
|
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
- !ruby/object:Gem::Version
|
|
126
126
|
version: '0'
|
|
127
127
|
requirements: []
|
|
128
|
-
rubygems_version: 3.
|
|
129
|
-
signing_key:
|
|
128
|
+
rubygems_version: 3.6.7
|
|
130
129
|
specification_version: 4
|
|
131
130
|
summary: Itamae plugin to install tig
|
|
132
131
|
test_files: []
|