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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
460
Other Decks in Programming
See All in Programming
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
4
2.9k
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
180
OSもどきOS
arkw
0
470
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.2k
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
170
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
200
Swiftのレキシカルスコープ管理
kntkymt
0
220
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
640
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
A2UI という光を覗いてみる
satohjohn
1
120
TAKTでAI駆動開発の品質を設計する
j5ik2o
6
1.1k
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
250
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
560
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
390
Building Applications with DynamoDB
mza
96
7.1k
Deep Space Network (abreviated)
tonyrice
0
170
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付近の話をします(たぶん)