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
Azure Pipelinesのすゝめ
Search
meil
June 12, 2019
Programming
0
320
Azure Pipelinesのすゝめ
Azure Pipelinesを布教するスライド
5分のLTなので内容は控えめに、幅広く抑えるという感じで
meil
June 12, 2019
Tweet
Share
More Decks by meil
See All by meil
クラシルの開発で使ってるGitHub Actions
meilcli
0
200
プログラミング言語(?)を自作した話
meilcli
0
840
GitHub ActionsのActionを作る
meilcli
0
430
GitHub Actions入門
meilcli
0
410
Other Decks in Programming
See All in Programming
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
340
Ktorで簡単AIアプリケーション
tsukakei
0
120
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
4
2.6k
CSC305 Lecture 12
javiergs
PRO
0
240
SODA - FACT BOOK(JP)
sodainc
1
8.9k
AkarengaLT vol.38
hashimoto_kei
1
130
EMこそClaude Codeでコード調査しよう
shibayu36
0
460
One Enishi After Another
snoozer05
PRO
0
170
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
200
Devvox Belgium - Agentic AI Patterns
kdubois
1
150
Introduce Hono CLI
yusukebe
6
3.1k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
How GitHub (no longer) Works
holman
315
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Six Lessons from altMBA
skipperchong
29
4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Unsuck your backbone
ammeep
671
58k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Transcript
Azure Pipelinesのすゝめ 帰ってきた関西モバイルアプリ研究会 #2
自己紹介 • C#大好きマン ◦ Twitter: @penguin_sharp ◦ GitHub: MeilCli ◦
Blog: https://blog.meilcli.net/ • Skill ◦ C#, Kotlin ◦ Android, Xamarin.Android, .NET Standard, .NET Core • Fenrir Inc. ◦ Android Application Engineer
発言は個人の見解であり所属する組 織の公式見解ではありません また、帰属意識もありませんので自由 に発言します
アジェンダ • 自己紹介 • Azure Pipelinesとは • Pipelineの作り方 • Azure
Pipelines Tips
Azure Pipelinesとは • Azure DevOps Services(旧名: Visual Studio Team Services)のうちの1つ
◦ Microsoftが提供しているCI/CDサービス ◦ Visual Studio App Centerとは別物 • いろんな言語・プラットフォームに対応 ◦ C#, Xamarin, Android, iOSなどなど… • エージェントはLinux, macOS, Windowsから選べる
それでおいくらなの?
Azure Pipelinesとは • OSSプロジェクトなら並列ジョブ10個が無料 • プライベートプロジェクトなら1つ目のジョブに無料枠(1800分/月) • 課金についてもっと詳しく言うと…… ◦ Microsoft-hostedとSelf-hostedで別々の料金体系
◦ Azure Pipeline単体とAzure DevOps ServicesとAzure DevOps Serverによって変わってくる
Pipelineの作り方 GitHub Marketplaceのページからポチポ チするだけ 昔書いたブロ グ:https://blog.meilcli.net/2018/09/azure-d evopsossvsts.html https://github.com/marketplace/azure-pipelines
Pipelineの作り方 • Pipelineの設定は2通りの作り方がある ◦ GUIベース ◦ YAMLベース 今日の話はこっち
Pipelineの作り方
Pipelineの作り方 trigger:でどういう変更があったときに Pipelineを回すか?を指定する ブランチにcommitがPushされたときやタ グが生成された時をトリガーにできる PullRequestのときはpr:という記法を使う
Pipelineの作り方 pool:でどのエージェントを使うか指定 variables:で環境変数を定義できる
Pipelineの作り方 steps:でJobの動きを定義する 画像はsingle stage/single jobの糖衣構 文
Azure Pipelines Tips - ソースコードに含みたくない情報はどうしたらいい? - Secret VariablesかSecure Filesを使おう -
PipelineのYAMLファイルの行数が長くなるんだけど - Templateを使ってみよう!JobsかStepsかVariablesをテンプレ化できるよ - 複数のPipelineを作るときはどうしたらいいの? - New Pipelineからazure-pipelines.ymlのPipelineを作って後からyamlファイルを変更しよう
Azure Pipelines Tips - UIとか機能とかころころ変わってない? - うん、すごく変わってる (白目) - 変更はここから見れるはず
: https://docs.microsoft.com/en-us/azure/devops/release-notes/ - Android App Bundle対応してなくてね? - Taskにないものはgradleでごり押ししよう - 昔作ったやつ: https://github.com/MeilCli/FoodSearch - マルチモジュールプロジェクトで変更があったところだけビルドしたい - まずはPath Triggerを使ってみよう - こないだ作ったやつ : https://github.com/MeilCli/AzurePipelineSample
今日話したこと • Azure Pipelinesとは ◦ OSSは無料! • Pipelineの作り方 ◦ YAMLで書ける
• Azure Pipelines Tips ◦ 次回あればPath Trigger付近の話をします(たぶん)