Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
10分で分るGitHub Actions
Search
Takafumi Ikeda
February 21, 2019
Technology
2.3k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
10分で分るGitHub Actions
CI/CD Test Night
Takafumi Ikeda
February 21, 2019
More Decks by Takafumi Ikeda
See All by Takafumi Ikeda
APIゲートウェイとサービスメッシュ
ikeike443
0
540
はじめてのKong Konnect
ikeike443
0
260
Kuma
ikeike443
2
3.6k
GitHub Actionsはどのような未来を描くのか
ikeike443
3
2.9k
GitHubber@日本
ikeike443
6
12k
GitHub Business Seminar
ikeike443
1
160
How we ship GitHub with GitHub -- ChatOps
ikeike443
0
420
効果的にGitHubを使うために
ikeike443
10
4.2k
How People Build Software
ikeike443
0
300
Other Decks in Technology
See All in Technology
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.3k
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
220
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
130
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
170
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
410
継続的なAIコスト最適化
bgpat
1
280
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
0
190
今さら理解するウェブフォントver.2026
takanorip
3
660
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
940
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
300
契約書画像からの情報抽出に特化した視覚接地モデルを育てる話
sansantech
PRO
1
160
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
120
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
540
Building AI with AI
inesmontani
PRO
1
1.3k
What's in a price? How to price your products and services
michaelherold
247
13k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
700
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Bash Introduction
62gerente
615
220k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Transcript
None
10Ͱ͔Δ GitHub Actions 2019/02/21 ikeike443 Solutions Engineer, GitHub
a ikeike443 Takafumi Ikeda Solutions Engineer
2008 GitHub introduced…
Pull Request
None
None
None
None
None
ϫʔΫϑϩʔϞδϡϥʔԽ͞ΕΔ͖
Actions
Actions
None
workflow "My Workflow" { on = "event" resolves = ["Action
2", "Action 3"] } action "Action 1" { uses = "user/repo@master" runs = "command" } action "Action 2" { uses = "docker://node:10-alpine" runs = "command" } action "Action 3" { needs = ["Action 1"] uses = ".github/actions/private.js" runs = "command" }
None
check_run check_suite commit_comment create delete deployment deployment_status 26 available events
project_column public pull_request pull_request_review_comment pull_request_review push repository_dispatch release status watch
26 available events
GitHub Actionsͱ • ίϯςφٕज़ϕʔε • ϫʔΫϑϩʔ as Code • ϫʔΫϑϩʔͷϞδϡϥʔԽɺ࠶ར༻
• Pull Requestʹଓ͘ਐԽͷ৮ഔ
None
σϞ ࣮ࡍʹActionͱWorkflowΛ࡞ͬͯΈΑ͏ʂ
Hello world
खॱ • ActionΛ֨ೲ͢ΔϦϙδτϦΛ࡞ • ActionΛDockerfileͱͯ͠ఆٛ • ΤϯτϦʔϙΠϯτͱͳΔγΣϧεΫϦϓτΛఆٛ • ఆٛͨ͠ActionΛݺͼग़͢ϫʔΫϑϩʔΛఆٛ •
࣮ߦ
ϦϙδτϦͷ༻ҙ
Hello World Actionͷఆٛ
ΤϯτϦʔϙΠϯτγΣϧεΫϦϓτ
None
Closer look ࠓݟͨͷͷղઆΛ͔Ͷͯ
࣮ߦڥʹ͍ͭͯ • Action࣮ߦڥʹ͍ͭͯ • 1 vcpu, 3.75 GB RAM •
ωοτϫʔΫΞΫηεՄೳ • ϑΝΠϧγεςϜͷΞΫηεՄೳ • σΟεΫεϖʔε 100GB • ϫʔΫϑϩʔͰڞ༗ͯ͠ΞΫηεͰ͖Δ • ڥมͷҾ͖͠Մೳ • ڥมϫʔΫϑϩʔ͝ͱͷίϯςΩετͰղऍ͞ΕΔ • GitHubʹΑͬͯ༧͞Ε͍ͯΔڥม͋Γ
υΩϡϝϯτΛਵ࣌ࢀরͷ͜ͱ • ϕʔλதͷͨΊɺͲΜͲΜه͞Ε͍ͯ·͢
ActionΛ࡞Δͷ؆୯ • جຊతʹطଘͷπʔϧΛίϯςφԽ͢Δ͚ͩ • ͖Ε͍ʹ෦Խ͢Ε࠶ར༻͔ͳΓޮ͖͍͢
ศརͳAction ͙͢ʹཱͪͦ͏ͳActionΛհ
֤छΫϥυActions • GCP, AWS, Azure, Heroku, Zeit, npm • https://github.com/actions
ҎԼʹ͋Γ·͢
actions/bin • جຊతͳͷΛఏڙ • bats • curl • debug •
filter • sh • shellcheck
HTTP client • HTTPie ϥούʔ • MarketplaceͰೖखՄ
Add an issue reference • ϒϥϯν໊͔ΒIssueΛ ୳͠ग़ͯ͠ΫϩεϦϯΫ
All in one project • Issue/PRΛৗʹProject Ճ
Delete merged branch • ϚʔδࡁΈϒϥϯνআ • Probot app/ActionsͲͪΒ Ͱར༻Մೳ
Ϧιʔε ͜ͷΜݟͯΈͯͶ
https://github.com/actions
GitHub Marketplace
https://github.com/sdras/awesome-actions
Community Forum https://github.community/t5/tag/actions/tg-p/board-id/api
·ͱΊ GitHub Actions͕ݟΔະདྷ
ϫʔΫϑϩʔࣗ༝ʹͳΔ • ϫʔΫϑϩʔϞδϡϥʔԽ͞Ε • OSSͱͯ͠օͰ࡞Γ্͍͛ͯ͘ͷʹͳΔͰ͠ΐ͏ • ιϑτΣΞ։ൃͷੈքʹ৽͍͠1ϖʔδΛ • Έͳ͞ΜͷࢀՃΛ͍ͬͯ·͢ʂ
None
None