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
410
効果的にGitHubを使うために
ikeike443
10
4.2k
How People Build Software
ikeike443
0
280
Other Decks in Technology
See All in Technology
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
510
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.9k
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
7
3.5k
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
120
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.6k
絵ではじめるKubernetesセキュリティ
aoi1
4
700
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
200
Oracle Cloud Network Path Analyzerを試してみた/I Tried Out Oracle Cloud Network Path Analyzer
masakiokuda
1
110
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
33
31k
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
540
Why Agent Cost Needs Observability
nttcom
0
130
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
140
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Cult of Friendly URLs
andyhume
79
7k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
880
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
440
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
380
Product Roadmaps are Hard
iamctodd
55
13k
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