$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CircleCI Hands-on for Beginners
Search
wtnabe
May 21, 2016
Programming
0
470
CircleCI Hands-on for Beginners
GitHubのサンプルリポジトリをCircleCIのプロジェクトとして追加し、Buildを動かしてみるまで。Kanazawa.rb meetup #45
wtnabe
May 21, 2016
Tweet
Share
More Decks by wtnabe
See All by wtnabe
Rubyでもモノリポしたい - 調査、おわわり編 -
wtnabe
0
6
Ruby de Railway Oriented Programming
wtnabe
0
44
Bindanのススメ
wtnabe
0
31
そのオブジェクト、何を保証してくれますか? - GuideRailのススメ -
wtnabe
0
43
Effective Jekyll
wtnabe
0
73
5 min Jekyll/Liquid Plugin cooking
wtnabe
0
38
Ruby de Wasm
wtnabe
0
66
Cloud Native Buildpacksって結局どうなの?
wtnabe
0
55
Decoupled System with Turbo Frame
wtnabe
1
140
Other Decks in Programming
See All in Programming
Integrating WordPress and Symfony
alexandresalome
0
160
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
150
SwiftUIで本格音ゲー実装してみた
hypebeans
0
430
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.3k
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
260
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
500
Rediscover the Console - SymfonyCon Amsterdam 2025
chalasr
2
170
Python札幌 LT資料
t3tra
4
810
Cell-Based Architecture
larchanjo
0
130
ゲームの物理 剛体編
fadis
0
350
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
400
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
180
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
69
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
250
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
25
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
390
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
115
91k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
170
Speed Design
sergeychernyshev
33
1.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.7k
Reality Check: Gamification 10 Years Later
codingconduct
0
1.9k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Transcript
CircleCI 101 @wtnabe Kanazawa.rb meetup #45 2016-05-21 (Sat) at DMM.com
Labo Kanazawa Minami-chou
お品書き 今⽇のゴール CircleCI紹介 やってみた 今後の課題
今⽇のゴール
1. GitHubのサンプルrepoをfork 2. CircleCIと紐付け 3. GitHubのコードを変更してbuild結果を確認
CircleCI紹介
https://circleci.com/ 2016-04-30 現在 2011年誕⽣ 今のところGitHubのみ対応 Linux x 1 parallelなら無料 private
reposも無料で対応 2つめから $50 / para
プロジェクトのアクセス権限はすべてリ ポジトリと紐づいているので管理が楽
やってみた
1. GitHubのrepoをfork 2. GitHubアカウントでCircleCIにLog In 3. GitHub reposをADD PROJECTS 4.
コードを変えて結果を⾒る
サンプルrepo https://github.com/wtnabe/todomvc- vanillajs
CircleCI https://circleci.com/
Sign Up or Sign In CircleCIアカウントを持って いない場合は右のフローに従 ってSign Up 持ってる場合はLog
In With GitHub
None
もうBuildが⾛ります そういう設定がrepoの中にあるから
コードを変更してみよう
今回のBuildの秘密
package.jsonがあった場合 Node.jsプロジェクトと判断 とりあえずnpm testを実⾏する 他の⾔語でも似たような感じ
ちなみに GitHub API経由でsshのread onlyなdeploy keyがrepoにセットされています
今後の課題 今⽇やらなかったこと
1. Buildを実⾏する準備ができる circle.yml, Env Vars, SSH Key, etc. 2. 適切な通知設定
3. テストコードを書けるようになる 4. Deploy
まとめ
GitHubを使っているならCircleCIで簡単 にCIを始められる CIは静的解析だけでも便利 Webフロントエンドでも便利
楽してうっかりをなくそう
Enjoy !