{"id":57721,"date":"2019-09-26T09:12:02","date_gmt":"2019-09-26T17:12:02","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/devops\/?p=57721"},"modified":"2019-09-26T09:12:02","modified_gmt":"2019-09-26T17:12:02","slug":"azure-devops-demo-generator-is-now-open-source","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/azure-devops-demo-generator-is-now-open-source\/","title":{"rendered":"Azure DevOps Demo Generator is now open source"},"content":{"rendered":"<p>The <a href=\"https:\/\/azuredevopsdemogenerator.azurewebsites.net\/\">Azure DevOps Demo Generator<\/a> is a community operated service which can provision template-based projects inside your Azure DevOps organization. It was originally created for Microsoft as an educational resource supporting the <a href=\"https:\/\/www.azuredevopslabs.com\/\">Azure DevOps Labs<\/a>. Although it started as a way populate lab projects, it has evolved to support integrations with various third-party DevOps tools including <a href=\"https:\/\/www.azuredevopslabs.com\/labs\/vstsextend\/github-azurepipelines\/\">GitHub<\/a>, <a href=\"https:\/\/www.azuredevopslabs.com\/labs\/vstsextend\/Jenkins\/\">Jenkins<\/a>, <a href=\"https:\/\/www.azuredevopslabs.com\/labs\/vstsextend\/terraform\/\">Terraform<\/a>, and many others.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/select-template.png\" alt=\"Azure DevOps Demo Generator, select template\" width=\"1343\" height=\"787\" class=\"alignnone size-full wp-image-57723\" srcset=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/select-template.png 1343w, https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/select-template-300x176.png 300w, https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/select-template-768x450.png 768w, https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/select-template-1024x600.png 1024w\" sizes=\"(max-width: 1343px) 100vw, 1343px\" \/><\/p>\n<p>Over the years since its introduction, the generator has also been used to support new offerings from <a href=\"https:\/\/docs.microsoft.com\/learn\/browse\/?products=azure-devops\">Microsoft Learning<\/a> and more recently the <a href=\"https:\/\/azure.microsoft.com\/cloud-adoption-framework\/\">Microsoft Cloud Adoption Framework<\/a>. Various other teams inside Microsoft also use the generator for custom training and hackathons.<\/p>\n<p>A common customer request has been for more real-world examples of automating Azure DevOps using <a href=\"https:\/\/docs.microsoft.com\/rest\/api\/azure\/devops\">REST APIs<\/a>. To help with this, today we have <a href=\"https:\/\/github.com\/microsoft\/azuredevopsdemogenerator\">published<\/a> the source code for <a href=\"https:\/\/github.com\/microsoft\/azuredevopsdemogenerator\">Azure DevOps Demo Generator on GitHub<\/a> under the MIT License.<\/p>\n<p>Another common request from customers, partners and trainers is the ability to create custom templates for provisioning their own training environments. Today we are also making Custom Templates available in the <a href=\"https:\/\/azuredevopsdemogenerator.azurewebsites.net\/\">Azure DevOps Demo Generator<\/a> service.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/extract-template.png\" alt=\"Azure DevOps Demo Generator - Extract Template\" width=\"971\" height=\"855\" class=\"aligncenter size-full wp-image-57732\" srcset=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/extract-template.png 971w, https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/extract-template-300x264.png 300w, https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2019\/09\/extract-template-768x676.png 768w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/p>\n<p>You can find <a href=\"https:\/\/github.com\/microsoft\/AzureDevOpsDemoGenerator\/blob\/master\/docs\/Using-The-Template-Extractor.md\">more information on custom templates here<\/a> on GitHub. You are welcome to create and use custom templates for your own purposes. Create training, challenges, hackathons, for your own purposes.<\/p>\n<p>Once the templates have been created, they can be <a href=\"https:\/\/github.com\/microsoft\/AzureDevOpsDemoGenerator\/blob\/master\/docs\/Using-The-Template-Extractor.md#provisioning-your-project-from-your-custom-template\">provisioned<\/a> by uploading them from the Private tab when choosing a template.<\/p>\n<blockquote>\n<p>NOTE: Custom templates are not designed for &#8220;project copy&#8221; or &#8220;migration.&#8221; The generator only supports a subset of Azure DevOps artifact types and does not scale to production-level projects (e.g., large numbers of work items).<\/p>\n<\/blockquote>\n<p>Now that the source for the Azure DevOps Demo Generator is public, you can fork it and use it to learn the Azure DevOps APIs or as a foundation for you own Azure DevOps automation tools. We look forward to your feedback on this community operated service as <a href=\"https:\/\/github.com\/microsoft\/AzureDevOpsDemoGenerator\/issues\">GitHub issues<\/a> and your other contributions as <a href=\"https:\/\/github.com\/microsoft\/AzureDevOpsDemoGenerator\/pulls\">pull requests<\/a>. Please Refer to the project <a href=\"https:\/\/github.com\/microsoft\/AzureDevOpsDemoGenerator\/blob\/CONTRIBUTING.md\">contribution guidance<\/a> for more information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Azure DevOps Demo Generator is a community operated service that provisions template-based projects inside your Azure DevOps organization.  Today we&#8217;ve published the source code for Demo Generator under the MIT License and welcome community participation.  We&#8217;ve also enabled the ability to generate and use your own custom templates!<\/p>\n","protected":false},"author":8033,"featured_media":57723,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[224,229,249],"tags":[],"class_list":["post-57721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-community","category-open-source"],"acf":[],"blog_post_summary":"<p>The Azure DevOps Demo Generator is a community operated service that provisions template-based projects inside your Azure DevOps organization.  Today we&#8217;ve published the source code for Demo Generator under the MIT License and welcome community participation.  We&#8217;ve also enabled the ability to generate and use your own custom templates!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/57721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/8033"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=57721"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/57721\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/57723"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=57721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=57721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=57721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}