itamae-plugin-recipe-gitlab_runner 0.2.4 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d266d1a47f3fbbd54bb52e2590b96c7ab724db60ae3081bda9357fdc8d81e91a
4
- data.tar.gz: 3a2fd0678fbaa5a3ed92304a9ece027d95cdcfa659cadfd4b580ff5f939b1c64
3
+ metadata.gz: fd903986b5c90493f38246a04b3e506e6d7cb80c15de0161eef3cab21b125eef
4
+ data.tar.gz: b0b84c53f4f3c88cf5a371fbfc7785315fa8132e4c86b0d867536baf5421289d
5
5
  SHA512:
6
- metadata.gz: af51d3d6901fb56923b0e40b7a2b2482e6358c419d8e77c354f2fc94d5314eec9c56aba35bb46b70a7d468d1900ec032c8aab10eb8126a5761f8be3131832789
7
- data.tar.gz: c6323ec55b79aea35079a8de938aa3f91fe5fa930902b2ecb5d17b4de30199efdfdde50c73a2668653b463315f981c2ee775c261a09c454bf1821a09aac98b81
6
+ metadata.gz: 88deeaf114d5baefe441cb0794c6b9c20c64922a02215ef09e82d630a2cbf2be9e0e5c741552103f7540e83e9abebd1faeb5ed1d82dd9aee1c12ffaac2050422
7
+ data.tar.gz: 5f267b31cd762a91caf3fce212fd245ed015b8580685c195f9675fd582d738543e0b4c3dfa06fc804becfba55d331155bda56dfd37a4030ef79431c6e0ed8355
@@ -2,11 +2,19 @@
2
2
  version: 2
3
3
 
4
4
  updates:
5
+ ###########################################################
6
+ # NOTE: following sections are auto generated. DO NOT EDIT!
7
+ ###########################################################
5
8
  - package-ecosystem: github-actions
6
9
  directory: /
7
10
  schedule:
8
- interval: weekly
9
- cooldown:
10
- default-days: 7
11
+ interval: monthly
12
+ time: "05:00"
13
+ timezone: Asia/Tokyo
11
14
  assignees:
12
15
  - sue445
16
+ cooldown:
17
+ default-days: 7
18
+ exclude:
19
+ - ruby/setup-ruby
20
+ ###########################################################
@@ -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 }}
@@ -5,37 +5,10 @@ on:
5
5
 
6
6
  jobs:
7
7
  release:
8
- if: github.repository == 'sue445/itamae-plugin-recipe-gitlab_runner'
9
- runs-on: ubuntu-latest
10
-
11
- environment:
12
- name: rubygems.org
13
- url: https://rubygems.org/gems/itamae-plugin-recipe-gitlab_runner
14
-
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
15
12
  permissions:
16
13
  contents: write
17
14
  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 }}
@@ -24,13 +24,21 @@ jobs:
24
24
  - "2.3"
25
25
  image:
26
26
  - debian:bullseye
27
- - debian:bookworm
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
+
28
36
  - amazonlinux:2
29
37
 
30
38
  steps:
31
- - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
39
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
32
40
 
33
- - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
41
+ - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
34
42
  with:
35
43
  ruby-version: ${{ matrix.ruby }}
36
44
  bundler-cache: true
@@ -52,7 +60,7 @@ jobs:
52
60
  DOCKER_IMAGE: itamae-plugin:latest
53
61
 
54
62
  - name: Slack Notification (not success)
55
- uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
63
+ uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
56
64
  if: "! success()"
57
65
  continue-on-error: true
58
66
  with:
@@ -60,17 +68,16 @@ jobs:
60
68
  webhook-url: ${{ secrets.SLACK_WEBHOOK }}
61
69
  matrix: ${{ toJson(matrix) }}
62
70
 
63
- notify:
71
+ all-pass:
72
+ if: always()
73
+
64
74
  needs:
65
75
  - test
66
76
 
67
- runs-on: ubuntu-latest
77
+ runs-on: ubuntu-slim
68
78
 
69
79
  steps:
70
- - name: Slack Notification (success)
71
- uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
72
- if: always()
73
- continue-on-error: true
80
+ - name: check dependent jobs
81
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
74
82
  with:
75
- status: ${{ job.status }}
76
- webhook-url: ${{ secrets.SLACK_WEBHOOK }}
83
+ jobs: ${{ toJSON(needs) }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## master
2
- [full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.4...master)
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
3
9
 
4
10
  ## [0.2.4](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/releases/tag/v0.2.4)
5
11
  [full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.3...v0.2.4)
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module GitlabRunner
5
- VERSION = "0.2.4"
5
+ VERSION = "0.2.5"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
@@ -87,6 +87,8 @@ extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
89
  - ".github/dependabot.yml"
90
+ - ".github/release.yml"
91
+ - ".github/workflows/dependabot-manager.yml"
90
92
  - ".github/workflows/release_gem.yml"
91
93
  - ".github/workflows/test.yml"
92
94
  - ".gitignore"
@@ -126,7 +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: 3.6.7
131
+ rubygems_version: 4.0.16
130
132
  specification_version: 4
131
133
  summary: Itamae plugin to install GitLab Runner
132
134
  test_files: []