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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
meil
June 12, 2019
Programming
0
330
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
860
GitHub ActionsのActionを作る
meilcli
0
430
GitHub Actions入門
meilcli
0
430
Other Decks in Programming
See All in Programming
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
CSC307 Lecture 06
javiergs
PRO
0
690
MUSUBIXとは
nahisaho
0
130
CSC307 Lecture 09
javiergs
PRO
1
840
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AI巻き込み型コードレビューのススメ
nealle
2
300
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
970
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
Data-Centric Kaggle
isax1015
2
770
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
Featured
See All Featured
Accessibility Awareness
sabderemane
0
51
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
エンジニアに許された特別な時間の終わり
watany
106
230k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Music & Morning Musume
bryan
47
7.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Leo the Paperboy
mayatellez
4
1.4k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
What's in a price? How to price your products and services
michaelherold
247
13k
The Curious Case for Waylosing
cassininazir
0
240
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
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付近の話をします(たぶん)