diff --git a/src/ADOGenerator/Program.cs b/src/ADOGenerator/Program.cs index ccfa9df..2bf1bec 100644 --- a/src/ADOGenerator/Program.cs +++ b/src/ADOGenerator/Program.cs @@ -112,10 +112,11 @@ .ExecuteAsync(); accessToken = result.AccessToken; } - catch (MsalUiRequiredException) + catch (Exception ex) { var result = await authService.AcquireTokenAsync(app); accessToken = result.AccessToken; + id.ErrorId().AddMessage($"Error: {ex.Message}"); } } else @@ -263,6 +264,10 @@ bool ValidateExtensions(string templateFolderPath, string id) } var extensionsFile = File.ReadAllText(extensionsFilePath); + if(string.IsNullOrEmpty(extensionsFile)) + { + return false; + } var extensionjson = JObject.Parse(extensionsFile); var extensions = extensionjson["Extensions"]; if (extensions == null) diff --git a/src/ADOGenerator/ServiceExtensions.cs b/src/ADOGenerator/ServiceExtensions.cs index 3400cc0..64033ad 100644 --- a/src/ADOGenerator/ServiceExtensions.cs +++ b/src/ADOGenerator/ServiceExtensions.cs @@ -40,6 +40,11 @@ public static void AddMessage(this string id, string message) string fileName = $"{DateTime.Now.ToString("yyyy-MM-dd")}-{id}.txt"; if (id.EndsWith("_Errors")) { + // Create Errors Log Directory if not exists + if (!Directory.Exists(Path.Combine(logFilePath, "Errors"))) + { + Directory.CreateDirectory(Path.Combine(logFilePath, "Errors")); + } // Create Log file if (!File.Exists(Path.Combine(logFilePath, "Errors", fileName))) { diff --git a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/mslearn-tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/mslearn-tailspin-spacegame-web.json new file mode 100644 index 0000000..270bbbc --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ImportSourceCode/mslearn-tailspin-spacegame-web.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", + "branch": "main" + }, + "serviceEndpointId": "$mslearn-tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ServiceEndpoints/Space Game - web-code.json b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ServiceEndpoints/Space Game - web-code.json deleted file mode 100644 index cc5f8fa..0000000 --- a/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ServiceEndpoints/Space Game - web-code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "Space Game - web-code", - "type": "git", - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$username$", - "password": "$password$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/Space Game - web-code.json b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ServiceEndpoints/mslearn-tailspin-spacegame-web.json similarity index 75% rename from src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/Space Game - web-code.json rename to src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ServiceEndpoints/mslearn-tailspin-spacegame-web.json index 3c4f01e..d0d4db5 100644 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/Space Game - web-code.json +++ b/src/ADOGenerator/Templates/MSL-Create-Build-Pipeline/ServiceEndpoints/mslearn-tailspin-spacegame-web.json @@ -4,7 +4,7 @@ }, "name": "Space Game - web-code", "type": "git", - "url": "https://dev.azure.com/sharplogic/Space Game/_git/Space Game - web", + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", "authorization": { "scheme": "UsernamePassword", "parameters": { diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index 79d87b3..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-docker", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-docker/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-docker.git", - "connectedServiceId": "$GitHub_51da3d38$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "09/26/2019 01:28:15", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-docker", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-docker/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-docker", - "shortName": "mslearn-tailspin-spacegame-web-docker", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-docker", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-docker", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-docker.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/sharplogic/_apis/build/Queues/8" - } - }, - "url": "https://dev.azure.com/sharplogic/_apis/build/Queues/8", - "pool": null - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-docker", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..cfdb86a --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,55 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "_links": "{}", + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "badgeEnabled": true, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/mslearn-tailspin-spacegame-web-docker", + "fullName": "mslearn-tailspin-spacegame-web-docker", + "defaultBranch": "refs/heads/main", + "isFork": "False", + "safeRepository": "$mslearn-tailspin-spacegame-web-docker$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + + "id": "$mslearn-tailspin-spacegame-web-docker$", + "type": "TfsGit", + "name": "mslearn-tailspin-spacegame-web-docker", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/mslearn-tailspin-spacegame-web-docker", + "defaultBranch": "refs/heads/main", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "authoredBy": "{}", + "drafts": [], + "id": "", + "name": "mslearn-tailspin-spacegame-web-docker", + "url": "", + "uri": "", + "path": "\\", + "type": "build", + "queueStatus": "enabled", + "revision": 1, + "createdDate": "", + "project": "{}" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/GitRepository.json deleted file mode 100644 index 08a8c6d..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-docker", - "endPointName": "GitHub_51da3d38" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/Space Game - web - Release workflow.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/Space Game - web - Release workflow.json deleted file mode 100644 index 5ad864f..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/Space Game - web - Release workflow.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/sharplogic/Space Game - web - Docker/_git/Space Game - web - Release workflow" - }, - "serviceEndpointId": "$Space Game - web - Release workflow-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/mslearn-tailspin-spacegame-web-docker.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/mslearn-tailspin-spacegame-web-docker.json new file mode 100644 index 0000000..9e8fe7f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ImportSourceCode/mslearn-tailspin-spacegame-web-docker.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-docker" + }, + "serviceEndpointId": "$tailspin-spacegame-web-docker-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/Space Game - web - Release workflow-code.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/Space Game - web - Release workflow-code.json deleted file mode 100644 index 7ce5cca..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/Space Game - web - Release workflow-code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "Space Game - web - Release workflow-code", - "type": "git", - "url": "https://dev.azure.com/sharplogic/Space Game - web - Docker/_git/Space Game - web - Release workflow", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$username$", - "password": "$password$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/mslearn-tailspin-spacegame-web-docker-code.json b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/mslearn-tailspin-spacegame-web-docker-code.json new file mode 100644 index 0000000..b5adef8 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/mslearn-tailspin-spacegame-web-docker-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-docker-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-docker", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$username$", + "password": "$password$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index 83c7e13..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-kubernetes", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-kubernetes/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-kubernetes.git", - "connectedServiceId": "$GitHub_9a905ff5$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "09/26/2019 01:28:15", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-kubernetes", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-kubernetes/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-kubernetes", - "shortName": "mslearn-tailspin-spacegame-web-kubernetes", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-kubernetes", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-kubernetes", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-kubernetes.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/sharplogic/_apis/build/Queues/8" - } - }, - "url": "https://dev.azure.com/sharplogic/_apis/build/Queues/8", - "pool": null - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-kubernetes", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..f86fd17 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,64 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "_links": "{}", + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "badgeEnabled": true, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-kubernetes", + "fullName": "tailspin-spacegame-web-kubernetes", + "defaultBranch": "refs/heads/main", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-kubernetes$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-kubernetes$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-kubernetes", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-kubernetes", + "defaultBranch": "refs/heads/main", + "clean": null, + "checkoutSubmodules": false + }, + + "quality": "definition", + "authoredBy": "{}", + "drafts": [], + "queue": { + "_links": { + "self": { + "href": "https://dev.azure.com/sharplogic/_apis/build/Queues/8" + } + }, + "url": "https://dev.azure.com/sharplogic/_apis/build/Queues/8", + "pool": null + }, + "id": "", + "name": "mslearn-tailspin-spacegame-web-kubernetes", + "url": "", + "uri": "", + "path": "\\", + "type": "build", + "queueStatus": "enabled", + "revision": 1, + "createdDate": "", + "project": "{}" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/GitRepository.json deleted file mode 100644 index 1046d67..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-kubernetes", - "endPointName": "GitHub_9a905ff5" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/Space Game - web - Release workflow.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/Space Game - web - Release workflow.json deleted file mode 100644 index 5ad864f..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/Space Game - web - Release workflow.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/sharplogic/Space Game - web - Docker/_git/Space Game - web - Release workflow" - }, - "serviceEndpointId": "$Space Game - web - Release workflow-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/tailspin-spacegame-web-kubernetes.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/tailspin-spacegame-web-kubernetes.json new file mode 100644 index 0000000..45e0656 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ImportSourceCode/tailspin-spacegame-web-kubernetes.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-kubernetes" + }, + "serviceEndpointId": "$tailspin-spacegame-web-kubernetes-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/Space Game - web - Release workflow-code.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/Space Game - web - Release workflow-code.json deleted file mode 100644 index 7ce5cca..0000000 --- a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/Space Game - web - Release workflow-code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "Space Game - web - Release workflow-code", - "type": "git", - "url": "https://dev.azure.com/sharplogic/Space Game - web - Docker/_git/Space Game - web - Release workflow", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$username$", - "password": "$password$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/tailspin-spacegame-web-kubernetes-code.json b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/tailspin-spacegame-web-kubernetes-code.json new file mode 100644 index 0000000..f96784b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/tailspin-spacegame-web-kubernetes-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-kubernetes-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-kubernetes", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$username$", + "password": "$password$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/BuildDefinitionGitHub/SpaceGameWeb-Build.json b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/BuildDefinitionGitHub/SpaceGameWeb-Build.json deleted file mode 100644 index dbcd10a..0000000 --- a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/BuildDefinitionGitHub/SpaceGameWeb-Build.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "connectedServiceId": "$spacegame-web$", - "defaultBranch": "master", - "id": "$username$/mslearn-tailspin-spacegame-web", - "isPrivate": "False", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web", - "refsUrl": "https://api.github.com/repos/aksh-h/mslearn-tailspin-spacegame-web/git/refs" - }, - "id": "$username$/mslearn-tailspin-spacegame-web", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "defaultBranch": "master", - "clean": "false", - "checkoutSubmodules": false - }, - "quality": "definition", - "drafts": [], - "queue": { - "id": 8, - "name": "Hosted Ubuntu 1604", - "pool": { - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "name": "mslearn-tailspin-spacegame-web", - "type": "build", - "queueStatus": "enabled" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..8e6692c --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/build-agent", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/build-agent", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ServiceEndpoints/GitHub_Jamcneil_code.json b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ServiceEndpoints/tailspin-spacegame-web-code.json similarity index 87% rename from src/ADOGenerator/Templates/MSL-Host-Build-Agent/ServiceEndpoints/GitHub_Jamcneil_code.json rename to src/ADOGenerator/Templates/MSL-Host-Build-Agent/ServiceEndpoints/tailspin-spacegame-web-code.json index 80f8fde..c230e73 100644 --- a/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ServiceEndpoints/GitHub_Jamcneil_code.json +++ b/src/ADOGenerator/Templates/MSL-Host-Build-Agent/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -2,7 +2,7 @@ "data": { }, - "name": "spacegame-web", + "name": "tailspin-spacegame-web-code", "type": "git", "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", "authorization": { diff --git a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/BuildDefinitionGitHub/SpaceGameWeb-Build.json b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/BuildDefinitionGitHub/SpaceGameWeb-Build.json deleted file mode 100644 index dbcd10a..0000000 --- a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/BuildDefinitionGitHub/SpaceGameWeb-Build.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "connectedServiceId": "$spacegame-web$", - "defaultBranch": "master", - "id": "$username$/mslearn-tailspin-spacegame-web", - "isPrivate": "False", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web", - "refsUrl": "https://api.github.com/repos/aksh-h/mslearn-tailspin-spacegame-web/git/refs" - }, - "id": "$username$/mslearn-tailspin-spacegame-web", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "defaultBranch": "master", - "clean": "false", - "checkoutSubmodules": false - }, - "quality": "definition", - "drafts": [], - "queue": { - "id": 8, - "name": "Hosted Ubuntu 1604", - "pool": { - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "name": "mslearn-tailspin-spacegame-web", - "type": "build", - "queueStatus": "enabled" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..941ae53 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/code-workflow", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/code-workflow", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ServiceEndpoints/GitHub_Jamcneil_code.json b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ServiceEndpoints/tailspin-spacegame-web-code.json similarity index 87% rename from src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ServiceEndpoints/GitHub_Jamcneil_code.json rename to src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ServiceEndpoints/tailspin-spacegame-web-code.json index 80f8fde..c230e73 100644 --- a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ServiceEndpoints/GitHub_Jamcneil_code.json +++ b/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -2,7 +2,7 @@ "data": { }, - "name": "spacegame-web", + "name": "tailspin-spacegame-web-code", "type": "git", "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", "authorization": { diff --git a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/BuildDefinitionGitHub/SpaceGameWeb-Build.json b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/BuildDefinitionGitHub/SpaceGameWeb-Build.json deleted file mode 100644 index a50cca3..0000000 --- a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/BuildDefinitionGitHub/SpaceGameWeb-Build.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "connectedServiceId": "$spacegame-web$", - "defaultBranch": "master", - "id": "$username$/mslearn-tailspin-spacegame-web", - "isPrivate": "False", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web", - "refsUrl": "https://api.github.com/repos/aksh-h/mslearn-tailspin-spacegame-web/git/refs" - }, - "id": "$username$/mslearn-tailspin-spacegame-web", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "defaultBranch": "master", - "clean": "false", - "checkoutSubmodules": false - }, - "quality": "definition", - "drafts": [], - "queue": { - "name": "Azure Pipelines", - "pool": { - "name": "Azure Pipelines", - "isHosted": true - } - }, - "name": "mslearn-tailspin-spacegame-web", - "type": "build", - "queueStatus": "enabled" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..3f1fd3b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/build-pipeline", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/build-pipeline", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ServiceEndpoints/GitHub_Jamcneil_code.json b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ServiceEndpoints/tailspin-spacegame-web-code.json similarity index 87% rename from src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ServiceEndpoints/GitHub_Jamcneil_code.json rename to src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ServiceEndpoints/tailspin-spacegame-web-code.json index 80f8fde..c230e73 100644 --- a/src/ADOGenerator/Templates/MSL-Implement-Code-Workflow/ServiceEndpoints/GitHub_Jamcneil_code.json +++ b/src/ADOGenerator/Templates/MSL-Manage-Build-Dependencies/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -2,7 +2,7 @@ "data": { }, - "name": "spacegame-web", + "name": "tailspin-spacegame-web-code", "type": "git", "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", "authorization": { diff --git a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/BuildDefinitionGitHub/SpaceGameWeb-Build.json b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/BuildDefinitionGitHub/SpaceGameWeb-Build.json deleted file mode 100644 index dbcd10a..0000000 --- a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/BuildDefinitionGitHub/SpaceGameWeb-Build.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "connectedServiceId": "$spacegame-web$", - "defaultBranch": "master", - "id": "$username$/mslearn-tailspin-spacegame-web", - "isPrivate": "False", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web", - "refsUrl": "https://api.github.com/repos/aksh-h/mslearn-tailspin-spacegame-web/git/refs" - }, - "id": "$username$/mslearn-tailspin-spacegame-web", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "defaultBranch": "master", - "clean": "false", - "checkoutSubmodules": false - }, - "quality": "definition", - "drafts": [], - "queue": { - "id": 8, - "name": "Hosted Ubuntu 1604", - "pool": { - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "name": "mslearn-tailspin-spacegame-web", - "type": "build", - "queueStatus": "enabled" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..a9f0b17 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/unit-tests", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/unit-tests", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ServiceEndpoints/GitHub_Jamcneil_code.json b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ServiceEndpoints/tailspin-spacegame-web-code.json similarity index 87% rename from src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ServiceEndpoints/GitHub_Jamcneil_code.json rename to src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ServiceEndpoints/tailspin-spacegame-web-code.json index 80f8fde..c230e73 100644 --- a/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ServiceEndpoints/GitHub_Jamcneil_code.json +++ b/src/ADOGenerator/Templates/MSL-Run-Quality-Tests/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -2,7 +2,7 @@ "data": { }, - "name": "spacegame-web", + "name": "tailspin-spacegame-web-code", "type": "git", "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", "authorization": { diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/BuildDefinitionGitHub/SpaceGameWeb-Build.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/BuildDefinitionGitHub/SpaceGameWeb-Build.json deleted file mode 100644 index dbcd10a..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/BuildDefinitionGitHub/SpaceGameWeb-Build.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "connectedServiceId": "$spacegame-web$", - "defaultBranch": "master", - "id": "$username$/mslearn-tailspin-spacegame-web", - "isPrivate": "False", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web", - "refsUrl": "https://api.github.com/repos/aksh-h/mslearn-tailspin-spacegame-web/git/refs" - }, - "id": "$username$/mslearn-tailspin-spacegame-web", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "defaultBranch": "master", - "clean": "false", - "checkoutSubmodules": false - }, - "quality": "definition", - "drafts": [], - "queue": { - "id": 8, - "name": "Hosted Ubuntu 1604", - "pool": { - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "name": "mslearn-tailspin-spacegame-web", - "type": "build", - "queueStatus": "enabled" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..c413a07 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/scan-open-source", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/scan-open-source", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ServiceEndpoints/GitHub_Jamcneil_code.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ServiceEndpoints/GitHub_Jamcneil_code.json deleted file mode 100644 index 80f8fde..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ServiceEndpoints/GitHub_Jamcneil_code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "spacegame-web", - "type": "git", - "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ServiceEndpoints/tailspin-spacegame-web-code.json b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ServiceEndpoints/tailspin-spacegame-web-code.json new file mode 100644 index 0000000..c230e73 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Scan-Open-Source/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-code", + "type": "git", + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/BuildDefinitionGitHub/SpaceGameWeb-Build.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/BuildDefinitionGitHub/SpaceGameWeb-Build.json deleted file mode 100644 index dbcd10a..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/BuildDefinitionGitHub/SpaceGameWeb-Build.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "connectedServiceId": "$spacegame-web$", - "defaultBranch": "master", - "id": "$username$/mslearn-tailspin-spacegame-web", - "isPrivate": "False", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web", - "refsUrl": "https://api.github.com/repos/aksh-h/mslearn-tailspin-spacegame-web/git/refs" - }, - "id": "$username$/mslearn-tailspin-spacegame-web", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web.git", - "defaultBranch": "master", - "clean": "false", - "checkoutSubmodules": false - }, - "quality": "definition", - "drafts": [], - "queue": { - "id": 8, - "name": "Hosted Ubuntu 1604", - "pool": { - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "name": "mslearn-tailspin-spacegame-web", - "type": "build", - "queueStatus": "enabled" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..90a6ab2 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/security-scan", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/security-scan", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/GitRepository.json deleted file mode 100644 index 4c6a330..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web" - } - ] - } diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 7d8c10f..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/Tailspin4444/Space Game - web/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ServiceEndpoints/GitHub_Jamcneil_code.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ServiceEndpoints/GitHub_Jamcneil_code.json deleted file mode 100644 index 80f8fde..0000000 --- a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ServiceEndpoints/GitHub_Jamcneil_code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "spacegame-web", - "type": "git", - "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ServiceEndpoints/tailspin-spacegame-web-code.json b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ServiceEndpoints/tailspin-spacegame-web-code.json new file mode 100644 index 0000000..c230e73 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-Scan-for-Vulnerabilities/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-code", + "type": "git", + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/BuildDefinitionGitHub/EdKaimmslearn-tailspin-spacegame-web-azure-functions.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/BuildDefinitionGitHub/EdKaimmslearn-tailspin-spacegame-web-azure-functions.json deleted file mode 100644 index 3b5b65e..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/BuildDefinitionGitHub/EdKaimmslearn-tailspin-spacegame-web-azure-functions.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": true - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-azure-functions", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-azure-functions/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-azure-functions.git", - "connectedServiceId": "$GitHub_210c1c54$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "False", - "isFork": "True", - "isPrivate": "True", - "lastUpdated": "2020-03-03T19:32:10Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-azure-functions", - "nodeId": "MDEwOlJlcG9zaXRvcnkyNDQ3MjQxNjQ=", - "ownerId": "1214799", - "orgName": "EdKaim", - "refsUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-azure-functions/git/refs", - "safeRepository": "EdKaim/mslearn-tailspin-spacegame-web-azure-functions", - "shortName": "mslearn-tailspin-spacegame-web-azure-functions", - "ownerAvatarUrl": "https://avatars0.githubusercontent.com/u/1214799?v=4", - "archived": "False", - "externalId": "244724164", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-azure-functions", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-azure-functions", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-azure-functions.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/sharplogic/_apis/build/Queues/1219" - } - }, - "id": 1219, - "name": "Hosted Ubuntu 1604", - "url": "https://dev.azure.com/sharplogic/_apis/build/Queues/1219", - "pool": { - "id": "", - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-azure-functions", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/BuildDefinitions/mslearn-tailspin-spacegame-web-azure-functions.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/BuildDefinitions/mslearn-tailspin-spacegame-web-azure-functions.json new file mode 100644 index 0000000..fa86bd8 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/BuildDefinitions/mslearn-tailspin-spacegame-web-azure-functions.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-azure-functions", + "fullName": "tailspin-spacegame-web-azure-functions", + "defaultBranch": "refs/heads/main", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-azure-functions$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-azure-functions$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-azure-functions", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-azure-functions", + "defaultBranch": "refs/heads/main", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-azure-functions", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/GitRepository.json deleted file mode 100644 index 08e7720..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-azure-functions", - "endPointName": "GitHub_210c1c54" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/Space Game - web - Release workflow.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/Space Game - web - Release workflow.json deleted file mode 100644 index f7f2057..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/Space Game - web - Release workflow.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/sharplogic/Space Game Azure Functions/_git/Space Game - web - Release workflow" - }, - "serviceEndpointId": "$Space Game - web - Release workflow-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/tailspin-spacegame-web-azure-functions.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/tailspin-spacegame-web-azure-functions.json new file mode 100644 index 0000000..592816b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ImportSourceCode/tailspin-spacegame-web-azure-functions.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-azure-functions" + }, + "serviceEndpointId": "$tailspin-spacegame-web-azure-functions-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/Space Game - web - Release workflow-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/Space Game - web - Release workflow-code.json deleted file mode 100644 index dbd0184..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/Space Game - web - Release workflow-code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "Space Game - web - Release workflow-code", - "type": "git", - "url": "https://dev.azure.com/sharplogic/Space Game Azure Functions/_git/Space Game - web - Release workflow", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$username$", - "password": "$password$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/tailspin-spacegame-web-azure-functions-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/tailspin-spacegame-web-azure-functions-code.json new file mode 100644 index 0000000..952c07d --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/tailspin-spacegame-web-azure-functions-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-azure-functions-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-azure-functions", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$username$", + "password": "$password$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..ab551c1 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "fullName": "tailspin-spacegame-web", + "defaultBranch": "refs/heads/models-package", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web$", + "type": "TfsGit", + "name": "tailspin-spacegame-web", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web", + "defaultBranch": "refs/heads/models-package", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/Space Game - web.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/Space Game - web.json deleted file mode 100644 index 423bbcd..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/Space Game - web.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/sharplogic/Space Game/_git/Space Game - web" - }, - "serviceEndpointId": "$Space Game - web-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/Space Game Delivery Plans.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/Space Game Delivery Plans.json deleted file mode 100644 index ae98813..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/Space Game Delivery Plans.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/sharplogic/Space Game Delivery Plans/_git/Space Game Delivery Plans" - }, - "serviceEndpointId": "$Space Game Delivery Plans-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/tailspin-spacegame-web.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/tailspin-spacegame-web.json new file mode 100644 index 0000000..3fc6ffb --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ImportSourceCode/tailspin-spacegame-web.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web" + }, + "serviceEndpointId": "$tailspin-spacegame-web-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/Space Game Delivery Plans-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/Space Game Delivery Plans-code.json deleted file mode 100644 index c7b3abb..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/Space Game Delivery Plans-code.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "Space Game Delivery Plans-code", - "type": "git", - "url": "https://dev.azure.com/sharplogic/Space Game Delivery Plans/_git/Space Game Delivery Plans", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$username$", - "password": "$password$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/spacegame-web.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/spacegame-web.json deleted file mode 100644 index aba3a65..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/spacegame-web.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": {}, - "name": "spacegame-web", - "type": "git", - "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", - "authorization": { - "parameters": { - "username": "demogenerator", - "password": "password" - }, - "scheme": "UsernamePassword" - }, - "isShared": false, - "isReady": true, - "owner": "Library" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/tailspin-spacegame-web-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/tailspin-spacegame-web-code.json new file mode 100644 index 0000000..c230e73 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-DeliveryPlans/ServiceEndpoints/tailspin-spacegame-web-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-code", + "type": "git", + "url": "https://github.com/jamcneil/mslearn-tailspin-spacegame-web", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index ffdef70..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "connectedServiceId": "$GitHub_c26ff2e9$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-09-26T01:28:15Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-deploy/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-deploy", - "shortName": "mslearn-tailspin-spacegame-web-deploy", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-deploy", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-deploy", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Azure Pipelines", - "url": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Azure Pipelines", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-deploy", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..8e7014a --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "fullName": "tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/release", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-deploy$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-deploy$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-deploy", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/release", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-deploy", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/GitRepository.json deleted file mode 100644 index 9d159f5..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_c26ff2e9" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/Space Game - web - Deploy database.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/Space Game - web - Deploy database.json deleted file mode 100644 index 754859d..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/Space Game - web - Deploy database.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/lp3-staging-03/Space Game - web - Deploy database/_git/Space Game - web - Deploy database" - }, - "serviceEndpointId": "$Space Game - web - Deploy database-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b44108f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ImportSourceCode/tailspin-spacegame-web-deploy.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy" + }, + "serviceEndpointId": "$tailspin-spacegame-web-deploy-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/GitHub_210c1c54-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json similarity index 80% rename from src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/GitHub_210c1c54-EndPoint.json rename to src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json index f8d845e..4403d43 100644 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-AzureFunctions/ServiceEndpoints/GitHub_210c1c54-EndPoint.json +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json @@ -2,9 +2,9 @@ "data": { }, - "name": "GitHub_210c1c54", + "name": "tailspin-spacegame-web-deploy-code", "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-azure-functions", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", "authorization": { "scheme": "UsernamePassword", "parameters": { diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index e871907..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "connectedServiceId": "$GitHub_604d3592$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-09-26T01:28:15Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-deploy/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-deploy", - "shortName": "mslearn-tailspin-spacegame-web-deploy", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-deploy", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-deploy", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Azure Pipelines", - "url": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Azure Pipelines", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-deploy", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..6c7c833 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "fullName": "tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/release-pipeline", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-deploy$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-deploy$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-deploy", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/release-pipeline", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-deploy", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/GitRepository.json deleted file mode 100644 index c762dd9..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_604d3592" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/Space Game - web - Deployment patterns.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/Space Game - web - Deployment patterns.json deleted file mode 100644 index 67be152..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/Space Game - web - Deployment patterns.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/lp3-staging-03/Space Game - web - Deployment patterns/_git/Space Game - web - Deployment patterns" - }, - "serviceEndpointId": "$Space Game - web - Deployment patterns-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b44108f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ImportSourceCode/tailspin-spacegame-web-deploy.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy" + }, + "serviceEndpointId": "$tailspin-spacegame-web-deploy-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ServiceEndpoints/GitHub_604d3592-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ServiceEndpoints/GitHub_604d3592-EndPoint.json deleted file mode 100644 index d35ad07..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ServiceEndpoints/GitHub_604d3592-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_604d3592", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/GitHub_9a905ff5-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json similarity index 80% rename from src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/GitHub_9a905ff5-EndPoint.json rename to src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json index 29cbf44..4403d43 100644 --- a/src/ADOGenerator/Templates/MSL-Deploy-Kubernetes-Template/ServiceEndpoints/GitHub_9a905ff5-EndPoint.json +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeploymentPatterns/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json @@ -2,9 +2,9 @@ "data": { }, - "name": "GitHub_9a905ff5", + "name": "tailspin-spacegame-web-deploy-code", "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-kubernetes", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", "authorization": { "scheme": "UsernamePassword", "parameters": { diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index 29a53a2..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "connectedServiceId": "$GitHub_8dceab94$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-09-26T01:28:15Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-deploy/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-deploy", - "shortName": "mslearn-tailspin-spacegame-web-deploy", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-deploy", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-deploy", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Azure Pipelines", - "url": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Azure Pipelines", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-deploy", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b38d57d --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "fullName": "tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/selenium", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-deploy$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-deploy$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-deploy", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/selenium", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-deploy", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/GitRepository.json deleted file mode 100644 index 0750dc7..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_8dceab94" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/Space Game - web - Functional tests.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/Space Game - web - Functional tests.json deleted file mode 100644 index b658047..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/Space Game - web - Functional tests.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/lp3-staging-03/Space Game - web - Functional tests/_git/Space Game - web - Functional tests" - }, - "serviceEndpointId": "$Space Game - web - Functional tests-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b44108f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ImportSourceCode/tailspin-spacegame-web-deploy.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy" + }, + "serviceEndpointId": "$tailspin-spacegame-web-deploy-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ServiceEndpoints/GitHub_8dceab94-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ServiceEndpoints/GitHub_8dceab94-EndPoint.json deleted file mode 100644 index 42ccc18..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ServiceEndpoints/GitHub_8dceab94-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_8dceab94", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ServiceEndpoints/GitHub_c26ff2e9-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json similarity index 80% rename from src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ServiceEndpoints/GitHub_c26ff2e9-EndPoint.json rename to src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json index a83fdbd..4403d43 100644 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-DeployDatabase/ServiceEndpoints/GitHub_c26ff2e9-EndPoint.json +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-FunctionalTests/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json @@ -2,9 +2,9 @@ "data": { }, - "name": "GitHub_c26ff2e9", + "name": "tailspin-spacegame-web-deploy-code", "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", "authorization": { "scheme": "UsernamePassword", "parameters": { diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index bb042e3..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "connectedServiceId": "$GitHub_93b35f8f$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-09-26T01:28:15Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-deploy/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-deploy", - "shortName": "mslearn-tailspin-spacegame-web-deploy", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-deploy", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-deploy", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Azure Pipelines", - "url": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Azure Pipelines", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-deploy", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..3eeb57a --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "fullName": "tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/blue-green", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-deploy$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-deploy$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-deploy", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/blue-green", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-deploy", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/GitRepository.json deleted file mode 100644 index f6d471b..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_eb001d95" - }, - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_93b35f8f" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/Space Game - web - Release workflow.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/Space Game - web - Release workflow.json deleted file mode 100644 index 86695f0..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/Space Game - web - Release workflow.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/lp3-staging-03/Space Game - web - Release workflow/_git/Space Game - web - Release workflow" - }, - "serviceEndpointId": "$Space Game - web - Release workflow-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b44108f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ImportSourceCode/tailspin-spacegame-web-deploy.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy" + }, + "serviceEndpointId": "$tailspin-spacegame-web-deploy-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/GitHub_93b35f8f-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/GitHub_93b35f8f-EndPoint.json deleted file mode 100644 index 9b96e8c..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/GitHub_93b35f8f-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_93b35f8f", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/GitHub_eb001d95-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/GitHub_eb001d95-EndPoint.json deleted file mode 100644 index eb0a7e5..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/GitHub_eb001d95-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_eb001d95", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/GitHub_51da3d38-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json similarity index 80% rename from src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/GitHub_51da3d38-EndPoint.json rename to src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json index 40cf621..4403d43 100644 --- a/src/ADOGenerator/Templates/MSL-Deploy-Docker-Template/ServiceEndpoints/GitHub_51da3d38-EndPoint.json +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Multi-stage/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json @@ -2,9 +2,9 @@ "data": { }, - "name": "GitHub_51da3d38", + "name": "tailspin-spacegame-web-deploy-code", "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-docker", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", "authorization": { "scheme": "UsernamePassword", "parameters": { diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index 142032a..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "connectedServiceId": "$GitHub_39e50711$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-09-26T01:28:15Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-deploy/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-deploy", - "shortName": "mslearn-tailspin-spacegame-web-deploy", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-deploy", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-deploy", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Azure Pipelines", - "url": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Azure Pipelines", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-deploy", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..777836f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "fullName": "tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/jmeter", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-deploy$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-deploy$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-deploy", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/jmeter", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-deploy", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/GitRepository.json deleted file mode 100644 index 5831928..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_39e50711" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/Space Game - web - Non-functional tests.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/Space Game - web - Non-functional tests.json deleted file mode 100644 index 0b33f83..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/Space Game - web - Non-functional tests.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/lp3-staging-03/Space Game - web - Non-functional tests/_git/Space Game - web - Non-functional tests" - }, - "serviceEndpointId": "$Space Game - web - Non-functional tests-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b44108f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ImportSourceCode/tailspin-spacegame-web-deploy.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy" + }, + "serviceEndpointId": "$tailspin-spacegame-web-deploy-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ServiceEndpoints/GitHub_39e50711-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ServiceEndpoints/GitHub_39e50711-EndPoint.json deleted file mode 100644 index 49f81fd..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ServiceEndpoints/GitHub_39e50711-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_39e50711", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json new file mode 100644 index 0000000..4403d43 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Non-functionalTests/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-deploy-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-automate.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-automate.json deleted file mode 100644 index ff65fec..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/BuildDefinitionGitHub/mslearn-tailspin-spacegame-web-automate.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-automate", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-automate/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-automate.git", - "connectedServiceId": "$GitHub_7cdb389c$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "False", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "10/29/2019 19:46:10", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-automate", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTgzNzA0MzM=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-automate/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-automate", - "shortName": "mslearn-tailspin-spacegame-web-automate", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "218370433", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-automate", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-automate", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-automate.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/thpetche-lp4-04/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Hosted Ubuntu 1604", - "url": "https://dev.azure.com/thpetche-lp4-04/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-spacegame-web-automate", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/BuildDefinitions/mslearn-tailspin-spacegame-web-automate.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/BuildDefinitions/mslearn-tailspin-spacegame-web-automate.json new file mode 100644 index 0000000..6c155b9 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/BuildDefinitions/mslearn-tailspin-spacegame-web-automate.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-automate", + "fullName": "tailspin-spacegame-web-automate", + "defaultBranch": "refs/heads/provision-db", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-automate$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-automate$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-automate", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-automate", + "defaultBranch": "refs/heads/provision-db", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-automate", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/GitRepository.json deleted file mode 100644 index 8fdddcb..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-automate", - "endPointName": "GitHub_7cdb389c" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/Space Game - web - ProvisionDB.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/Space Game - web - ProvisionDB.json deleted file mode 100644 index 976c80f..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/Space Game - web - ProvisionDB.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/thpetche-lp4-04/Space Game - web - ProvisionDB/_git/Space Game - web - ProvisionDB" - }, - "serviceEndpointId": "$Space Game - web - ProvisionDB-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/tailspin-spacegame-web-automate.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/tailspin-spacegame-web-automate.json new file mode 100644 index 0000000..150aa6b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ImportSourceCode/tailspin-spacegame-web-automate.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-automate" + }, + "serviceEndpointId": "$tailspin-spacegame-web-automate-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/GitHub_69cc250c.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/GitHub_69cc250c.json deleted file mode 100644 index 3f05cf5..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/GitHub_69cc250c.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": {}, - "name": "GitHub_69cc250c", - "type": "GitHub", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-automate", - "authorization": { - "parameters": { - "username": "tpetchel", - "password": "password" - }, - "scheme": "UsernamePassword" - }, - "isShared": false, - "isReady": true, - "owner": "Library" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/GitHub_7cdb389c-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/GitHub_7cdb389c-EndPoint.json deleted file mode 100644 index 0e3bd22..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/GitHub_7cdb389c-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_7cdb389c", - "type": "git", - "url": "https://github.com/tpetchel/mslearn-tailspin-spacegame-web-automate.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/tailspin-spacegame-web-automate-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/tailspin-spacegame-web-automate-code.json new file mode 100644 index 0000000..3e4594b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-ProvisionDB/ServiceEndpoints/tailspin-spacegame-web-automate-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-automate-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-automate", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json deleted file mode 100644 index ee456cd..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-deploy.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "badgeEnabled": true, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-deploy/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "connectedServiceId": "$GitHub_70ec1fc5$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "True", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-09-26T01:28:15Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTA5NzEzMjQ=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-deploy/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-deploy", - "shortName": "mslearn-tailspin-spacegame-web-deploy", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "210971324", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-deploy", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-deploy", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-deploy.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Azure Pipelines", - "url": "https://dev.azure.com/lp3-staging-03/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Azure Pipelines", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-deploy", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..8e7014a --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/BuildDefinitions/mslearn-tailspin-spacegame-web-deploy.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "fullName": "tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/release", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-deploy$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-deploy$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-deploy", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-deploy", + "defaultBranch": "refs/heads/release", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-deploy", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/GitRepository.json deleted file mode 100644 index 10fb9ba..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", - "endPointName": "GitHub_70ec1fc5" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/Space Game - web - Release.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/Space Game - web - Release.json deleted file mode 100644 index e494140..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/Space Game - web - Release.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parameters": { - "gitSource": { - "url": "https://dev.azure.com/lp3-staging-03/Space Game - web - Release/_git/Space Game - web - Release" - }, - "serviceEndpointId": "$Space Game - web - Release-code$", - "deleteServiceEndpointAfterImportIsDone": true - } -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/tailspin-spacegame-web-deploy.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/tailspin-spacegame-web-deploy.json new file mode 100644 index 0000000..b44108f --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ImportSourceCode/tailspin-spacegame-web-deploy.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy" + }, + "serviceEndpointId": "$tailspin-spacegame-web-deploy-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ServiceEndpoints/GitHub_70ec1fc5-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ServiceEndpoints/GitHub_70ec1fc5-EndPoint.json deleted file mode 100644 index 2ee782b..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ServiceEndpoints/GitHub_70ec1fc5-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_70ec1fc5", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json new file mode 100644 index 0000000..4403d43 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Release/ServiceEndpoints/tailspin-spacegame-web-deploy-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-deploy-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-deploy", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-automate.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-automate.json deleted file mode 100644 index f2b53c2..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/BuildDefinitionGitHub/tpetchelmslearn-tailspin-spacegame-web-automate.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "triggers": [ - { - "branchFilters": [], - "pathFilters": [], - "settingsSourceType": 2, - "batchChanges": false, - "maxConcurrentBuildsPerBranch": 1, - "triggerType": "continuousIntegration" - }, - { - "settingsSourceType": 2, - "branchFilters": [ - "+master" - ], - "forks": { - "enabled": true, - "allowSecrets": false - }, - "pathFilters": [], - "requireCommentsForNonTeamMembersOnly": false, - "isCommentRequiredForPullRequest": false, - "triggerType": "pullRequest" - } - ], - "properties": {}, - "tags": [], - "_links": "{}", - "jobAuthorizationScope": "projectCollection", - "jobTimeoutInMinutes": 60, - "jobCancelTimeoutInMinutes": 5, - "process": { - "yamlFilename": "azure-pipelines.yml", - "type": 2 - }, - "repository": { - "properties": { - "apiUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-automate", - "branchesUrl": "https://api.github.com/repos/$username$/mslearn-tailspin-spacegame-web-automate/branches", - "cloneUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-automate.git", - "connectedServiceId": "$GitHub_69cc250c$", - "defaultBranch": "master", - "fullName": "repository", - "hasAdminPermissions": "False", - "isFork": "True", - "isPrivate": "False", - "lastUpdated": "2019-10-29T19:46:10Z", - "manageUrl": "https://github.com/$username$/mslearn-tailspin-spacegame-web-automate", - "nodeId": "MDEwOlJlcG9zaXRvcnkyMTgzNzA0MzM=", - "ownerId": "7142397", - "orgName": "tpetchel", - "refsUrl": "https://api.github.com/repos/tpetchel/mslearn-tailspin-spacegame-web-automate/git/refs", - "safeRepository": "tpetchel/mslearn-tailspin-spacegame-web-automate", - "shortName": "mslearn-tailspin-spacegame-web-automate", - "ownerAvatarUrl": "https://avatars2.githubusercontent.com/u/7142397?v=4", - "archived": "False", - "externalId": "218370433", - "ownerIsAUser": "True", - "reportBuildStatus": "true" - }, - "id": "$username$/mslearn-tailspin-spacegame-web-automate", - "type": "GitHub", - "name": "$username$/mslearn-tailspin-spacegame-web-automate", - "url": "https://github.com/$username$/mslearn-tailspin-spacegame-web-automate.git", - "defaultBranch": "master", - "clean": null, - "checkoutSubmodules": false - }, - "quality": "definition", - "authoredBy": "{}", - "drafts": [], - "queue": { - "_links": { - "self": { - "href": "https://dev.azure.com/thpetche-lp4-01/_apis/build/Queues/8" - } - }, - "id": 8, - "name": "Hosted Ubuntu 1604", - "url": "https://dev.azure.com/thpetche-lp4-01/_apis/build/Queues/8", - "pool": { - "id": "", - "name": "Hosted Ubuntu 1604", - "isHosted": true - } - }, - "id": "", - "name": "mslearn-tailspin-spacegame-web-automate", - "url": "", - "uri": "", - "path": "\\", - "type": "build", - "queueStatus": "enabled", - "revision": 1, - "createdDate": "", - "project": "{}" -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/BuildDefinitions/mslearn-tailspin-spacegame-web-automate.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/BuildDefinitions/mslearn-tailspin-spacegame-web-automate.json new file mode 100644 index 0000000..3d09bb8 --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/BuildDefinitions/mslearn-tailspin-spacegame-web-automate.json @@ -0,0 +1,52 @@ +{ + "triggers": [ + { + "branchFilters": [], + "pathFilters": [], + "settingsSourceType": 2, + "batchChanges": false, + "maxConcurrentBuildsPerBranch": 1, + "triggerType": "continuousIntegration" + } + ], + "properties": {}, + "tags": [], + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "process": { + "yamlFilename": "azure-pipelines.yml", + "type": 2 + }, + "repository": { + "properties": { + "cloneUrl": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-automate", + "fullName": "tailspin-spacegame-web-automate", + "defaultBranch": "refs/heads/terraform", + "isFork": "False", + "safeRepository": "$tailspin-spacegame-web-automate$", + "reportBuildStatus": "true", + "fetchDepth": "1" + }, + "id": "$tailspin-spacegame-web-automate$", + "type": "TfsGit", + "name": "tailspin-spacegame-web-automate", + "url": "https://$Organization$@dev.azure.com/$Organization$/$ProjectName$/_git/tailspin-spacegame-web-automate", + "defaultBranch": "refs/heads/terraform", + "clean": null, + "checkoutSubmodules": false + }, + "quality": "definition", + "drafts": [], + "queue": { + "id": 8, + "name": "Hosted Ubuntu 1604", + "pool": { + "name": "Hosted Ubuntu 1604", + "isHosted": true + } + }, + "name": "mslearn-tailspin-spacegame-web-automate", + "type": "build", + "queueStatus": "enabled" +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ImportSourceCode/GitRepository.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ImportSourceCode/GitRepository.json deleted file mode 100644 index 74a5280..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ImportSourceCode/GitRepository.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "repositories": [ - { - "fullName": "MicrosoftDocs/mslearn-tailspin-spacegame-web-automate", - "endPointName": "GitHub_69cc250c" - } - ] -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ImportSourceCode/tailspin-spacegame-web-automate.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ImportSourceCode/tailspin-spacegame-web-automate.json new file mode 100644 index 0000000..150aa6b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ImportSourceCode/tailspin-spacegame-web-automate.json @@ -0,0 +1,9 @@ +{ + "parameters": { + "gitSource": { + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-automate" + }, + "serviceEndpointId": "$tailspin-spacegame-web-automate-code$", + "deleteServiceEndpointAfterImportIsDone": true + } +} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ServiceEndpoints/GitHub_69cc250c-EndPoint.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ServiceEndpoints/GitHub_69cc250c-EndPoint.json deleted file mode 100644 index b35a434..0000000 --- a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ServiceEndpoints/GitHub_69cc250c-EndPoint.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "data": { - - }, - "name": "GitHub_69cc250c", - "type": "git", - "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-automate.git", - "authorization": { - "scheme": "UsernamePassword", - "parameters": { - "username": "$GitUserName$", - "password": "$GitUserPassword$" - } - }, - "isReady": true -} \ No newline at end of file diff --git a/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ServiceEndpoints/tailspin-spacegame-web-automate-code.json b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ServiceEndpoints/tailspin-spacegame-web-automate-code.json new file mode 100644 index 0000000..3e4594b --- /dev/null +++ b/src/ADOGenerator/Templates/MSL-SpaceGame-web-Terraform/ServiceEndpoints/tailspin-spacegame-web-automate-code.json @@ -0,0 +1,16 @@ +{ + "data": { + + }, + "name": "tailspin-spacegame-web-automate-code", + "type": "git", + "url": "https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web-automate", + "authorization": { + "scheme": "UsernamePassword", + "parameters": { + "username": "$GitUserName$", + "password": "$GitUserPassword$" + } + }, + "isReady": true +} \ No newline at end of file