itamae-plugin-recipe-tig 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +99 -0
- data/CHANGELOG.md +17 -0
- data/README.md +2 -2
- data/itamae-plugin-recipe-tig.gemspec +7 -2
- data/lib/itamae/plugin/recipe/tig/version.rb +1 -1
- metadata +18 -15
- data/.travis.yml +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f5c88d66b78a8ec4a3c89493c20ae42088dac13738b56e5540b0c57ae0089a0
|
4
|
+
data.tar.gz: 8e082952ce0ca93ed95281d420bddd1f443473bae942e4882ab4ff54629ad2f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a262aa12cb7558f02d1c6863797ead9b7ad6564ceec143cf77bba5916ad434f039a58471699bcc2159ea51b479b85e26080c2103bb1d5b67fab1164c2f22026b
|
7
|
+
data.tar.gz: 5fb3de1fdb0843594e31e91ff03070ddbdaa09a23ca0626f5821a7a537fa463b6c9db4f8ddd46417eff05569f13b12f49e531c9c8a5ebe15314a8ccd0cc42fad
|
@@ -0,0 +1,99 @@
|
|
1
|
+
name: test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
types:
|
9
|
+
- opened
|
10
|
+
- synchronize
|
11
|
+
- reopened
|
12
|
+
schedule:
|
13
|
+
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
14
|
+
|
15
|
+
env:
|
16
|
+
CI: "true"
|
17
|
+
|
18
|
+
jobs:
|
19
|
+
test:
|
20
|
+
runs-on: ubuntu-latest
|
21
|
+
|
22
|
+
strategy:
|
23
|
+
fail-fast: false
|
24
|
+
|
25
|
+
matrix:
|
26
|
+
ruby:
|
27
|
+
- 2.3
|
28
|
+
image:
|
29
|
+
- centos:7
|
30
|
+
- centos:8
|
31
|
+
- debian:jessie
|
32
|
+
- debian:stretch
|
33
|
+
- debian:buster
|
34
|
+
- amazonlinux:2
|
35
|
+
|
36
|
+
steps:
|
37
|
+
- uses: actions/checkout@v2
|
38
|
+
|
39
|
+
- uses: eregon/use-ruby-action@v1
|
40
|
+
with:
|
41
|
+
ruby-version: ${{ matrix.ruby }}
|
42
|
+
|
43
|
+
- name: Cache vendor/bundle
|
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
|
57
|
+
|
58
|
+
- name: Run Itamae
|
59
|
+
run: |
|
60
|
+
set -xe
|
61
|
+
bundle exec itamae docker --node-yaml=spec/recipes/node.yml spec/recipes/install.rb --image=$IMAGE --tag itamae-plugin:latest
|
62
|
+
env:
|
63
|
+
IMAGE: ${{ matrix.image }}
|
64
|
+
|
65
|
+
- name: Run Serverspec
|
66
|
+
run: |
|
67
|
+
set -xe
|
68
|
+
bundle exec rspec
|
69
|
+
env:
|
70
|
+
DOCKER_IMAGE: itamae-plugin:latest
|
71
|
+
|
72
|
+
- name: Slack Notification (not success)
|
73
|
+
uses: lazy-actions/slatify@master
|
74
|
+
if: "! success()"
|
75
|
+
continue-on-error: true
|
76
|
+
with:
|
77
|
+
job_name: ${{ format('*build* ({0}, {1})', matrix.ruby, matrix.image) }}
|
78
|
+
type: ${{ job.status }}
|
79
|
+
icon_emoji: ":octocat:"
|
80
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
81
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
82
|
+
|
83
|
+
notify:
|
84
|
+
needs:
|
85
|
+
- test
|
86
|
+
|
87
|
+
runs-on: ubuntu-latest
|
88
|
+
|
89
|
+
steps:
|
90
|
+
- name: Slack Notification (success)
|
91
|
+
uses: lazy-actions/slatify@master
|
92
|
+
if: always()
|
93
|
+
continue-on-error: true
|
94
|
+
with:
|
95
|
+
job_name: '*build*'
|
96
|
+
type: ${{ job.status }}
|
97
|
+
icon_emoji: ":octocat:"
|
98
|
+
url: ${{ secrets.SLACK_WEBHOOK }}
|
99
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.1.4](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.4) (2021/11/20)
|
4
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.3...v0.1.4)
|
5
|
+
|
6
|
+
* Enable MFA requirement for gem releasing
|
7
|
+
* https://github.com/sue445/itamae-plugin-recipe-tig/pull/30
|
8
|
+
|
9
|
+
## [v0.1.3](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.3) (2018/10/11)
|
10
|
+
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.2...v0.1.3)
|
11
|
+
|
12
|
+
**Merged pull requests:**
|
13
|
+
|
14
|
+
- Refactor spec and CI [\#15](https://github.com/sue445/itamae-plugin-recipe-tig/pull/15) ([sue445](https://github.com/sue445))
|
15
|
+
- Fixed. can not install tig on AmazonLinux [\#14](https://github.com/sue445/itamae-plugin-recipe-tig/pull/14) ([sue445](https://github.com/sue445))
|
16
|
+
- Dockerlize [\#13](https://github.com/sue445/itamae-plugin-recipe-tig/pull/13) ([sue445](https://github.com/sue445))
|
17
|
+
- update Vagrantfile [\#12](https://github.com/sue445/itamae-plugin-recipe-tig/pull/12) ([sue445](https://github.com/sue445))
|
18
|
+
- Update CI image [\#11](https://github.com/sue445/itamae-plugin-recipe-tig/pull/11) ([sue445](https://github.com/sue445))
|
19
|
+
|
3
20
|
## [v0.1.2](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.2) (2017/09/12)
|
4
21
|
[Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.1...v0.1.2)
|
5
22
|
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[Itamae](https://github.com/itamae-kitchen/itamae) plugin to install [tig](https://github.com/jonas/tig)
|
4
4
|
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-tig.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-tig)
|
6
|
-
[![Build Status](https://
|
6
|
+
[![Build Status](https://github.com/sue445/itamae-plugin-recipe-tig/workflows/test/badge.svg?branch=master)](https://github.com/sue445/itamae-plugin-recipe-tig/actions?query=workflow%3Atest)
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -61,7 +61,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
61
61
|
requirements [Docker](https://www.docker.com/)
|
62
62
|
|
63
63
|
```sh
|
64
|
-
bundle exec itamae docker --node-yaml=recipes/node.yml recipes/install.rb --image=centos:7 --tag itamae-plugin:latest
|
64
|
+
bundle exec itamae docker --node-yaml=spec/recipes/node.yml spec/recipes/install.rb --image=centos:7 --tag itamae-plugin:latest
|
65
65
|
DOCKER_IMAGE=itamae-plugin:latest bundle exec rspec
|
66
66
|
```
|
67
67
|
|
@@ -14,6 +14,11 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/sue445/itamae-plugin-recipe-tig"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
20
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
21
|
+
|
17
22
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
23
|
spec.bindir = "exe"
|
19
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
@@ -21,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
21
26
|
|
22
27
|
spec.add_dependency "itamae"
|
23
28
|
|
24
|
-
spec.add_development_dependency "bundler", "
|
29
|
+
spec.add_development_dependency "bundler", ">= 1.10"
|
25
30
|
spec.add_development_dependency "docker-api"
|
26
|
-
spec.add_development_dependency "rake"
|
31
|
+
spec.add_development_dependency "rake"
|
27
32
|
spec.add_development_dependency "serverspec"
|
28
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-tig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.10'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: serverspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,10 +87,10 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- ".github/workflows/test.yml"
|
90
91
|
- ".github_changelog_generator"
|
91
92
|
- ".gitignore"
|
92
93
|
- ".rspec"
|
93
|
-
- ".travis.yml"
|
94
94
|
- CHANGELOG.md
|
95
95
|
- Gemfile
|
96
96
|
- LICENSE.txt
|
@@ -105,8 +105,12 @@ files:
|
|
105
105
|
homepage: https://github.com/sue445/itamae-plugin-recipe-tig
|
106
106
|
licenses:
|
107
107
|
- MIT
|
108
|
-
metadata:
|
109
|
-
|
108
|
+
metadata:
|
109
|
+
homepage_uri: https://github.com/sue445/itamae-plugin-recipe-tig
|
110
|
+
source_code_uri: https://github.com/sue445/itamae-plugin-recipe-tig
|
111
|
+
changelog_uri: https://github.com/sue445/itamae-plugin-recipe-tig/blob/master/CHANGELOG.md
|
112
|
+
rubygems_mfa_required: 'true'
|
113
|
+
post_install_message:
|
110
114
|
rdoc_options: []
|
111
115
|
require_paths:
|
112
116
|
- lib
|
@@ -121,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
125
|
- !ruby/object:Gem::Version
|
122
126
|
version: '0'
|
123
127
|
requirements: []
|
124
|
-
|
125
|
-
|
126
|
-
signing_key:
|
128
|
+
rubygems_version: 3.2.22
|
129
|
+
signing_key:
|
127
130
|
specification_version: 4
|
128
131
|
summary: Itamae plugin to install tig
|
129
132
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: required
|
3
|
-
services:
|
4
|
-
- docker
|
5
|
-
rvm:
|
6
|
-
- 2.3
|
7
|
-
env:
|
8
|
-
- IMAGE=centos:7
|
9
|
-
- IMAGE=debian:jessie
|
10
|
-
- IMAGE=amazonlinux:2
|
11
|
-
bundler_args: "--jobs=4"
|
12
|
-
|
13
|
-
cache:
|
14
|
-
bundler: true
|
15
|
-
directories:
|
16
|
-
- $HOME/docker
|
17
|
-
|
18
|
-
before_cache:
|
19
|
-
# Save tagged docker images
|
20
|
-
- >
|
21
|
-
mkdir -p $HOME/docker && docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}'
|
22
|
-
| xargs -n 2 -t sh -c 'test -e $HOME/docker/$1.tar.gz || docker save $0 | gzip -2 > $HOME/docker/$1.tar.gz'
|
23
|
-
|
24
|
-
before_install:
|
25
|
-
- gem update --system --no-document
|
26
|
-
- gem install bundler --no-document
|
27
|
-
# Load cached docker images
|
28
|
-
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
|
29
|
-
|
30
|
-
script:
|
31
|
-
- bundle exec itamae docker --node-yaml=spec/recipes/node.yml spec/recipes/install.rb --image=$IMAGE --tag itamae-plugin:latest
|
32
|
-
- DOCKER_IMAGE=itamae-plugin:latest bundle exec rspec
|
33
|
-
branches:
|
34
|
-
only:
|
35
|
-
- master
|
36
|
-
notifications:
|
37
|
-
email: false
|
38
|
-
slack:
|
39
|
-
secure: Cp14VhyCUMUbQ/qvt1N96ZZUfJHQWq/car8TKVpO2vZ9DlajIIVuZrQ2HtekXTfnjiZ+8WI+ZShk2h78XLZk15CwdTx0RbGm8BSRv93nM9vsYoSUIkc1nFfCO7k3sfUA4JpK7aWz5KrqxsuHYnfLEtwVjuHys+JglyQ0aIu+eCYNNNIPVjXNsdz007tMdI8k7xCv4XeungICgn7b2+GPIes4MtdF069jUvAbzGWDm2vE86xE9N8rCCO+aqgaJVJaw2KxCxUlCQGbl4ewqGZy/8T1YScsYpSORSnpIu3aUbYz1ZG+NqGsLn4oL+NTNv5z/qIyEvpSaV/UtG6VsydPyOD9i2Db4mEtUFq1g3f/K3JBk2CQ4HFDzu227Fl9vo7Dn8DpMMDdAn61N5xAvjaT8L/6eQKkDSOm8v/zUR3P0frxB/SCDJceyE9whlODBeuZl/Y+63tPlVD/0wEb3ORiiHg6jyI881UpremtBzVWOPaN2oeTw0wEXxVy762j40jKW9Ka1Cnbk1d5qF8SxASOdBQ03Ud+bBy3z47sqp8fRrCUYc9np0yYi80kc2BwLrnAoEOaoFFnRTyQBSK82+BVkJtkpLNbzpBYG1sJxM2t5TF1VkdMsjkWgIuIc/EA8jKcVztY9565GWMM2zpY2q/2Lb1T/CUe/uQCxNC20ul5nVA=
|