masutaka / circleci-bundle-update-pr Goto Github PK
View Code? Open in Web Editor NEWProvide continues bundle update using CircleCI
License: MIT License
Provide continues bundle update using CircleCI
License: MIT License
この話。
http://masutaka.net/chalow/2015-08-30-1.html
Chef Client も https://docs.chef.io/install_omnibus.html の方法で
インストールしています。バージョンを指定しているのは、Gemfile.lock
の chef とバージョンを合わせやすくするためです。今後、自動 bundle
update の時に Dockerfile も自動更新させる予定です。
今は circleci-bundle-update-pr で bundle update から git commit, git ブランチ作成、git push、PR 作成まで全部やっているため、この途中で Docker ファイルを修正して commit するのが難しい。
circleci-bundle-update-pr にオプションを付けるなどして、柔軟なコマンドにする。
今までの使い方を変更しないことは大前提。
e.g;
User adds .bundle_update/note.md
## Notice
* example1
* example2
PR description created by this gem
**Updated RubyGems:**
* [ ] [octokit](https://github.com/octokit/octokit.rb): [`4.9.0...4.10.0`](https://github.com/octokit/octokit.rb/compare/v4.9.0...v4.10.0)
* [ ] [public_suffix](https://github.com/weppos/publicsuffix-ruby): [`3.0.2...3.0.3`](https://github.com/weppos/publicsuffix-ruby/compare/v3.0.2...v3.0.3)
* [ ] rspec: (link not found) `3.7.0...3.8.0`
* [ ] [rspec-core](https://github.com/rspec/rspec-core): [`3.7.1...3.8.0`](https://github.com/rspec/rspec-core/compare/v3.7.1...v3.8.0)
* [ ] [rspec-expectations](https://github.com/rspec/rspec-expectations): [`3.7.0...3.8.1`](https://github.com/rspec/rspec-expectations/compare/v3.7.0...v3.8.1)
* [ ] [rspec-mocks](https://github.com/rspec/rspec-mocks): [`3.7.0...3.8.0`](https://github.com/rspec/rspec-mocks/compare/v3.7.0...v3.8.0)
* [ ] [rspec-support](https://github.com/rspec/rspec-support): [`3.7.1...3.8.0`](https://github.com/rspec/rspec-support/compare/v3.7.1...v3.8.0)
Powered by [circleci-bundle-update-pr](https://rubygems.org/gems/circleci-bundle-update-pr)
---
## Notice
* example1
* example2
The following error occurred in $ circleci-bundle-update-pr hoge [email protected] $CIRCLE_BRANCH
command with circleci-bundle-update-pr v1.15.0 and Ruby v2.5.3.
Traceback (most recent call last):
4: from /usr/local/bundle/bin/circleci-bundle-update-pr:23:in `<main>'
3: from /usr/local/bundle/bin/circleci-bundle-update-pr:23:in `load'
2: from /usr/local/bundle/gems/circleci-bundle-update-pr-1.15.0/bin/circleci-bundle-update-pr:15:in `<top (required)>'
1: from /usr/local/bundle/gems/circleci-bundle-update-pr-1.15.0/lib/circleci/bundle/update/pr.rb:37:in `create_if_needed'
/usr/local/bundle/gems/circleci-bundle-update-pr-1.15.0/lib/circleci/bundle/update/pr.rb:147:in `update_pull_request_body': can't modify frozen String (FrozenError)
Exited with code 1
You may have degraded it with the following commit: 4f1409c
%Y%m%d
→ %Y%m%d%H%M%S
I'm tired to update https://github.com/masutaka/circleci-bundle-update-pr/tree/development-test. So I'll add any option which is able to set bundle update options.
Waffle.io bot 使っているとラベルが競合する。PR 作成時にラベルがなければ In Progress
とか付ける。その後、この PR が In Review
とか付ける。という動作をするため。
Hello, and thanks for your work.
I have a project which has a Gemfile.lock in a non-root folder (src/xxx/Gemfile.lock
). I can change the working directory before running the script but it still commits to the root dir.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.