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
290
Other Decks in Technology
See All in Technology
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
890
Kiro Crewをはじめよう
kizawa2020
1
100
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
3
1.1k
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
140
自律型 AI をセキュアに実装!Gemini と MIG で作る動的コード実行環境
recruitengineers
PRO
1
230
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.2k
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
0
560
おそらく日本で唯一のDevRelインターン生として
husengs7
0
170
しろおびから始める!ログ活用の第一歩
shumei_ito
0
760
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
190
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
210
検証フェーズはAIの回答を判断するための学習機会
toru_kubota
2
540
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Prompt Engineering for Job Search
mfonobong
0
490
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
510
Unsuck your backbone
ammeep
672
58k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
My Coaching Mixtape
mlcsv
0
340
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
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