-
Notifications
You must be signed in to change notification settings - Fork 16.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3709 from mathieu-benoit/mathieu-benoit/101-team-…
…services-project-create 101 Visual Studio Team Services (VSTS) project create
- Loading branch information
Showing
4 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Deploy a new Visual Studio Team Services (VSTS) account and project. | ||
|
||
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fazure%2Fazure-quickstart-templates%2Fmaster%2F101-visual-studio-team-services-project-create%2Fazuredeploy.json" target="_blank"> | ||
<img src="http://azuredeploy.net/deploybutton.png"/> | ||
</a> | ||
|
||
This template allows you to deploy a new Visual Studio Team Services (VSTS) account and a new project. | ||
|
||
For more information about Visual Studio Team Services (VSTS), see [What is Visual Studio Team Services?](https://www.visualstudio.com/team-services/). |
69 changes: 69 additions & 0 deletions
69
101-visual-studio-team-services-project-create/azuredeploy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"accountName": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The name of the Visual Studio Team Services account, if it doesn't exist it will be created." | ||
} | ||
}, | ||
"projectName": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The name of the Visual Studio Team Services project." | ||
} | ||
}, | ||
"processTemplateId": { | ||
"type": "string", | ||
"defaultValue": "6B724908-EF14-45CF-84F8-768B5384DA45", | ||
"allowedValues": [ | ||
"6B724908-EF14-45CF-84F8-768B5384DA45", | ||
"ADCC42AB-9882-485E-A3ED-7678F01F66BC", | ||
"27450541-8E31-4150-9947-DC59F998FC01" | ||
], | ||
"metadata": { | ||
"description": "Scrum: 6B724908-EF14-45CF-84F8-768B5384DA45 / Agile: ADCC42AB-9882-485E-A3ED-7678F01F66BC / CMMI: 27450541-8E31-4150-9947-DC59F998FC01" | ||
} | ||
}, | ||
"versionControlOption": { | ||
"type": "string", | ||
"defaultValue": "Git", | ||
"allowedValues": [ | ||
"Git", | ||
"Tfvc" | ||
], | ||
"metadata": { | ||
"description": "The version control of the Visual Studio Team Services project's source code: Git or Tfvc." | ||
} | ||
} | ||
}, | ||
"variables": {}, | ||
"resources": [ | ||
{ | ||
"name": "[parameters('accountName')]", | ||
"type": "microsoft.visualstudio/account", | ||
"location": "[resourceGroup().location]", | ||
"apiVersion": "2014-04-01-preview", | ||
"properties": { | ||
"operationType": "Create", | ||
"accountName": "[parameters('accountName')]" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "[parameters('projectName')]", | ||
"type": "project", | ||
"location": "[resourceGroup().location]", | ||
"apiVersion": "2014-04-01-preview", | ||
"dependsOn": [ | ||
"[concat('microsoft.visualstudio/account/', parameters('accountName'))]" | ||
], | ||
"properties": { | ||
"ProcessTemplateId": "[parameters('processTemplateId')]", | ||
"VersionControlOption": "[parameters('versionControlOption')]" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
101-visual-studio-team-services-project-create/azuredeploy.parameters.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"accountName": { | ||
"value": "GEN-UNIQUE" | ||
}, | ||
"projectName": { | ||
"value": "GEN-UNIQUE" | ||
}, | ||
"processTemplateId": { | ||
"value": "6B724908-EF14-45CF-84F8-768B5384DA45" | ||
}, | ||
"versionControlOption": { | ||
"value": "Git" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"itemDisplayName": "Deploy a new VSTS account and project", | ||
"description": "This template allows you to deploy a new Visual Studio Team Services (VSTS) account and a new project.", | ||
"summary": "Deploy a new Visual Studio Team Services (VSTS) account and project.", | ||
"githubUsername": "mathieu-benoit", | ||
"dateUpdated": "2017-08-25" | ||
} |