SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
日本マイクロソフト株式会社
グローバル ブラックベルト
テクノロジー ソリューション プロフェッショナル
井上 章 @chack411
クラウド ネイティブ開発と
Azure DevOps
井上 章 (いのうえ あきら)
http://aka.ms/chack
2008 年マイクロソフト入社。
主に .NET や Visual Studio, Microsoft Azure
などの開発技術を専門とするエバンジェリスト
として、技術書籍やオンライン記事などの執筆、
さまざまな技術イベントでの講演などを行う。
2018 年より Global Black Belt (GBB) という
技術専門組織に異動し、モバイルとクラウドを
中心としたアプリ開発技術の訴求活動に従事。
Azure Functions
Azure SignalR
Service
Change Feed
Development
aka.ms/noodle
プラットフォームの変化
201620001990 2010
Cloud Native Apps
www.paulkerrison.co.uk
インフラの抽象化
DevOps とは?
People. Process. Products.
DevOps は
エンドユーザーに価値を継続的
に提供できるようにするための
人、プロセス、製品の集合
“
”
Build
&
Test
Continuous
Delivery
Deploy
Operate
Monitor
&
Learn
Plan
&
Track
Develop
DevOps
優秀な DevOps 企業が達成したこと
High Performance DevOps Companies Achieve…
DevOps
製品市場投入の
高速化
収益の増加
2,604 倍
平均修復時間の高速化
2,555 倍
変更までの
リードタイム短縮
7 倍
低い変更失敗率
46 倍
開発サイクルの高速化
$
Source: 2018 Accelerate: State of DevOps: Strategies for a New Economy." N. Forsgren, J. Humble, G. Kim. DevOps Research and Assessment (DORA)
◼ 成果物ワークフロー(論理構成図)
デベロッパー
ソースコード
レポジトリ
自動ビルド・
リリース
テスター
テスト用
サーバ
実装環境
テスト環境
テスト結果
データベース
バグ追跡
データベース
バグの
修正依頼
配置
配置
ビルド
運用担当者
ユーザ F/B
データベース
フィードバック
テレメトリ
データ
機能追加・
修正の提案
Dev Ops
バグ F/B
DevOps
継続配置
カナリア
サーバ
最終の
動作検査
エンドユーザ
ステージング
Web サーバ
本番
Web サーバ
ステージング環境 本番環境
本番
DB サーバ
スワップ
Azure DevOps (旧 Visual Studio Team Services: VSTS)
実績のあるアジャイル ツールを使用して
より迅速にユーザーに価値をもたらし、
チームの垣根を越えて作業を計画、追
跡したり、作業に関する相談をしたりで
きます。
あらゆる言語、プラットフォーム、クラウドに
対応した CI/CD を使用して、ビルド、テスト、
デプロイできます。GitHub や他の Git プロ
バイダーに接続し、継続的にデプロイするこ
ともできます。
クラウドでホストされた容量無制限のプ
ライベート Git リポジトリを入手し、プル
要求と高度なファイル管理により、優
れたコードを協力してビルドできます。
手動の探索的テスト ツールを使用す
ることで、テストと公開を自信を持って
行うことができます。
パッケージを作成、ホストしたら、チームで共
有し、ワンクリックで CI/CD パイプラインに
成果物を追加できます。
Azure Boards Azure ReposAzure Pipelines
Azure Test Plans Azure Artifacts
https://azure.com/devops
➔
ソースコード
レポジトリ
【CI 用ビルド定義】
• コンパイル
【日次ビルド定義】
• コンパイル
• 単体機能テスト
• コード静的分析
• アーティファクト
作成
【リリース定義】
[Dev]
• 配置
[QA]
• 配置
[Staging]
• 配置
[Production]
• 環境スワップ
カナリア
サーバ
テスト
サーバ
ステージング
サーバ
運用
サーバ
要承認 要承認 要承認
• ビルドブレイク防止用
• プルリクエスト(Git)に際して実行
• 成果物は作成しない
• 成果物を作成し
Web Apps 環境へ配置
アーティファクト
(成果物)
drop
(Web Deploy
パッケージ)
Test
(Selenium
自動テスト用ファイル)
• Hosted Pipeline の
ビルドサーバで実施
• Azure Web Apps に
アプリを配置
[Config1]
• 配置
• 自動 UI テスト
[Config2]
• 配置
• 自動 UI テスト
構成テスト
サーバ
構成テスト
サーバ
要承認
要承認
スワップ (Web Apps)
• デプロイ スロット機能
• 運用環境でのテスト機能
自動
Azure Boards
かんばんボード、バックログ、チームのダッシュボード、カスタム
レポートを使用して作業を追跡
https://azure.com/devops➔
Connected from idea to release
Track all your ideas at every development stage and
keep your team aligned with all code changes linked
directly to work items.
Scrum ready
Use built-in scrum boards and planning tools to help
your teams run sprints, stand-ups, and planning
meetings.
Project insights
Gain new insights into the health and status of your
project with powerful analytics tools and dashboard
widgets.
Epic
Feature
Product
Backlog
Task
Bug
Task
ポートフォリオ
バックログ
バックログ
Epic
Feature
User
Story
Task
Bug
Task
エピック
機能
Requirement
Task
Bug
Task
Epic
Feature
Scrum Agile CMMI
参考 1: https://docs.microsoft.com/en-
us/azure/devops/organizations/settings/work/customize-
process?view=vsts&tabs=new-nav
参考 2: https://docs.microsoft.com/en-
us/azure/devops/organizations/settings/work/customize-process-
field?view=vsts&tabs=new-nav
Azure DevOps
https://marketplace.visualstudio.com/items?itemName=ms.vss-analytics
Azure Repos
オープンソース プロジェクトから世界最大規模のリポジトリ
までスケール可能な無制限のプライベート Git リポジトリの
ホスティングと TFVC のサポート
https://azure.com/devops➔
Works with your Git client
Securely connect with and push code into your Git
repos from any IDE, editor, or Git client.
Web hooks and API integration
Add validations and extensions from the marketplace
or build your own using web hooks and REST APIs.
Semantic code search
Quickly find what you’re looking for with code-aware
search that understands classes and variables.
Azure Pipelines
オープン ソース用に 10 個の無料の並列ジョブ (時間制限なし)
を実行可能な、Linux, macOS, および Windows 用のクラウド
ホステッド パイプライン
Any language, any platform, any cloud
Build, test, and deploy Node.js, Python, 
Java, PHP, Ruby,
C/C++, .NET, Android, and iOS apps. Run in parallel on
Linux, macOS, and Windows. Deploy to Azure, AWS,
GCP or on-premises
Extensible
Explore and implement a wide range of community-
built build, test, and deployment tasks, along with
hundreds of extensions from Slack to SonarCloud.
Support for YAML, reporting and more
Best-in-class for open source
Ensure fast continuous integration/continuous delivery
(CI/CD) pipelines for every open source project. Get
unlimited build minutes for all open source projects with
up to 10 free parallel jobs across Linux, macOS and
Windows
https://azure.com/pipelines➔
Containers and Kubernetes
Easily build and push images to container registries like
Docker Hub and Azure Container Registry. Deploy
containers to individual hosts or Kubernetes.
Azure Pipelines
Linux, macOS, Windows の OSS プロジェクト
向けのクラウド ホステッド パイプライン
10 個の無料の並列ジョブ (時間制限なし) を
実行可能
Microsoft Open Source
https://azure.com/pipelines➔
Integrated with GitHub
GitHub を利用する全ての開発者が
Marketplace から Azure Pipelines を
利用可能
Azure Test Plans
エンドツーエンドの追跡が可能な、スクリプト化されたテスト
を計画、実行、追跡し、開発ライフサイクル全体を通して
品質を評価
Capture rich data
Capture rich scenario data as you execute tests to
make discovered defects actionable. Explore user
stories without test cases or test steps. You can create
test cases directly from your exploratory test sessions.
Test across web and desktop
Test your application where it lives. Complete scripted
tests across desktop or web scenarios. Test on-
premises application from the cloud and vice-versa.
Get end-to-end traceability
Leverage the same test tools across your engineers
and user acceptance testing stakeholders. Pay for the
tools only when you need them.
https://azure.com/devops➔
https://marketplace.visualstudio.com/items?itemName=ms.vss-exploratorytesting-web#supportedbrowsers
Azure Artifacts
完全に統合されたパッケージ管理を CI/CD パイプラインに
追加し、パブリックおよびプライベートソースの Maven、npm、
NuGet のパッケージを作成、共有可能
Manage all package types
Get universal artifact management for Maven, npm,
and NuGet.
Add packages to any pipeline
Share packages, and use built-in CI/CD, versioning,
and testing.
Share code efficiently
Easily share code across small teams and large
enterprises.
https://azure.com/devops➔
Why Containers ? Write-once, Run-anywhere
‘Write-once, Run-anywhere’
マイクロサービス アーキテクチャ対応
Dev/Test の効率化
確実な Production 環境の配置
Developer Community の成長
アプリケーションのポータビリティ
開発, QA, 運用環境の標準化
OS やインフラ環境の抽象化
リソース配分の最適化
高速起動、スケーラビリティの確保
DevOps
Developers
Operations
Docker Containers ~ 共通デプロイ単位
Optionsofcompute
Azure Web App for Containers
Service Fabric
Ma en
Azure
Kubernetes
Service (AKS)
Leverage the Azure platform
designed for your container needs
Keep using the platform of your choice,
running great on Azure
Azure Container Registry
Docker Hub,
private registry
Visual Studio tools InteliJ Jenkins
Redhat Openshift
Container Platform
Pivotal Cloud
Foundry
Kubernetes
Container 開発ライフサイクル (シナリオ例)
Azure
開発環境
git push
pull, clone
docker push
CD (Webhook)
docker push
• Azure ベースの DevOps 環境を数分で構築
• 一般的なアプリケーション フレームワークに対応
• Azure DevOps / Pipelines による
CI/CD パイプライン構築
• Application Insights による監視機能
Azure DevOps Projects
• Azure Kubernetes Service (AKS) 上でのコンテナーの実行とデバッグを実行可能
• マネージドな Kubernetes クラスターをチームで共有して共同作業可能
• 依存関係を複製したりモックアップしたりすることなく、自分のコードを分離して開発したり、
他のコンポーネントと併せてエンド ツー エンドのテストを実行
Azure Dev Spaces (Preview)
DevOps at Microsoft
Data: Internal Microsoft engineering system activity, August 2018
372k
Pull Requests per
month
2m
Git commits per month
78,000Deployments per day
4.4m
Builds per month
500m
Test executions per
day
500k
Work items updated
per day
5m
Work items viewed per
day
Azure DevOps is the toolchain of choice for Microsoft engineering with over 90,000 internal users
https://aka.ms/DevOpsAtMicrosoft➔
◼ Azure DevOps Features Timeline
◼ https://docs.microsoft.com/ja-jp/azure/devops/release-notes/
◼ Azure DevOps Roadmap (Azure Boards)
◼ https://dev.azure.com/mseng/Azure%20DevOps%20Roadmap
◼ Updates for 2018 Q4 – 2019 Q1
◼ Azure Boards: Work Item support for Markdown editing
◼ Azure Repos: GVFS for Mac – Public Preview
◼ Azure Pipelines: YAML editor in the web, YAML editing in Visual Studio Code,
and public preview for release pipelines
◼ Azure Artifacts: Upstream sources for feeds across organizations
with the same Azure Active Directory
◼ Administration: Auditing
Azure DevOps Roadmap
https://azure.com/devops
@AzureDevOps
https://aka.ms/AzureDevOpsForum
https://aka.ms/DevOpsBlog/
Azure DevOps
#AzureDevOps
Azure DevOps の使用料
無料
無制限のユーザー数とビルド時間
• Azure Pipelines: 10 parallel jobs with
unlimited minutes for CI/CD
• Azure Boards: Work item tracking and
Kanban boards
• Azure Repos: Unlimited public Git repos
無料
5 ユーザーまで無料で開始
• Azure Pipelines: Run 1 Microsoft-hosted
job for 1,800 minutes per month and 1
self-hosted job for any amount of time
• Azure Boards: Work item tracking and
Kanban boards
• Azure Repos: Unlimited public Git repos
• Azure Artifacts: package management
• Unlimited stakeholders
¥672/ユーザー/月
Boards & Repos*
• Azure Pipelines: Run 1 Microsoft-hosted
job for 1,800 minutes per month and 1
self-hosted job for any amount of time
• Azure Boards: Work item tracking and
Kanban boards
• Azure Repos: Unlimited public Git repos
• Azure Artifacts: package management
• Unlimited stakeholders
• Boards & Repos included for Visual
Studio subscribers
https://azure.microsoft.com/ja-jp/pricing/details/devops/➔
5 Boards & Repos users and 5 Artifacts users free. Pipelines
with unlimited minutes, Test Plans users and additional
Artifacts users also available. Please see the Azure pricing
calculator for details.
*
Microsoft Connect(); 2018
2018 年 12 月 4 日 (日本時間 12 月 5 日 1:30 AM)
Visual Studio & Azure に関する開発者向けオンライン イベント開催!
http://msft.social/L1aSAf
Microsoft Developers
© 2018 Microsoft Corporation. All rights reserved.
本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。

Weitere ähnliche Inhalte

Mehr von Akira Inoue

Mehr von Akira Inoue (20)

レガシー Web からの脱却 ~ 開発者が次に目指すべき Web アプリの姿とは?
レガシー Web からの脱却 ~ 開発者が次に目指すべき Web アプリの姿とは?レガシー Web からの脱却 ~ 開発者が次に目指すべき Web アプリの姿とは?
レガシー Web からの脱却 ~ 開発者が次に目指すべき Web アプリの姿とは?
 
.NET の今と今後に思うこと (Tokyo Ver.)
.NET の今と今後に思うこと (Tokyo Ver.).NET の今と今後に思うこと (Tokyo Ver.)
.NET の今と今後に思うこと (Tokyo Ver.)
 
.NET の今と今後に思うこと
.NET の今と今後に思うこと.NET の今と今後に思うこと
.NET の今と今後に思うこと
 
.NET 最新ロードマップと今押さえておきたい技術要素
.NET 最新ロードマップと今押さえておきたい技術要素.NET 最新ロードマップと今押さえておきたい技術要素
.NET 最新ロードマップと今押さえておきたい技術要素
 
VS Code & Flaskで作るCloud NativeアプリとDevOps
VS Code & Flaskで作るCloud NativeアプリとDevOpsVS Code & Flaskで作るCloud NativeアプリとDevOps
VS Code & Flaskで作るCloud NativeアプリとDevOps
 
.NET Core と Docker コンテナー、そして Azure を使用したマイクロサービスのアーキテクチャ
.NET Core と Docker コンテナー、そして Azure を使用したマイクロサービスのアーキテクチャ.NET Core と Docker コンテナー、そして Azure を使用したマイクロサービスのアーキテクチャ
.NET Core と Docker コンテナー、そして Azure を使用したマイクロサービスのアーキテクチャ
 
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
本格化するクラウド ネイティブに向けて進化する開発プラットフォームと .NET
 
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイルVisual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
 
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイルVisual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
 
.NET の今 ~ 最新アップデートと 2019 年の展望
.NET の今 ~ 最新アップデートと 2019 年の展望.NET の今 ~ 最新アップデートと 2019 年の展望
.NET の今 ~ 最新アップデートと 2019 年の展望
 
.NET today and tomorrow
.NET today and tomorrow.NET today and tomorrow
.NET today and tomorrow
 
.NET の今とミライ (.NET Conf 2018 Japan Keynote)
.NET の今とミライ (.NET Conf 2018 Japan Keynote).NET の今とミライ (.NET Conf 2018 Japan Keynote)
.NET の今とミライ (.NET Conf 2018 Japan Keynote)
 
Intelligent Mobile App と Cloud Native が創るアプリ開発の未来 ~ これからの時代のアプリケーション開発ビジョン ~
Intelligent Mobile App と Cloud Native が創るアプリ開発の未来~ これからの時代のアプリケーション開発ビジョン ~Intelligent Mobile App と Cloud Native が創るアプリ開発の未来~ これからの時代のアプリケーション開発ビジョン ~
Intelligent Mobile App と Cloud Native が創るアプリ開発の未来 ~ これからの時代のアプリケーション開発ビジョン ~
 
"今" 押さえておきたい! Web アプリ開発の技術トレンドとツールの進化
"今" 押さえておきたい! Web アプリ開発の技術トレンドとツールの進化"今" 押さえておきたい! Web アプリ開発の技術トレンドとツールの進化
"今" 押さえておきたい! Web アプリ開発の技術トレンドとツールの進化
 
Azure と Visual Studio で実践するモダナイゼーションとクラウド ネイティブ アプリケーション開発
Azure と Visual Studio で実践するモダナイゼーションとクラウド ネイティブ アプリケーション開発Azure と Visual Studio で実践するモダナイゼーションとクラウド ネイティブ アプリケーション開発
Azure と Visual Studio で実践するモダナイゼーションとクラウド ネイティブ アプリケーション開発
 
Angular ユーザーなら押さえておきたい! TypeScript と Visual Studio Code の基礎と活用
Angular ユーザーなら押さえておきたい! TypeScript と Visual Studio Code の基礎と活用Angular ユーザーなら押さえておきたい! TypeScript と Visual Studio Code の基礎と活用
Angular ユーザーなら押さえておきたい! TypeScript と Visual Studio Code の基礎と活用
 
.NET の今と未来 ~ デバイス&クラウド ネイティブを目指して
.NET の今と未来 ~ デバイス&クラウド ネイティブを目指して.NET の今と未来 ~ デバイス&クラウド ネイティブを目指して
.NET の今と未来 ~ デバイス&クラウド ネイティブを目指して
 
.NET Conf 2017 Japan Keynote ".NET Everywhere!"
.NET Conf 2017 Japan Keynote ".NET Everywhere!".NET Conf 2017 Japan Keynote ".NET Everywhere!"
.NET Conf 2017 Japan Keynote ".NET Everywhere!"
 
Mobile-first, Cloud-first のその先へ ~ Microsoft が描く Web/Mobile の未来
Mobile-first, Cloud-first のその先へ ~ Microsoft が描く Web/Mobile の未来Mobile-first, Cloud-first のその先へ ~ Microsoft が描く Web/Mobile の未来
Mobile-first, Cloud-first のその先へ ~ Microsoft が描く Web/Mobile の未来
 
TypeScript and Visual Studio Code
TypeScript and Visual Studio Code TypeScript and Visual Studio Code
TypeScript and Visual Studio Code
 

Kürzlich hochgeladen

Kürzlich hochgeladen (7)

LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 

クラウド ネイティブ開発と Azure DevOps

  • 1. 日本マイクロソフト株式会社 グローバル ブラックベルト テクノロジー ソリューション プロフェッショナル 井上 章 @chack411 クラウド ネイティブ開発と Azure DevOps
  • 2. 井上 章 (いのうえ あきら) http://aka.ms/chack 2008 年マイクロソフト入社。 主に .NET や Visual Studio, Microsoft Azure などの開発技術を専門とするエバンジェリスト として、技術書籍やオンライン記事などの執筆、 さまざまな技術イベントでの講演などを行う。 2018 年より Global Black Belt (GBB) という 技術専門組織に異動し、モバイルとクラウドを 中心としたアプリ開発技術の訴求活動に従事。
  • 3. Azure Functions Azure SignalR Service Change Feed Development aka.ms/noodle
  • 7. DevOps とは? People. Process. Products. DevOps は エンドユーザーに価値を継続的 に提供できるようにするための 人、プロセス、製品の集合 “ ” Build & Test Continuous Delivery Deploy Operate Monitor & Learn Plan & Track Develop
  • 9. 優秀な DevOps 企業が達成したこと High Performance DevOps Companies Achieve… DevOps 製品市場投入の 高速化 収益の増加 2,604 倍 平均修復時間の高速化 2,555 倍 変更までの リードタイム短縮 7 倍 低い変更失敗率 46 倍 開発サイクルの高速化 $ Source: 2018 Accelerate: State of DevOps: Strategies for a New Economy." N. Forsgren, J. Humble, G. Kim. DevOps Research and Assessment (DORA)
  • 11. Azure DevOps (旧 Visual Studio Team Services: VSTS) 実績のあるアジャイル ツールを使用して より迅速にユーザーに価値をもたらし、 チームの垣根を越えて作業を計画、追 跡したり、作業に関する相談をしたりで きます。 あらゆる言語、プラットフォーム、クラウドに 対応した CI/CD を使用して、ビルド、テスト、 デプロイできます。GitHub や他の Git プロ バイダーに接続し、継続的にデプロイするこ ともできます。 クラウドでホストされた容量無制限のプ ライベート Git リポジトリを入手し、プル 要求と高度なファイル管理により、優 れたコードを協力してビルドできます。 手動の探索的テスト ツールを使用す ることで、テストと公開を自信を持って 行うことができます。 パッケージを作成、ホストしたら、チームで共 有し、ワンクリックで CI/CD パイプラインに 成果物を追加できます。 Azure Boards Azure ReposAzure Pipelines Azure Test Plans Azure Artifacts https://azure.com/devops ➔
  • 12. ソースコード レポジトリ 【CI 用ビルド定義】 • コンパイル 【日次ビルド定義】 • コンパイル • 単体機能テスト • コード静的分析 • アーティファクト 作成 【リリース定義】 [Dev] • 配置 [QA] • 配置 [Staging] • 配置 [Production] • 環境スワップ カナリア サーバ テスト サーバ ステージング サーバ 運用 サーバ 要承認 要承認 要承認 • ビルドブレイク防止用 • プルリクエスト(Git)に際して実行 • 成果物は作成しない • 成果物を作成し Web Apps 環境へ配置 アーティファクト (成果物) drop (Web Deploy パッケージ) Test (Selenium 自動テスト用ファイル) • Hosted Pipeline の ビルドサーバで実施 • Azure Web Apps に アプリを配置 [Config1] • 配置 • 自動 UI テスト [Config2] • 配置 • 自動 UI テスト 構成テスト サーバ 構成テスト サーバ 要承認 要承認 スワップ (Web Apps) • デプロイ スロット機能 • 運用環境でのテスト機能 自動
  • 13. Azure Boards かんばんボード、バックログ、チームのダッシュボード、カスタム レポートを使用して作業を追跡 https://azure.com/devops➔ Connected from idea to release Track all your ideas at every development stage and keep your team aligned with all code changes linked directly to work items. Scrum ready Use built-in scrum boards and planning tools to help your teams run sprints, stand-ups, and planning meetings. Project insights Gain new insights into the health and status of your project with powerful analytics tools and dashboard widgets.
  • 15. 参考 1: https://docs.microsoft.com/en- us/azure/devops/organizations/settings/work/customize- process?view=vsts&tabs=new-nav 参考 2: https://docs.microsoft.com/en- us/azure/devops/organizations/settings/work/customize-process- field?view=vsts&tabs=new-nav
  • 18. Azure Repos オープンソース プロジェクトから世界最大規模のリポジトリ までスケール可能な無制限のプライベート Git リポジトリの ホスティングと TFVC のサポート https://azure.com/devops➔ Works with your Git client Securely connect with and push code into your Git repos from any IDE, editor, or Git client. Web hooks and API integration Add validations and extensions from the marketplace or build your own using web hooks and REST APIs. Semantic code search Quickly find what you’re looking for with code-aware search that understands classes and variables.
  • 19. Azure Pipelines オープン ソース用に 10 個の無料の並列ジョブ (時間制限なし) を実行可能な、Linux, macOS, および Windows 用のクラウド ホステッド パイプライン Any language, any platform, any cloud Build, test, and deploy Node.js, Python, 
Java, PHP, Ruby, C/C++, .NET, Android, and iOS apps. Run in parallel on Linux, macOS, and Windows. Deploy to Azure, AWS, GCP or on-premises Extensible Explore and implement a wide range of community- built build, test, and deployment tasks, along with hundreds of extensions from Slack to SonarCloud. Support for YAML, reporting and more Best-in-class for open source Ensure fast continuous integration/continuous delivery (CI/CD) pipelines for every open source project. Get unlimited build minutes for all open source projects with up to 10 free parallel jobs across Linux, macOS and Windows https://azure.com/pipelines➔ Containers and Kubernetes Easily build and push images to container registries like Docker Hub and Azure Container Registry. Deploy containers to individual hosts or Kubernetes.
  • 20. Azure Pipelines Linux, macOS, Windows の OSS プロジェクト 向けのクラウド ホステッド パイプライン 10 個の無料の並列ジョブ (時間制限なし) を 実行可能 Microsoft Open Source https://azure.com/pipelines➔
  • 21. Integrated with GitHub GitHub を利用する全ての開発者が Marketplace から Azure Pipelines を 利用可能
  • 22. Azure Test Plans エンドツーエンドの追跡が可能な、スクリプト化されたテスト を計画、実行、追跡し、開発ライフサイクル全体を通して 品質を評価 Capture rich data Capture rich scenario data as you execute tests to make discovered defects actionable. Explore user stories without test cases or test steps. You can create test cases directly from your exploratory test sessions. Test across web and desktop Test your application where it lives. Complete scripted tests across desktop or web scenarios. Test on- premises application from the cloud and vice-versa. Get end-to-end traceability Leverage the same test tools across your engineers and user acceptance testing stakeholders. Pay for the tools only when you need them. https://azure.com/devops➔
  • 24.
  • 25. Azure Artifacts 完全に統合されたパッケージ管理を CI/CD パイプラインに 追加し、パブリックおよびプライベートソースの Maven、npm、 NuGet のパッケージを作成、共有可能 Manage all package types Get universal artifact management for Maven, npm, and NuGet. Add packages to any pipeline Share packages, and use built-in CI/CD, versioning, and testing. Share code efficiently Easily share code across small teams and large enterprises. https://azure.com/devops➔
  • 26. Why Containers ? Write-once, Run-anywhere ‘Write-once, Run-anywhere’ マイクロサービス アーキテクチャ対応 Dev/Test の効率化 確実な Production 環境の配置 Developer Community の成長 アプリケーションのポータビリティ 開発, QA, 運用環境の標準化 OS やインフラ環境の抽象化 リソース配分の最適化 高速起動、スケーラビリティの確保 DevOps Developers Operations
  • 27. Docker Containers ~ 共通デプロイ単位 Optionsofcompute Azure Web App for Containers Service Fabric Ma en Azure Kubernetes Service (AKS) Leverage the Azure platform designed for your container needs Keep using the platform of your choice, running great on Azure Azure Container Registry Docker Hub, private registry Visual Studio tools InteliJ Jenkins Redhat Openshift Container Platform Pivotal Cloud Foundry Kubernetes
  • 28. Container 開発ライフサイクル (シナリオ例) Azure 開発環境 git push pull, clone docker push CD (Webhook) docker push
  • 29. • Azure ベースの DevOps 環境を数分で構築 • 一般的なアプリケーション フレームワークに対応 • Azure DevOps / Pipelines による CI/CD パイプライン構築 • Application Insights による監視機能 Azure DevOps Projects
  • 30. • Azure Kubernetes Service (AKS) 上でのコンテナーの実行とデバッグを実行可能 • マネージドな Kubernetes クラスターをチームで共有して共同作業可能 • 依存関係を複製したりモックアップしたりすることなく、自分のコードを分離して開発したり、 他のコンポーネントと併せてエンド ツー エンドのテストを実行 Azure Dev Spaces (Preview)
  • 31. DevOps at Microsoft Data: Internal Microsoft engineering system activity, August 2018 372k Pull Requests per month 2m Git commits per month 78,000Deployments per day 4.4m Builds per month 500m Test executions per day 500k Work items updated per day 5m Work items viewed per day Azure DevOps is the toolchain of choice for Microsoft engineering with over 90,000 internal users https://aka.ms/DevOpsAtMicrosoft➔
  • 32.
  • 33. ◼ Azure DevOps Features Timeline ◼ https://docs.microsoft.com/ja-jp/azure/devops/release-notes/ ◼ Azure DevOps Roadmap (Azure Boards) ◼ https://dev.azure.com/mseng/Azure%20DevOps%20Roadmap ◼ Updates for 2018 Q4 – 2019 Q1 ◼ Azure Boards: Work Item support for Markdown editing ◼ Azure Repos: GVFS for Mac – Public Preview ◼ Azure Pipelines: YAML editor in the web, YAML editing in Visual Studio Code, and public preview for release pipelines ◼ Azure Artifacts: Upstream sources for feeds across organizations with the same Azure Active Directory ◼ Administration: Auditing Azure DevOps Roadmap
  • 35. Azure DevOps の使用料 無料 無制限のユーザー数とビルド時間 • Azure Pipelines: 10 parallel jobs with unlimited minutes for CI/CD • Azure Boards: Work item tracking and Kanban boards • Azure Repos: Unlimited public Git repos 無料 5 ユーザーまで無料で開始 • Azure Pipelines: Run 1 Microsoft-hosted job for 1,800 minutes per month and 1 self-hosted job for any amount of time • Azure Boards: Work item tracking and Kanban boards • Azure Repos: Unlimited public Git repos • Azure Artifacts: package management • Unlimited stakeholders ¥672/ユーザー/月 Boards & Repos* • Azure Pipelines: Run 1 Microsoft-hosted job for 1,800 minutes per month and 1 self-hosted job for any amount of time • Azure Boards: Work item tracking and Kanban boards • Azure Repos: Unlimited public Git repos • Azure Artifacts: package management • Unlimited stakeholders • Boards & Repos included for Visual Studio subscribers https://azure.microsoft.com/ja-jp/pricing/details/devops/➔ 5 Boards & Repos users and 5 Artifacts users free. Pipelines with unlimited minutes, Test Plans users and additional Artifacts users also available. Please see the Azure pricing calculator for details. *
  • 36. Microsoft Connect(); 2018 2018 年 12 月 4 日 (日本時間 12 月 5 日 1:30 AM) Visual Studio & Azure に関する開発者向けオンライン イベント開催! http://msft.social/L1aSAf
  • 38. © 2018 Microsoft Corporation. All rights reserved. 本情報の内容(添付文書、リンク先などを含む)は、作成日時点でのものであり、予告なく変更される場合があります。