itamae-plugin-recipe-consul 0.1.5 → 0.1.7
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 +20 -0
- data/.github/release.yml +31 -0
- data/.github/workflows/dependabot-manager.yml +28 -0
- data/.github/workflows/release_gem.yml +14 -0
- data/.github/workflows/test.yml +19 -46
- data/CHANGELOG.md +15 -0
- data/README.md +2 -4
- data/lib/itamae/plugin/recipe/consul/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce3e781da1622674a35967431416356ca2e1ca54cf8f45675464dbf6123b5130
|
|
4
|
+
data.tar.gz: 54905c283e2a4a0c228979cc5811610060df1a869687d43525e835dcdada277b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0590a9765f30142749e38073a680fde4c43fc851a6f71c439500882df71f3e41ef3b9770ac150951858ea211fd8f6054e5b0dc779d0cb82498bd66cbf20fc0bf'
|
|
7
|
+
data.tar.gz: 339a6e179695e3b7afe950ac99f7718ec1dcc730db1ab8c7f1d7cfe4c1f7a67f5c3ec0921f3a7b626e6f285c53cfb83d16a0fdb7bda77582a4cd433b78522964
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
###########################################################
|
|
6
|
+
# NOTE: following sections are auto generated. DO NOT EDIT!
|
|
7
|
+
###########################################################
|
|
8
|
+
- package-ecosystem: github-actions
|
|
9
|
+
directory: /
|
|
10
|
+
schedule:
|
|
11
|
+
interval: monthly
|
|
12
|
+
time: "05:00"
|
|
13
|
+
timezone: Asia/Tokyo
|
|
14
|
+
assignees:
|
|
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/itamae-plugin-recipe-consul
|
|
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/itamae-plugin-recipe-consul
|
|
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 }}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
uses: sue445/workflows/.github/workflows/release_gem.yml@main
|
|
9
|
+
with:
|
|
10
|
+
repo-name: sue445/itamae-plugin-recipe-consul
|
|
11
|
+
gem-name: itamae-plugin-recipe-consul
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
id-token: write
|
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,49 +21,31 @@ jobs:
|
|
|
24
21
|
|
|
25
22
|
matrix:
|
|
26
23
|
ruby:
|
|
27
|
-
- 2.3
|
|
24
|
+
- "2.3"
|
|
28
25
|
image:
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- debian:jessie
|
|
32
|
-
- debian:stretch
|
|
33
|
-
- debian:buster
|
|
26
|
+
- debian:bullseye
|
|
27
|
+
- debian:bookworm
|
|
34
28
|
|
|
35
29
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
30
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
37
31
|
|
|
38
|
-
- uses:
|
|
32
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
39
33
|
with:
|
|
40
34
|
ruby-version: ${{ matrix.ruby }}
|
|
35
|
+
bundler-cache: true
|
|
41
36
|
|
|
42
|
-
-
|
|
43
|
-
uses: actions/cache@v1
|
|
44
|
-
id: cache_gem
|
|
45
|
-
with:
|
|
46
|
-
path: vendor/bundle
|
|
47
|
-
key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
|
|
48
|
-
restore-keys: |
|
|
49
|
-
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
|
50
|
-
|
|
51
|
-
- name: bundle update
|
|
52
|
-
run: |
|
|
53
|
-
set -xe
|
|
54
|
-
bundle config path vendor/bundle
|
|
55
|
-
bundle update --jobs $(nproc) --retry 3
|
|
37
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
56
38
|
|
|
57
39
|
- name: Start container
|
|
58
40
|
run: |
|
|
59
41
|
set -xe
|
|
60
42
|
|
|
61
43
|
case "$IMAGE" in
|
|
62
|
-
"debian:
|
|
44
|
+
"debian:"* )
|
|
63
45
|
docker run --name tmp-debian $IMAGE bash -c "apt-get update && apt-get install -y systemd-sysv"
|
|
64
46
|
docker commit tmp-debian debian-with-systemd
|
|
65
47
|
docker run --privileged -d --name container-with-service debian-with-systemd /sbin/init
|
|
66
48
|
;;
|
|
67
|
-
*)
|
|
68
|
-
docker run --privileged -d --name container-with-service $IMAGE /sbin/init
|
|
69
|
-
;;
|
|
70
49
|
esac
|
|
71
50
|
env:
|
|
72
51
|
IMAGE: ${{ matrix.image }}
|
|
@@ -84,30 +63,24 @@ jobs:
|
|
|
84
63
|
DOCKER_CONTAINER: container-with-service
|
|
85
64
|
|
|
86
65
|
- name: Slack Notification (not success)
|
|
87
|
-
uses:
|
|
66
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
88
67
|
if: "! success()"
|
|
89
68
|
continue-on-error: true
|
|
90
69
|
with:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
70
|
+
status: ${{ job.status }}
|
|
71
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
72
|
+
matrix: ${{ toJson(matrix) }}
|
|
73
|
+
|
|
74
|
+
all-pass:
|
|
75
|
+
if: always()
|
|
96
76
|
|
|
97
|
-
notify:
|
|
98
77
|
needs:
|
|
99
78
|
- test
|
|
100
79
|
|
|
101
|
-
runs-on: ubuntu-
|
|
80
|
+
runs-on: ubuntu-slim
|
|
102
81
|
|
|
103
82
|
steps:
|
|
104
|
-
- name:
|
|
105
|
-
uses:
|
|
106
|
-
if: always()
|
|
107
|
-
continue-on-error: true
|
|
83
|
+
- name: check dependent jobs
|
|
84
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
108
85
|
with:
|
|
109
|
-
|
|
110
|
-
type: ${{ job.status }}
|
|
111
|
-
icon_emoji: ":octocat:"
|
|
112
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
113
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
86
|
+
jobs: ${{ toJSON(needs) }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
+
## Unreleased
|
|
3
|
+
[full changelog](http://github.com/sue445/itamae-plugin-recipe-consul/compare/v0.1.7...master)
|
|
4
|
+
|
|
5
|
+
## [v0.1.7](https://github.com/sue445/itamae-plugin-recipe-consul/releases/tag/v0.1.7) (2026-08-23)
|
|
6
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-consul/compare/v0.1.6...v0.1.7)
|
|
7
|
+
|
|
8
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
9
|
+
* https://github.com/sue445/itamae-plugin-recipe-consul/pull/82
|
|
10
|
+
|
|
11
|
+
## [v0.1.6](https://github.com/sue445/itamae-plugin-recipe-consul/releases/tag/v0.1.6) (2025-11-29)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-consul/compare/v0.1.5...v0.1.6)
|
|
14
|
+
|
|
15
|
+
* Release gem from GitHub Actions
|
|
16
|
+
* https://github.com/sue445/itamae-plugin-recipe-consul/pull/48
|
|
2
17
|
|
|
3
18
|
## [v0.1.5](https://github.com/sue445/itamae-plugin-recipe-consul/tree/v0.1.5) (2021-11-20)
|
|
4
19
|
|
data/README.md
CHANGED
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
Itamae plugin to install [Consul](https://www.consul.io/) with init scripts
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/itamae-plugin-recipe-consul)
|
|
6
|
-
[](https://github.com/sue445/itamae-plugin-recipe-consul/actions/workflows/test.yml)
|
|
7
7
|
|
|
8
8
|
## Supported
|
|
9
|
-
*
|
|
10
|
-
* CentOS 7+ (systemd)
|
|
11
|
-
* Debian 8+ (systemd)
|
|
9
|
+
* Debian 10+ (systemd)
|
|
12
10
|
|
|
13
11
|
## Installation
|
|
14
12
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-recipe-consul
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
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,10 @@ executables: []
|
|
|
87
86
|
extensions: []
|
|
88
87
|
extra_rdoc_files: []
|
|
89
88
|
files:
|
|
89
|
+
- ".github/dependabot.yml"
|
|
90
|
+
- ".github/release.yml"
|
|
91
|
+
- ".github/workflows/dependabot-manager.yml"
|
|
92
|
+
- ".github/workflows/release_gem.yml"
|
|
90
93
|
- ".github/workflows/test.yml"
|
|
91
94
|
- ".gitignore"
|
|
92
95
|
- ".rspec"
|
|
@@ -120,7 +123,6 @@ metadata:
|
|
|
120
123
|
source_code_uri: https://github.com/sue445/itamae-plugin-recipe-consul
|
|
121
124
|
changelog_uri: https://github.com/sue445/itamae-plugin-recipe-consul/blob/master/CHANGELOG.md
|
|
122
125
|
rubygems_mfa_required: 'true'
|
|
123
|
-
post_install_message:
|
|
124
126
|
rdoc_options: []
|
|
125
127
|
require_paths:
|
|
126
128
|
- lib
|
|
@@ -135,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
135
137
|
- !ruby/object:Gem::Version
|
|
136
138
|
version: '0'
|
|
137
139
|
requirements: []
|
|
138
|
-
rubygems_version:
|
|
139
|
-
signing_key:
|
|
140
|
+
rubygems_version: 4.0.16
|
|
140
141
|
specification_version: 4
|
|
141
142
|
summary: Itamae plugin to install Consul with init scripts
|
|
142
143
|
test_files: []
|