itamae-plugin-recipe-gitlab_runner 0.2.3 → 0.2.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 +26 -41
- data/CHANGELOG.md +13 -1
- data/README.md +1 -1
- data/lib/itamae/plugin/recipe/gitlab_runner/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: fd903986b5c90493f38246a04b3e506e6d7cb80c15de0161eef3cab21b125eef
|
|
4
|
+
data.tar.gz: b0b84c53f4f3c88cf5a371fbfc7785315fa8132e4c86b0d867536baf5421289d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88deeaf114d5baefe441cb0794c6b9c20c64922a02215ef09e82d630a2cbf2be9e0e5c741552103f7540e83e9abebd1faeb5ed1d82dd9aee1c12ffaac2050422
|
|
7
|
+
data.tar.gz: 5f267b31cd762a91caf3fce212fd245ed015b8580685c195f9675fd582d738543e0b4c3dfa06fc804becfba55d331155bda56dfd37a4030ef79431c6e0ed8355
|
|
@@ -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-gitlab_runner
|
|
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-gitlab_runner
|
|
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-gitlab_runner
|
|
11
|
+
gem-name: itamae-plugin-recipe-gitlab_runner
|
|
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,35 +21,29 @@ jobs:
|
|
|
24
21
|
|
|
25
22
|
matrix:
|
|
26
23
|
ruby:
|
|
27
|
-
- 2.3
|
|
24
|
+
- "2.3"
|
|
28
25
|
image:
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
26
|
+
- debian:bullseye
|
|
27
|
+
|
|
28
|
+
# FIXME: Workaround for following error
|
|
29
|
+
# gitlab-runner : Depends: gitlab-runner-helper-images (= 18.8.0-1) but 18.9.0-1 is to be installed
|
|
30
|
+
#
|
|
31
|
+
# ref.
|
|
32
|
+
# * https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/issues/47
|
|
33
|
+
# * https://gitlab.com/gitlab-org/gitlab-runner/-/issues/39274
|
|
34
|
+
# - debian:bookworm
|
|
35
|
+
|
|
33
36
|
- amazonlinux:2
|
|
34
37
|
|
|
35
38
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
39
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
37
40
|
|
|
38
|
-
- uses:
|
|
41
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
39
42
|
with:
|
|
40
43
|
ruby-version: ${{ matrix.ruby }}
|
|
44
|
+
bundler-cache: true
|
|
41
45
|
|
|
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
|
|
46
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
56
47
|
|
|
57
48
|
- name: Run Itamae
|
|
58
49
|
run: |
|
|
@@ -69,30 +60,24 @@ jobs:
|
|
|
69
60
|
DOCKER_IMAGE: itamae-plugin:latest
|
|
70
61
|
|
|
71
62
|
- name: Slack Notification (not success)
|
|
72
|
-
uses:
|
|
63
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
73
64
|
if: "! success()"
|
|
74
65
|
continue-on-error: true
|
|
75
66
|
with:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
status: ${{ job.status }}
|
|
68
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
69
|
+
matrix: ${{ toJson(matrix) }}
|
|
70
|
+
|
|
71
|
+
all-pass:
|
|
72
|
+
if: always()
|
|
81
73
|
|
|
82
|
-
notify:
|
|
83
74
|
needs:
|
|
84
75
|
- test
|
|
85
76
|
|
|
86
|
-
runs-on: ubuntu-
|
|
77
|
+
runs-on: ubuntu-slim
|
|
87
78
|
|
|
88
79
|
steps:
|
|
89
|
-
- name:
|
|
90
|
-
uses:
|
|
91
|
-
if: always()
|
|
92
|
-
continue-on-error: true
|
|
80
|
+
- name: check dependent jobs
|
|
81
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
93
82
|
with:
|
|
94
|
-
|
|
95
|
-
type: ${{ job.status }}
|
|
96
|
-
icon_emoji: ":octocat:"
|
|
97
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
98
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
83
|
+
jobs: ${{ toJSON(needs) }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.
|
|
2
|
+
[full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.5...master)
|
|
3
|
+
|
|
4
|
+
## [0.2.5](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/releases/tag/v0.2.5)
|
|
5
|
+
[full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.4...v0.2.5)
|
|
6
|
+
|
|
7
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
8
|
+
* https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/pull/69
|
|
9
|
+
|
|
10
|
+
## [0.2.4](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/releases/tag/v0.2.4)
|
|
11
|
+
[full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.3...v0.2.4)
|
|
12
|
+
|
|
13
|
+
* Release gem from GitHub Actions
|
|
14
|
+
* https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/pull/33
|
|
3
15
|
|
|
4
16
|
## 0.2.3
|
|
5
17
|
[full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.2...v0.2.3)
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Itamae plugin to install [GitLab Runner](https://docs.gitlab.com/runner/)
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/itamae-plugin-recipe-gitlab_runner)
|
|
6
|
-
[](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/actions/workflows/test.yml)
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-recipe-gitlab_runner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.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
|
|
@@ -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"
|
|
@@ -111,7 +114,6 @@ metadata:
|
|
|
111
114
|
source_code_uri: https://github.com/sue445/itamae-plugin-recipe-gitlab_runner
|
|
112
115
|
changelog_uri: https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/blob/master/CHANGELOG.md
|
|
113
116
|
rubygems_mfa_required: 'true'
|
|
114
|
-
post_install_message:
|
|
115
117
|
rdoc_options: []
|
|
116
118
|
require_paths:
|
|
117
119
|
- lib
|
|
@@ -126,8 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
126
128
|
- !ruby/object:Gem::Version
|
|
127
129
|
version: '0'
|
|
128
130
|
requirements: []
|
|
129
|
-
rubygems_version:
|
|
130
|
-
signing_key:
|
|
131
|
+
rubygems_version: 4.0.16
|
|
131
132
|
specification_version: 4
|
|
132
133
|
summary: Itamae plugin to install GitLab Runner
|
|
133
134
|
test_files: []
|