Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Casual CI Server
Search
r7kamura
July 24, 2013
Programming
7
1.7k
Casual CI Server
at Testing Casual Talks #1
http://atnd.org/events/40914
r7kamura
July 24, 2013
Tweet
Share
More Decks by r7kamura
See All by r7kamura
Railsアップグレード百景
r7kamura
11
6.4k
個人開発のやっていき方
r7kamura
94
23k
amakanにおける書籍のシリーズ判定方法について 2016-08-21
r7kamura
10
5.9k
Tenkaichi Bot Butoukai
r7kamura
11
5.1k
Paging in API
r7kamura
3
8.5k
Chanko Hacking Guide
r7kamura
5
1.2k
Making things with something small
r7kamura
1
450
Hidden
r7kamura
0
71
Butsukari Geiko
r7kamura
10
36k
Other Decks in Programming
See All in Programming
"Swarming" をコンセプトに掲げるアジャイルチームのベストプラクティス
boykush
1
110
タイミーにおけるデータの利用シーンと データ基盤の挑戦
marufeuille
4
3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
5
170
Assembling the Future: crafting the missing pieces of the Ruby on Wasm puzzle
skryukov
0
120
Rails 8 Frontend: 10 commandments & 7 deadly sins in 2025
yshmarov
1
560
Infrastructure as Code でセキュリティを楽にしよう!
konokenj
5
1.4k
モジュラモノリス、その前に / Modular monolith, before that
euglena1215
1
150
LLMと音声基盤モデルを用いた音声認識
spiralai
PRO
0
140
AWS CDKを用いたセキュアなCI/CDパイプラインの構築 / Build a secure CI/CD pipeline using AWS CDK
seike460
PRO
3
490
CSC509 Lecture 02
javiergs
PRO
0
140
Pythonで改めて考える「クラス(class)」の使いどころ
os1ma
13
3.4k
RemixとCloudflare Stack におけるFile Upload
ossamoon
1
120
Featured
See All Featured
Music & Morning Musume
bryan
46
6.1k
How to name files
jennybc
76
98k
[RailsConf 2023] Rails as a piece of cake
palkan
49
4.7k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
263
13k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
How to Ace a Technical Interview
jacobian
274
23k
Side Projects
sachag
452
42k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.9k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Optimizing for Happiness
mojombo
375
69k
Rails Girls Zürich Keynote
gr2m
93
13k
Transcript
Casual CI Server -Testing Casual Talks #1- by @r7kamura IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM
意識の高い若者の面白プロダクト枠 IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM
自己紹介 -------------------------------------- name: Ryo Nakamura id: r7kamura blog: r7kamura.hatenablog.com at:
COOKPAD Inc.
最近作ったもの -------------------------------------- * Chanko 2.0 - prototyping rails * Autodoc
- auto documenting tool * Chatroid - chatter bot framework * Gig - github as a blog database
今日話すこと -------------------------------------- * あらすじ * JJeennkkiinnssと愉快な仲間達 * AAllttrriiaaつくったよ * AAllttrriiaa
PPlluuggiinnの作り方
あらすじ WWhhyy ccaassuuaall ccii sseerrvveerr??
あらすじ -------------------------------------- あらゆる作業が自動化され、全ての行 動が記録・管理されるようになった時 代。自宅へと投下されるJJeennkkiinnss。だ が、その言語は人々に希望を捨てさせ た。若者の意識は、自分が彼を救おう と決心させる。果たしてカジュアルを 望む人々の物語はどこへ続くのか?
Jenkins Clones JJeennkkiinnssと愉快な仲間達
Jenkins Ukigumo CI Joe Cerberus Intergrity CruiseControll BuildBot Signal
Jenkins 説明不要 JJaavvaa
CI Joe * by defunkt * Ruby (sinatra) * multi-process
* 2 years ago...
Ukigumo * by tokuhirom * Perl (amon2) * client/server
Jenkins Ukigumo CI Joe Cerberus Intergrity CruiseControll BuildBot Signal **
JJeennkkiinnssほど高機能じゃなくて良い ** プラグインで拡張出来る機能は欲しい ** もっとカジュアルにプラグイン書きたい ** ゥチらでRRaaiillss 44盛り上げてこ㽉㽉 ↓ JJeennkkiinnss cclloonneeで一発あてるぞ
Altria Alternative Ruby Integration Application github.com/r7kamura/altria IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM
Altria Summary ------------------------------------------ * Server + Worker + Cron *
Rails 4, Redis, MySQL * HTML view + JSON REST API * Plugin as a gem IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM
Server Worker Queue DB Cron User Altria
Server Worker Queue DB Cron User Altria Rails4
Server Worker Queue DB Cron User Altria Redis
Server Worker Queue DB Cron User Altria MySQL
Server Worker Queue DB Cron User Altria jobs builds
Server Worker Queue DB Cron User Altria 1. HTML 2.
JSON 3. Streaming
Server Worker Queue DB Cron User Altria
Plugins ------------------------------------------------- * Using Rails’ plugin system * Every plugin
is a gem * Modify Gemfile to add plugins # Gemfile gem "altria-git", git: "
[email protected]
:..." gem "altria-pipeline", git: "
[email protected]
:..."
# δϣϒͷઃఆ߲ΛՃ Job.property(:next_job_id) # ϏϧυྃޙʹϑοΫ Job.after_execute do Job.find(next_job_id).enqueue end Example1:
Build Pipeline Plugin
Example2: Processing Time Plugin # viewͷϑοΫՕॴʹHTMLΛຒΊࠐΉ JobsController.before_filter only: :show do
view_context.content_for :jobs_show do render_to_string(partial: "chart").html_safe end end # jobs/_chart.html.slim - άϥϑඳը༻HTML&JS = line_chart @resource.builds.limit(100)
Other examples * altria-pipeline * altria-processing_time * altria-simple_cov * altria-git
* altria-authentication * ...
今回話さなかったこと * RRaaiillss44での実装の長所短所 * 運用事例 ((自宅のBBOOTTと連携等)) * 他のCCIIアプリと比べたときの位置付け * 今後追加予定の機能
IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM
まとめ * AAllttrriiaaというCCII SSeerrvveerrを作りました * 普通のWWeebbアプリと同じように作れるよ * カジュアルにプラグインが書けるよ * 機能要望
&& 開発者を募集しています IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM
IUUQXXXqJDLSDPNQIPUPTCSPPLXBSETJ[FTM ご静聴ありがとうございました ((質問・要望は@@rr77kkaammuurraaまで)) github.com/r7kamura/altria