8
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Azure DevOps と GitHub の連携について

Last updated at Posted at 2018-12-28

開発環境を検討している話があったので、その際の検証結果まとめ

そもそもAzureDevOpsとは

2018年9月に開発者向けクラウドベースのソリューション「Visual Studio Team Services(VSTS)」をリブランドしたもので、現行VSTSユーザーは自動的にAzure DevOpsにアップグレードされる
ダッシュボードでチームの情報管理やPipelineでCI/CDを回したりなど便利なツール

で、実際に使ってみる

(1)Azure ポータルにログインし「リソースの作成」をクリック
DevOps01.png

(2)検索ボックスに「DevOps」プロジェクトと入力
DevOps02.png

(3)「作成」をクリック
DevOps03.png

(4)今回は外部のGitHubと連携するので「Bring your own code」を選択し「Next」をクリック
  (ここで開発言語を選択して先に進むと自動的にAzureDevOps内にリポジトリが作成される)
DevOps04.png

(5)リポジトリに「GitHub」を選択し、自分のアカウントと認証を行うため「Authorize」をクリック
DevOps05.png

(6)GitHubのログイン画面が出るので、自分のGitHubアカウントを入力し「Sign In」をクリック
DevOps06.png

(7)リポジトリやアカウント権限を確認し、問題なければ「Authorize Azure」をクリック
DevOps07.png

(8)連携させるリポジトリとブランチの情報があっているのを確認し「Next」をクリック
DevOps08.png

(9)後々のテストのために「is app Dockerized」を「Yes」にして「Next」をクリック
DevOps09.png

(10)Application Settings でDockerfile pathと Path to Chart folder を設定し、
  後々のテストのために「kubernetes Service」を選択し「Next」をクリック
DevOps10.png

(11)Project名やデプロイ先のリージョンなど必要事項を入力して「Done」Doneをクリック
DevOps11.png

(12)Deployが完了すれば完成!
DevOps12.png

簡単!!
次回はリポジトリからコンテナファイルをデプロイしたりするあたりを書きたいと思います

8
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?