itamae-plugin-recipe-gitlab_runner 0.2.3 → 0.2.4

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: faf92d3247902a7e7d789b4a18f0aef12a4580faab2f897e5199d2b5a32e027a
4
- data.tar.gz: 3fbb10b765e9642c67f0c867414ee1a5164afa0380cac0b490f20bf7288fdd89
3
+ metadata.gz: d266d1a47f3fbbd54bb52e2590b96c7ab724db60ae3081bda9357fdc8d81e91a
4
+ data.tar.gz: 3a2fd0678fbaa5a3ed92304a9ece027d95cdcfa659cadfd4b580ff5f939b1c64
5
5
  SHA512:
6
- metadata.gz: ab5594c2cae7b28ac23983fcd1c7a989f913bd1a8194d23eb5594bdfdbe524c2a1785ac5866f9e38e707663b8358a95e4ebe1f4f189da66a278731f858179865
7
- data.tar.gz: dc34a44e94e5edb96af40a4527192ca5a896388b9222a197fb7cef8ca994ab64fc142a0b6c9a0bf96e86511075b3bbf221100236272f637eacb5a3de02deb64c
6
+ metadata.gz: af51d3d6901fb56923b0e40b7a2b2482e6358c419d8e77c354f2fc94d5314eec9c56aba35bb46b70a7d468d1900ec032c8aab10eb8126a5761f8be3131832789
7
+ data.tar.gz: c6323ec55b79aea35079a8de938aa3f91fe5fa930902b2ecb5d17b4de30199efdfdde50c73a2668653b463315f981c2ee775c261a09c454bf1821a09aac98b81
@@ -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-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
+
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 }}
@@ -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,21 @@ jobs:
24
21
 
25
22
  matrix:
26
23
  ruby:
27
- - 2.3
24
+ - "2.3"
28
25
  image:
29
- - centos:7
30
- - debian:jessie
31
- - debian:stretch
32
- - debian:buster
26
+ - debian:bullseye
27
+ - debian:bookworm
33
28
  - amazonlinux:2
34
29
 
35
30
  steps:
36
- - uses: actions/checkout@v2
31
+ - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
37
32
 
38
- - uses: eregon/use-ruby-action@v1
33
+ - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
39
34
  with:
40
35
  ruby-version: ${{ matrix.ruby }}
36
+ bundler-cache: true
41
37
 
42
- - name: Cache vendor/bundle
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
38
+ - run: bundle update --jobs $(nproc) --retry 3
56
39
 
57
40
  - name: Run Itamae
58
41
  run: |
@@ -69,15 +52,13 @@ jobs:
69
52
  DOCKER_IMAGE: itamae-plugin:latest
70
53
 
71
54
  - name: Slack Notification (not success)
72
- uses: lazy-actions/slatify@master
55
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
73
56
  if: "! success()"
74
57
  continue-on-error: true
75
58
  with:
76
- job_name: ${{ format('*build* ({0}, {1})', matrix.ruby, matrix.image) }}
77
- type: ${{ job.status }}
78
- icon_emoji: ":octocat:"
79
- url: ${{ secrets.SLACK_WEBHOOK }}
80
- token: ${{ secrets.GITHUB_TOKEN }}
59
+ status: ${{ job.status }}
60
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
61
+ matrix: ${{ toJson(matrix) }}
81
62
 
82
63
  notify:
83
64
  needs:
@@ -87,12 +68,9 @@ jobs:
87
68
 
88
69
  steps:
89
70
  - name: Slack Notification (success)
90
- uses: lazy-actions/slatify@master
71
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
91
72
  if: always()
92
73
  continue-on-error: true
93
74
  with:
94
- job_name: '*build*'
95
- type: ${{ job.status }}
96
- icon_emoji: ":octocat:"
97
- url: ${{ secrets.SLACK_WEBHOOK }}
98
- token: ${{ secrets.GITHUB_TOKEN }}
75
+ status: ${{ job.status }}
76
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
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.3...master)
2
+ [full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.4...master)
3
+
4
+ ## [0.2.4](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/releases/tag/v0.2.4)
5
+ [full changelog](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/compare/v0.2.3...v0.2.4)
6
+
7
+ * Release gem from GitHub Actions
8
+ * https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/pull/33
3
9
 
4
10
  ## 0.2.3
5
11
  [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
  [![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-gitlab_runner.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-gitlab_runner)
6
- [![Build Status](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/workflows/test/badge.svg?branch=master)](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/actions?query=workflow%3Atest)
6
+ [![test](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/actions/workflows/test.yml)
7
7
 
8
8
  ## Installation
9
9
 
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module GitlabRunner
5
- VERSION = "0.2.3"
5
+ VERSION = "0.2.4"
6
6
  end
7
7
  end
8
8
  end
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
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
  - ".gitignore"
92
93
  - ".rspec"
@@ -111,7 +112,6 @@ metadata:
111
112
  source_code_uri: https://github.com/sue445/itamae-plugin-recipe-gitlab_runner
112
113
  changelog_uri: https://github.com/sue445/itamae-plugin-recipe-gitlab_runner/blob/master/CHANGELOG.md
113
114
  rubygems_mfa_required: 'true'
114
- post_install_message:
115
115
  rdoc_options: []
116
116
  require_paths:
117
117
  - lib
@@ -126,8 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.2.22
130
- signing_key:
129
+ rubygems_version: 3.6.7
131
130
  specification_version: 4
132
131
  summary: Itamae plugin to install GitLab Runner
133
132
  test_files: []