itamae-plugin-resource-encrypted_remote_file 0.0.3 → 0.0.5
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 +16 -37
- data/CHANGELOG.md +13 -1
- data/README.md +2 -2
- data/itamae-plugin-resource-encrypted_remote_file.gemspec +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: 40d7a2cd58e0851af9024491469fc0ab23297ad46a97e931379cd3e8d157dd5f
|
|
4
|
+
data.tar.gz: c470da5245159baa790fa21f44ad17dec4e80b664cdbd6aa3a3d84282529d6d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d36b8ea9a9439ebbc78b70f9654b3e08d1519b71bab59c6db61487fabfe0398ad8bb7a9178a65ab0e6ca3f188eeb8bdfe2ada9bb8823452129a5c40b681a3817
|
|
7
|
+
data.tar.gz: ec07fa219923897279d6357b9348f936a582d9f25fd27a59ae8978a6af373522596baa3cf1d954614d2e3f5f4044276708811b883ae770c61564396462a1d16c
|
|
@@ -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-resource-encrypted_remote_file
|
|
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-resource-encrypted_remote_file
|
|
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-resource-encrypted_remote_file
|
|
11
|
+
gem-name: itamae-plugin-resource-encrypted_remote_file
|
|
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,7 +21,7 @@ jobs:
|
|
|
24
21
|
|
|
25
22
|
matrix:
|
|
26
23
|
ruby:
|
|
27
|
-
- 2.
|
|
24
|
+
- "2.4"
|
|
28
25
|
image:
|
|
29
26
|
- centos:7
|
|
30
27
|
- centos:8
|
|
@@ -34,26 +31,14 @@ jobs:
|
|
|
34
31
|
- amazonlinux:2
|
|
35
32
|
|
|
36
33
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
34
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
38
35
|
|
|
39
|
-
- uses:
|
|
36
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
40
37
|
with:
|
|
41
38
|
ruby-version: ${{ matrix.ruby }}
|
|
39
|
+
bundler-cache: true
|
|
42
40
|
|
|
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
|
|
41
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
57
42
|
|
|
58
43
|
- name: Run Itamae
|
|
59
44
|
run: |
|
|
@@ -70,30 +55,24 @@ jobs:
|
|
|
70
55
|
DOCKER_IMAGE: itamae-plugin:latest
|
|
71
56
|
|
|
72
57
|
- name: Slack Notification (not success)
|
|
73
|
-
uses:
|
|
58
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
74
59
|
if: "! success()"
|
|
75
60
|
continue-on-error: true
|
|
76
61
|
with:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
62
|
+
status: ${{ job.status }}
|
|
63
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
64
|
+
matrix: ${{ toJson(matrix) }}
|
|
65
|
+
|
|
66
|
+
all-pass:
|
|
67
|
+
if: always()
|
|
82
68
|
|
|
83
|
-
notify:
|
|
84
69
|
needs:
|
|
85
70
|
- test
|
|
86
71
|
|
|
87
|
-
runs-on: ubuntu-
|
|
72
|
+
runs-on: ubuntu-slim
|
|
88
73
|
|
|
89
74
|
steps:
|
|
90
|
-
- name:
|
|
91
|
-
uses:
|
|
92
|
-
if: always()
|
|
93
|
-
continue-on-error: true
|
|
75
|
+
- name: check dependent jobs
|
|
76
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
94
77
|
with:
|
|
95
|
-
|
|
96
|
-
type: ${{ job.status }}
|
|
97
|
-
icon_emoji: ":octocat:"
|
|
98
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
99
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
78
|
+
jobs: ${{ toJSON(needs) }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/compare/v0.0.
|
|
2
|
+
[full changelog](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/compare/v0.0.5...master)
|
|
3
|
+
|
|
4
|
+
## [0.0.5](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/releases/tag/v0.0.5) (2026/08/23)
|
|
5
|
+
[full changelog](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/compare/v0.0.4...v0.0.5)
|
|
6
|
+
|
|
7
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
8
|
+
* https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/pull/69
|
|
9
|
+
|
|
10
|
+
## [0.0.4](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/releases/tag/v0.0.4) (2025/11/29)
|
|
11
|
+
[full changelog](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/compare/v0.0.3...v0.0.4)
|
|
12
|
+
|
|
13
|
+
* Release gem from GitHub Actions
|
|
14
|
+
* https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/pull/34
|
|
3
15
|
|
|
4
16
|
## 0.0.3 (2021/11/20)
|
|
5
17
|
[full changelog](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/compare/v0.0.2...v0.0.3)
|
data/README.md
CHANGED
|
@@ -5,8 +5,8 @@ encrypt secret data (e.g. id_rsa), and forward decrypted file to remote.
|
|
|
5
5
|
This is like to [knife-solo_data_bag](https://github.com/thbishop/knife-solo_data_bag)
|
|
6
6
|
|
|
7
7
|
[](http://badge.fury.io/rb/itamae-plugin-resource-encrypted_remote_file)
|
|
8
|
-
[](https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/actions/workflows/test.yml)
|
|
9
|
+
[](https://qlty.sh/gh/sue445/projects/itamae-plugin-resource-encrypted_remote_file)
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "itamae-plugin-resource-encrypted_remote_file"
|
|
7
|
-
spec.version = "0.0.
|
|
7
|
+
spec.version = "0.0.5"
|
|
8
8
|
spec.authors = ["sue445"]
|
|
9
9
|
spec.email = ["sue445@sue445.net"]
|
|
10
10
|
spec.licenses = ["MIT"]
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-resource-encrypted_remote_file
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
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
|
|
@@ -101,6 +100,10 @@ executables: []
|
|
|
101
100
|
extensions: []
|
|
102
101
|
extra_rdoc_files: []
|
|
103
102
|
files:
|
|
103
|
+
- ".github/dependabot.yml"
|
|
104
|
+
- ".github/release.yml"
|
|
105
|
+
- ".github/workflows/dependabot-manager.yml"
|
|
106
|
+
- ".github/workflows/release_gem.yml"
|
|
104
107
|
- ".github/workflows/test.yml"
|
|
105
108
|
- ".gitignore"
|
|
106
109
|
- ".rspec"
|
|
@@ -123,7 +126,6 @@ metadata:
|
|
|
123
126
|
changelog_uri: https://github.com/sue445/itamae-plugin-resource-encrypted_remote_file/blob/master/CHANGELOG.md
|
|
124
127
|
rubygems_mfa_required: 'true'
|
|
125
128
|
allowed_push_host: https://rubygems.org
|
|
126
|
-
post_install_message:
|
|
127
129
|
rdoc_options: []
|
|
128
130
|
require_paths:
|
|
129
131
|
- lib
|
|
@@ -138,8 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
138
140
|
- !ruby/object:Gem::Version
|
|
139
141
|
version: '0'
|
|
140
142
|
requirements: []
|
|
141
|
-
rubygems_version:
|
|
142
|
-
signing_key:
|
|
143
|
+
rubygems_version: 4.0.16
|
|
143
144
|
specification_version: 4
|
|
144
145
|
summary: encrypt secret data, and forward decrypted file to remote.
|
|
145
146
|
test_files: []
|