circleci-bundle-update-pr 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +11 -3
- data/circle.yml +18 -0
- data/lib/circleci/bundle/update/pr.rb +1 -1
- data/lib/circleci/bundle/update/pr/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccc9d01ef8074c3f6a6b5308af17a751d86a538a
|
4
|
+
data.tar.gz: ca2cc1175ad63ad4f3059a9a59555364cdaabacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b7232cfc34333390e0b9a316c5ab1f32870356e3c3e14af61de6f8ff1a37892cb5a6a24d84c25d5aa4ababcd26d85372ce1e6ddb20c299e6c2712391b5dcfad
|
7
|
+
data.tar.gz: 1c71cc82ecfa43b861ca96b47c90724bbb91b7bc028aac5ca7d27e9b403cd2f854940303397e8ec9fb9f90e1ba73f6e762107a74c56edb6657c93e32913370fd
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
# Circleci::Bundle::Update::Pr
|
1
|
+
# Circleci::Bundle::Update::Pr
|
2
|
+
|
3
|
+
[![Build Status](https://img.shields.io/circleci/project/masutaka/circleci-bundle-update-pr/master.svg?style=flat-square)][circleci]
|
4
|
+
[![License](https://img.shields.io/github/license/masutaka/circleci-bundle-update-pr.svg?style=flat-square)][license]
|
5
|
+
[![Gem](https://img.shields.io/gem/v/circleci-bundle-update-pr.svg?style=flat-square)][gem-link]
|
6
|
+
|
7
|
+
[circleci]: https://circleci.com/gh/masutaka/circleci-bundle-update-pr
|
8
|
+
[license]: https://github.com/masutaka/circleci-bundle-update-pr/blob/master/LICENSE.txt
|
9
|
+
[gem-link]: http://badge.fury.io/rb/circleci-bundle-update-pr
|
2
10
|
|
3
11
|
circleci-bundle-update-pr is an automation script for continuous bundle update and for sending a pull request via CircleCI [Nightly builds](https://circleci.com/docs/nightly-builds/).
|
4
12
|
|
@@ -73,9 +81,9 @@ curl \
|
|
73
81
|
NOTE: Please do not forget to replace `<username>/<reponame>/<circleci api token>` with yours.
|
74
82
|
|
75
83
|
|
76
|
-
### Trigger nightly build via ci-
|
84
|
+
### Trigger nightly build via ci-build-trigger (recommended)
|
77
85
|
|
78
|
-
While you can trigger nightly builds by using whatever you want for sending requests to API, the most recommended way is to use "ci-
|
86
|
+
While you can trigger nightly builds by using whatever you want for sending requests to API, the most recommended way is to use "ci-build-trigger". Please see https://github.com/masutaka/ci-build-trigger for details.
|
79
87
|
|
80
88
|
## CLI command references
|
81
89
|
|
data/circle.yml
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
machine:
|
2
|
+
timezone:
|
3
|
+
Asia/Tokyo
|
4
|
+
|
5
|
+
test:
|
6
|
+
override:
|
7
|
+
- /bin/true
|
8
|
+
|
9
|
+
deployment:
|
10
|
+
production:
|
11
|
+
branch: master
|
12
|
+
commands:
|
13
|
+
- |
|
14
|
+
if [ -n "${BUNDLE_UPDATE}" ] ; then
|
15
|
+
gem update -N bundler
|
16
|
+
gem install -N circleci-bundle-update-pr
|
17
|
+
circleci-bundle-update-pr CircleCI circleci@example.com
|
18
|
+
fi
|
@@ -40,7 +40,7 @@ module Circleci
|
|
40
40
|
system("git add Gemfile.lock")
|
41
41
|
system("git commit -m '$ bundle update && bundle update --ruby'")
|
42
42
|
system("git branch -M #{branch}")
|
43
|
-
system("git push github-url-with-token #{branch}")
|
43
|
+
system("git push -q github-url-with-token #{branch}")
|
44
44
|
end
|
45
45
|
private_class_method :create_branch
|
46
46
|
|
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: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
83
|
- bin/circleci-bundle-update-pr
|
84
|
+
- circle.yml
|
84
85
|
- circleci-bundle-update-pr.gemspec
|
85
86
|
- lib/circleci/bundle/update/pr.rb
|
86
87
|
- lib/circleci/bundle/update/pr/version.rb
|