Welcome to DevOps Days 2019 Collaborative Notes
Start here
Azure
DevOpsDay2019
git clone https://github.com/Microsoft/devops-project-samples.git
cd devops-project-samples\dotnet\aspnet\webapp\Application\
nuget restore
msbuild
Azure Repos
Azure Portal (Web App)
Azure Portal (VM)
Azure Pipelines / Builds
ASP.NET
dotnet\aspnet\webapp\Application\SampleWebApplication.sln
Azure Pipelines / Releases
Azure App Service deployment
VM1
用 PowerShell 以 系統管理員身分 執行複製下來的 Script,過程中會問兩個問題,直接按下 Enter 跳過即可。services.msc
會看到 VSTS Agent (dev.VM1)
系統服務自動啟動Define your CD release pipeline
選擇 Repository
選擇 ASP.NET 範本
檢視 azure-pipelines.yml
並加入發佈設定
- task: PublishBuildArtifacts@1
或
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: 'drop'
儲存並執行,過程中會將 azure-pipelines.yml
自動 commit 到 Git Repo 的 master 分支下
system.debug
= true
DevOpsDays Taipei 2019
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing