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
330
0
Share
Azure Pipelinesのすゝめ
Azure Pipelinesを布教するスライド
5分のLTなので内容は控えめに、幅広く抑えるという感じで
meil
June 12, 2019
More Decks by meil
See All by meil
クラシルの開発で使ってるGitHub Actions
meilcli
0
210
プログラミング言語(?)を自作した話
meilcli
0
890
GitHub ActionsのActionを作る
meilcli
0
440
GitHub Actions入門
meilcli
0
450
Other Decks in Programming
See All in Programming
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
410
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
1
470
Swiftのレキシカルスコープ管理
kntkymt
0
190
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
120
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
690
~ 秘伝のタレ化した『神スプシ』と戦う ~ 関数型パラダイムで壊れない仕組みへ
h0r15h0
1
130
GitHub Copilot CLIのいいところ
htkym
2
980
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
120
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
120
関係性から理解する"同一性"の型用語たち
pvcresin
2
510
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
5
860
Zod v4 Codec でスキーマに型変換を埋め込む REST API 設計 #TSKaigi2026
ryutaro_yako
0
140
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
810
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
The Invisible Side of Design
smashingmag
302
52k
Believing is Seeing
oripsolob
1
130
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
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付近の話をします(たぶん)