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
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
510
はじめてのKong Konnect
ikeike443
0
250
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
400
効果的にGitHubを使うために
ikeike443
10
4.1k
How People Build Software
ikeike443
0
270
Other Decks in Technology
See All in Technology
知見・人・API・DB・予算 ─ ナイナイ尽くしだった人事データ整備 with dbt、5年間の学び
ken6377
1
150
product engineering with qa
nealle
0
140
AWS Summit Japan 2026の振り返りと2027へ向けて / AWS Summit Japan 2026 Recap and Prospects for 2027
kaminashi
1
200
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
3
1.9k
5分でわかるDuckDB Quack
chanyou0311
4
310
デジタル・デザイン構想 by Sayaka Ishizuka
y150saya
0
190
ループエンジニアリングでE2Eテストを実践
noriyukitakei
0
270
Claude Codeとハーネスについて考えてみる
oikon48
17
8.3k
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
440
認証認可だけじゃない! ID管理の構成要素と ライフサイクルを意識しよう
ritou
1
470
攻撃者がいなくてもAIエージェントはインシデントを起こす
nomizone
0
200
どうして今サーバーサイドKotlinを選択したのか
nealle
0
200
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
460
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
270
Evolving SEO for Evolving Search Engines
ryanjones
0
230
We Have a Design System, Now What?
morganepeng
55
8.2k
RailsConf 2023
tenderlove
30
1.5k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
170
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
410
Product Roadmaps are Hard
iamctodd
55
12k
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