Skip to content

Commit

Permalink
Merge pull request #3709 from mathieu-benoit/mathieu-benoit/101-team-…
Browse files Browse the repository at this point in the history
…services-project-create

101 Visual Studio Team Services (VSTS) project create
  • Loading branch information
bmoore-msft authored Sep 22, 2017
2 parents 1c122e5 + 00c8d44 commit 7015d29
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 101-visual-studio-team-services-project-create/README.md
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 101-visual-studio-team-services-project-create/azuredeploy.json
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')]"
}
}
]
}
]
}
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"
}
}
}
7 changes: 7 additions & 0 deletions 101-visual-studio-team-services-project-create/metadata.json
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"
}

0 comments on commit 7015d29

Please sign in to comment.