circleci-bundle-update-pr 1.19.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +35 -21
- data/.rubocop.yml +2 -1
- data/Gemfile.lock +29 -21
- data/circleci-bundle-update-pr.gemspec +2 -0
- data/lib/circleci/bundle/update/pr/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca0f586fe71477f8f9e4e1ea9d7a5459283b63cccfbb51dc38406a48ea0a543a
|
4
|
+
data.tar.gz: 324a4619c170a0cfdb495d503eef5a178742c736f4304c8e298ceb20a8456952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7514514afd1cc031b42efb488b5db935e64aa52294c5695dc2aa6f61ed4a56dde6bc3af7fe9cd9b36154954289320ebd60086c513d503eed6c3794ac436c93
|
7
|
+
data.tar.gz: 133c87fe7015b10c71acf4b0f53e94ed16ad4b79223f308f4063af4a86e06cdc53ffe190fcab3489ce2a0e73375055282e4d2fe3ace1ed5620c2bbcdf9d13238
|
data/.circleci/config.yml
CHANGED
@@ -1,32 +1,43 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
|
+
orbs:
|
4
|
+
pushover: masutaka/pushover@dev:beta3
|
5
|
+
|
3
6
|
executors:
|
4
7
|
default:
|
5
8
|
parameters:
|
6
9
|
ruby_version:
|
7
10
|
type: enum
|
8
|
-
enum: ['2.
|
11
|
+
enum: ['2.4', '2.5', '2.6', '2.7']
|
9
12
|
docker:
|
10
|
-
- image: ruby:<< parameters.ruby_version
|
11
|
-
working_directory:
|
13
|
+
- image: cimg/ruby:<< parameters.ruby_version >>
|
14
|
+
working_directory: ~/repo
|
12
15
|
|
13
16
|
commands:
|
17
|
+
notify_on_failure_on_default_branch:
|
18
|
+
steps:
|
19
|
+
- pushover/notify:
|
20
|
+
title: "Failed: ${CIRCLE_PROJECT_REPONAME}'s job (${CIRCLE_JOB})"
|
21
|
+
message: "failed ${CIRCLE_USERNAME:Bot}'s build (#${CIRCLE_BUILD_NUM}) in ${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} (${CIRCLE_BRANCH})"
|
22
|
+
priority: 1 # high
|
23
|
+
fail_only: true
|
24
|
+
only_for_branches: master
|
14
25
|
setup_requirements:
|
15
26
|
steps:
|
16
27
|
- run:
|
17
28
|
name: Install System Dependencies
|
18
29
|
command: |
|
19
|
-
#
|
20
|
-
|
21
|
-
|
30
|
+
# for cimg/ruby:2.4
|
31
|
+
sudo apt update -q
|
32
|
+
sudo apt install -q tzdata
|
22
33
|
- run:
|
23
34
|
name: Set timezone to Asia/Tokyo
|
24
|
-
command: cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
|
35
|
+
command: sudo cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
|
25
36
|
restore_bundle_cache:
|
26
37
|
parameters:
|
27
38
|
ruby_version:
|
28
39
|
type: enum
|
29
|
-
enum: ['2.
|
40
|
+
enum: ['2.4', '2.5', '2.6', '2.7']
|
30
41
|
steps:
|
31
42
|
- restore_cache:
|
32
43
|
name: Restore bundle cache
|
@@ -37,20 +48,25 @@ commands:
|
|
37
48
|
parameters:
|
38
49
|
ruby_version:
|
39
50
|
type: enum
|
40
|
-
enum: ['2.
|
51
|
+
enum: ['2.4', '2.5', '2.6', '2.7']
|
41
52
|
steps:
|
42
53
|
- save_cache:
|
43
54
|
name: Save bundle cache
|
44
55
|
key: gems-ruby<< parameters.ruby_version >>-{{ .Environment.COMMON_CACHE_KEY }}-{{ checksum "Gemfile.lock" }}
|
45
56
|
paths:
|
46
|
-
- /
|
57
|
+
- ~/repo/vendor/bundle
|
58
|
+
install_bundler:
|
59
|
+
steps:
|
60
|
+
- run:
|
61
|
+
name: install bundler
|
62
|
+
command: gem install -N bundler:1.17.3 # same version as Gemfile.lock
|
47
63
|
|
48
64
|
jobs:
|
49
65
|
build:
|
50
66
|
parameters:
|
51
67
|
ruby_version:
|
52
68
|
type: enum
|
53
|
-
enum: ['2.
|
69
|
+
enum: ['2.4', '2.5', '2.6', '2.7']
|
54
70
|
executor:
|
55
71
|
name: default
|
56
72
|
ruby_version: << parameters.ruby_version >>
|
@@ -59,18 +75,17 @@ jobs:
|
|
59
75
|
- checkout
|
60
76
|
- restore_bundle_cache:
|
61
77
|
ruby_version: << parameters.ruby_version >>
|
62
|
-
-
|
63
|
-
name: install bundler
|
64
|
-
command: gem install -N bundler:1.17.2 # same version as Gemfile.lock
|
78
|
+
- install_bundler
|
65
79
|
- run:
|
66
80
|
name: bundle install
|
67
81
|
command: |
|
68
|
-
bundle check || bundle install --jobs=4 --retry=3
|
69
|
-
bundle clean
|
82
|
+
bundle check || bundle install --jobs=4 --retry=3 --path=vendor/bundle
|
83
|
+
bundle clean
|
70
84
|
- save_bundle_cache:
|
71
85
|
ruby_version: << parameters.ruby_version >>
|
72
|
-
- run: rubocop
|
73
|
-
- run: rspec
|
86
|
+
- run: bundle exec rubocop
|
87
|
+
- run: bundle exec rspec
|
88
|
+
- notify_on_failure_on_default_branch
|
74
89
|
continuous_bundle_update:
|
75
90
|
executor:
|
76
91
|
name: default
|
@@ -80,6 +95,7 @@ jobs:
|
|
80
95
|
- checkout
|
81
96
|
- restore_bundle_cache:
|
82
97
|
ruby_version: '2.7'
|
98
|
+
- install_bundler
|
83
99
|
- run:
|
84
100
|
name: Install edge circleci-bundle-update-pr
|
85
101
|
command: |
|
@@ -88,14 +104,12 @@ jobs:
|
|
88
104
|
- deploy:
|
89
105
|
name: Run circleci-bundle-update-pr
|
90
106
|
command: circleci-bundle-update-pr CircleCI circleci@example.com $CIRCLE_BRANCH
|
107
|
+
- notify_on_failure_on_default_branch
|
91
108
|
|
92
109
|
workflows:
|
93
110
|
version: 2
|
94
111
|
ordinary:
|
95
112
|
jobs:
|
96
|
-
- build:
|
97
|
-
name: ruby-2.3
|
98
|
-
ruby_version: '2.3'
|
99
113
|
- build:
|
100
114
|
name: ruby-2.4
|
101
115
|
ruby_version: '2.4'
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
circleci-bundle-update-pr (
|
4
|
+
circleci-bundle-update-pr (2.0.0)
|
5
5
|
compare_linker (>= 1.4.0)
|
6
6
|
octokit
|
7
7
|
|
@@ -10,52 +10,60 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
addressable (2.7.0)
|
12
12
|
public_suffix (>= 2.0.2, < 5.0)
|
13
|
-
ast (2.4.
|
13
|
+
ast (2.4.1)
|
14
14
|
compare_linker (1.4.4)
|
15
15
|
httpclient
|
16
16
|
octokit
|
17
|
-
diff-lcs (1.
|
18
|
-
faraday (1.
|
17
|
+
diff-lcs (1.4.4)
|
18
|
+
faraday (1.1.0)
|
19
19
|
multipart-post (>= 1.2, < 3)
|
20
|
+
ruby2_keywords
|
20
21
|
httpclient (2.8.3)
|
21
|
-
jaro_winkler (1.5.4)
|
22
22
|
multipart-post (2.1.1)
|
23
|
-
octokit (4.
|
23
|
+
octokit (4.19.0)
|
24
24
|
faraday (>= 0.9)
|
25
25
|
sawyer (~> 0.8.0, >= 0.5.3)
|
26
|
-
parallel (1.19.
|
27
|
-
parser (2.7.0
|
28
|
-
ast (~> 2.4.
|
29
|
-
public_suffix (4.0.
|
26
|
+
parallel (1.19.2)
|
27
|
+
parser (2.7.2.0)
|
28
|
+
ast (~> 2.4.1)
|
29
|
+
public_suffix (4.0.6)
|
30
30
|
rainbow (3.0.0)
|
31
31
|
rake (13.0.1)
|
32
|
+
regexp_parser (1.8.2)
|
33
|
+
rexml (3.2.4)
|
32
34
|
rspec (3.9.0)
|
33
35
|
rspec-core (~> 3.9.0)
|
34
36
|
rspec-expectations (~> 3.9.0)
|
35
37
|
rspec-mocks (~> 3.9.0)
|
36
|
-
rspec-core (3.9.
|
37
|
-
rspec-support (~> 3.9.
|
38
|
-
rspec-expectations (3.9.
|
38
|
+
rspec-core (3.9.3)
|
39
|
+
rspec-support (~> 3.9.3)
|
40
|
+
rspec-expectations (3.9.3)
|
39
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
42
|
rspec-support (~> 3.9.0)
|
41
43
|
rspec-mocks (3.9.1)
|
42
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
45
|
rspec-support (~> 3.9.0)
|
44
|
-
rspec-support (3.9.
|
45
|
-
rubocop (0.
|
46
|
-
jaro_winkler (~> 1.5.1)
|
46
|
+
rspec-support (3.9.4)
|
47
|
+
rubocop (0.93.1)
|
47
48
|
parallel (~> 1.10)
|
48
|
-
parser (>= 2.7.
|
49
|
+
parser (>= 2.7.1.5)
|
49
50
|
rainbow (>= 2.2.2, < 4.0)
|
51
|
+
regexp_parser (>= 1.8)
|
52
|
+
rexml
|
53
|
+
rubocop-ast (>= 0.6.0)
|
50
54
|
ruby-progressbar (~> 1.7)
|
51
|
-
unicode-display_width (>= 1.4.0, <
|
52
|
-
rubocop-
|
53
|
-
|
55
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
56
|
+
rubocop-ast (1.1.0)
|
57
|
+
parser (>= 2.7.1.5)
|
58
|
+
rubocop-rspec (1.44.1)
|
59
|
+
rubocop (~> 0.87)
|
60
|
+
rubocop-ast (>= 0.7.1)
|
54
61
|
ruby-progressbar (1.10.1)
|
62
|
+
ruby2_keywords (0.0.2)
|
55
63
|
sawyer (0.8.2)
|
56
64
|
addressable (>= 2.3.5)
|
57
65
|
faraday (> 0.8, < 2.0)
|
58
|
-
unicode-display_width (1.
|
66
|
+
unicode-display_width (1.7.0)
|
59
67
|
|
60
68
|
PLATFORMS
|
61
69
|
ruby
|
@@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
+
spec.required_ruby_version = '>= 2.4.0'
|
23
|
+
|
22
24
|
spec.add_dependency 'compare_linker', '>= 1.4.0'
|
23
25
|
spec.add_dependency 'octokit'
|
24
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circleci-bundle-update-pr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compare_linker
|
@@ -146,14 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
146
|
requirements:
|
147
147
|
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
149
|
+
version: 2.4.0
|
150
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
152
|
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
156
|
+
rubygems_version: 3.1.2
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Provide continues bundle update using CircleCI
|