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
300
Azure Pipelinesのすゝめ
Azure Pipelinesを布教するスライド
5分のLTなので内容は控えめに、幅広く抑えるという感じで
meil
June 12, 2019
Tweet
Share
More Decks by meil
See All by meil
クラシルの開発で使ってるGitHub Actions
meilcli
0
190
プログラミング言語(?)を自作した話
meilcli
0
780
GitHub ActionsのActionを作る
meilcli
0
410
GitHub Actions入門
meilcli
0
390
Other Decks in Programming
See All in Programming
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
Ruby on cygwin 2025-02
fd0
0
140
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
110
Immutable ActiveRecord
megane42
0
140
CloudNativePGがCNCF Sandboxプロジェクトになったぞ! 〜CloudNativePGの仕組みの紹介〜
nnaka2992
0
220
チームリードになって変わったこと
isaka1022
0
190
Amazon Bedrock Multi Agentsを試してきた
tm2
1
280
Domain-Driven Transformation
hschwentner
2
1.9k
Unity Android XR入門
sakutama_11
0
150
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
9
3.4k
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
4
1.3k
Featured
See All Featured
How GitHub (no longer) Works
holman
313
140k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
29
2.2k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Building Your Own Lightsaber
phodgson
104
6.2k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Become a Pro
speakerdeck
PRO
26
5.1k
Code Reviewing Like a Champion
maltzj
521
39k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Documentation Writing (for coders)
carmenintech
67
4.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付近の話をします(たぶん)