Git Product home page Git Product logo

microsoft / azuredevopsdemogenerator Goto Github PK

View Code? Open in Web Editor NEW
336.0 26.0 195.0 61.06 MB

Azure DevOps Demo Generator helps teams create projects on their Team Services account with pre-populated sample content that includes source code, work items, iterations, service endpoints, build and release definitions based on a chosen template

Home Page: https://azuredevopsdemogenerator.azurewebsites.net/

License: MIT License

HTML 68.36% CSS 0.58% JavaScript 1.84% Makefile 0.01% TeX 16.36% PostScript 1.74% Batchfile 0.01% C# 10.22% SCSS 0.88% ASP.NET 0.01%

azuredevopsdemogenerator's Introduction

Azure DevOps Demo Generator

Build status

Release status

About

The Azure DevOps Demo Generator can create projects in your Azure DevOps organization, prepopulated with template-based content including source code, work items, iterations, service endpoints, build and release definitions, and more!

The original purpose of this system is to simplify working with the Azure DevOps hands-on-labs, demos and other education material. But it can also be used to drive your ownAzure DevOps automation utilities, provision your own custom templates, or as a reference for using the Azure DevOps REST APIs.

Getting Started

The Azure DevOps Demo Generator is a hosted service that you can access directly to create template-based projects, via API or as a side effect of the related Azure DevOps hands-on-labs.

The following docs provide additional information:

Contributions

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

For more information on contributing, please visit the contributor guide.

azuredevopsdemogenerator's People

Contributors

aksh-h avatar akshay-online avatar akshayvh94 avatar bharath-ym avatar dependabot[bot] avatar dmckinstry avatar franklores-penalverversion1 avatar gloridelmorales avatar hsachinraj avatar jhutchings1 avatar manju1794 avatar michaelfery avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar mikaelkrief avatar msftgits avatar persalmi avatar scottstout avatar sriramdasbalaji avatar styxxy avatar tspascoal avatar turibbio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azuredevopsdemogenerator's Issues

Add and option to Azure DevOps Generator to build a new devops project template without any assigned users

Currently when creating a new azure devops template the ProjectSettings.json file is prepopulated with a few dummy users, ex: [email protected]", "[email protected]", "[email protected]"

To prevent this behavior I have to unzip the file, remove the users, zip again, then upload to GitHub.
Ask: Add and option to Azure DevOps Generator to build a new devops project template without any assigned users

ProjectSettings.json

{
"type": "Agile",
"id": "adcc42ab-9882-485e-a3ed-7678f01f66bc",
"users": [ "[email protected]", "[email protected]", "[email protected]", "[email protected]" ],
"userAssignment": "Any"
}

Error while importing Octopus DevOps Project : Earlier Issue - #264

Hello the below mentioned issue is still faced while importing Octopus template. the octopus extension is already installed and even after that tried 4 to 5 times, but the same issue is faced while importing the template.

Also, I am not able to re-open this issue, hence created this new issue. Old Issue reference: #264

Error while creating build definition: The pipeline is not valid. A task is missing. The pipeline references a task called '179fac12-2402-486e-80cf-5a6a8571f7c0'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 3.*, job 'Phase_1', step 'OctopusPack1'.)

Support variable groups

Variable groups are commonly used in pipelines and current DemoGenerator doesn't support variable groups. It will be great to add the support.

Link broken

Creating custom templates link is broken.

Github import and forking not working

It's 100% possible I'm doing something wrong, but I created a template project and set Github as the source code which the Generator recognized as Github. I selected to fork it but when I navigate to Azure DevOps I don't see any source code pulled into the repo, and it looks like nothing is pointing at it.

You can see my sample template here and the import file here.

Thanks!
Robbie

Cannot get past Sign In screen - I get circular Sign in - Pick an account - Sign in - Pick an account...

I am trying to use a template and I get dumped into a circular sign in whirlpool.
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in
Page says "Sign in" -> So I sign in

Again and again and again and again and again...

  1. Start on page "Exercise - Set up your environment"
    https://docs.microsoft.com/en-us/learn/modules/manage-delivery-plans/4-set-up-environment

  2. Click on "Run a template that sets up your Azure DevOps organization."
    https://azuredevopsdemogenerator.azurewebsites.net/?name=deliveryplans

  3. I get a screen "Azure DevOps Demo Generator" "Sign in" in or "Get started for free"
    https://azuredevopsdemogenerator.azurewebsites.net/?name=deliveryplans

  4. I click on "Sign in"

I briefly see "loading identity providers"
I see "Pick an account"
I click on my account

I briefly see "loading identity providers"
I see "Pick an account"
I click on my account

I briefly see "loading identity providers"
I see "Pick an account"
I click on my account

AND ON AND ON AND ON AND ON...

I have tried FOUR different browsers

I have tried TWO different computers.

I have tried TWO accounts

I tried signing out FOUR times like this: "close your browser windows and then open a new browser and navigate to https://aka.ms/vssignout. Close this browser, open a new browser and navigate to https://aex.dev.azure.com/me"

Azure devops generator is able to construct a github raw url

When creating a new azure devops project from an existing Azure DevOps template, we pass the github raw URL or a zip file. However when a users selects the github zip file the browser does not give the github raw URL. The users has to construct it or we need to provide the link.

Ask: Azure DevOps generator is able to construct the github raw url given a zip file url.

Steps to reproduce the issue.

Sign in to Azure DevOps Generator

Create a new project, ex: “Template_001” then select your organization “.

Click “Choose template”, select Github. Past the raw url:
https://raw.githubusercontent.com/microsoft/azuredevopsgenerator/master/azuresentinel/AzureSentinel.zip

Click “Submit” then “Create Project”

An Azure DevOps project will be created in your organization

Deploy Template from Azure DevOps

So after a quick run through of the extract doc it appears that I need to deploy my template by hitting your Azure Webapp. Is it possible to not do this? I ask because at some point this project may die and the app may get removed, and I don't want to be in the position of leveraging a tool that we use to generate projects for customers when it goes away.

Can we get some more detailed documentation about how a deployment actually progresses?

generating wiki template

Hi,

I want to generate a custom project template with 1. wiki pages 2. build and release defs.
the generator generates teh build and release but not wiki. how do i do that.

thanks,
Kumar

New Project Creation Fails

The template has a secure file that gets loaded along with the project. I have added the User role permission in the security tab from the Pipeline library. I still fails with the error given below. 'Limit Job authorization scope to current job' is disabled already but not sure where to set the build job authorization to 'Project Collection'
Here is the Diagnostic Log information:
Error while creating build definition: To get sources from a different team project, on the Options tab you must set the build job authorization scope to ‘Project collection’ and ensure that the 'Limit job authorization scope to current project' pipeline setting is disabled. Error while creating release definition: User does not have permission to link the secure file 'f1ded125-faff-4760-93fe-e0abe21ab257' to the release pipeline. Make sure the user has 'User Role' on the secure file and retry the operation.

PartsUnlimited demo Test Suite is empty

Previously when using the PartsUnlimited demo generator it created a Test Suite with numerous test cases, as seen in this project.

When running the demo generator today in two different Azure DevOps accounts, it creates an empty Test Suite, as seen in this project.

The generator did not show any warnings or errors.

@dmckinstry

Project Template Not Found

The AzureDevOpsDemoGenerator failed with to create the project, Project Template not found was all that was in the log file. I was using the SFPowerScripts sample pipeline zipe: https://github.com/azlamsalam/sfpowerscripts/blob/release/SamplePipelines/sfpowerscripts-sample-pipelines.zip

and when trying to use the ZIP recommended in the online documentation (https://github.com/Accenture/sfpowerscripts/releases/download/13.8000.7/sfpowerscripts_sample_pipelines.zip) I received an error "Unable to download file, please check the provided URL" Do you know anyway to work around this issue?

Deployment error pertaining to deprecated Kubernetes API version in mhc.yaml

I am running the Azure DevOps labs on deploying MHC in AKS and ran into build issue when running the release pipeline. The error shows up in the "Create Deployments & Services in AKS" task as

"unable to recognize "/home/vsts/work/r1/a/MyHealth.AKS.build/deploy/mhc-aks.yaml": no matches for kind "Deployment" in version "apps/v1beta1""

image

, which I believe pertains to Kubernetes API "apps/v1beta1" being deprecated since 1.16. I have updated mhc.yaml to use the latest version (apps/v1) and have tried running this against Kubernetes cluster deployments running in 1.15.7 (default) as well as 1.17.0 (preview).

Update MSL Template

Update the MSL temple Automate Azure Function deployments with Azure Pipelines with given image and correct the user assignment

We ran into some issues and we are sorry about that!

Faced the below error message when creating project based on TemplateAsCode template

Error while creating release definition: Tasks with versions 'Install Terraform 0.12.18:0., Terraform : init:0., Terraform : plan:0., Terraform : apply -auto-approve:0.' are not valid for deploy job 'Deploy Terraform Config' in stage Build.

Document how to review and revoke access granted to DemoGenerator

This is a cool application :-)

This app is used to set up lab environments during MS trainings. If there is a problem with using a promo code somone may be pressed to solve it by granting access to some other subscription that belongs to that person just to be able to do the lab exercise and may wish to revoke the granted access after the training is over.

You are missing documentation explaining where to review the permissions granted to the app and how to revoke them.

Selenium Template throws error on Release Pipeline import

CredScan.
Error while creating release definition: A credential or other secret was detected in one or more plaintext variables.
Remove all secrets or convert all variable types to secure.
...
Variables (and their corresponding stage) that need to be secured: DefaultConnectionString (Release)

PartsUnlimited Empty repos

Starting today onward, the PartsUnlimited DevOps generator provide an empty repos. This has happen to me and my participants. I am sure it can be reproduce.
Capture

.NET Core 3.0?

Would you be willing to take a PR to upgrade this repo to .NET Core 3?

Template extractor cannot export release pipeline

Hello, i get following error when exporting
Object reference not set to an instance of an object. at VstsDemoBuilder.Services.ExtractorService.<>c__DisplayClass30_2.b__2(KeyValuePair2 x) in D:\a\1\s\src\VstsDemoBuilder\Services\ExtractorService.cs:line 1250 at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at VstsDemoBuilder.Services.ExtractorService.GeneralizingGetReleaseDefinitions(ProjectConfigurations appConfig) in D:\a\1\s\src\VstsDemoBuilder\Services\ExtractorService.cs:line 1250

What can be the root cause?

Templates do not work

Today I created 5 different projects and the only one that worked out of the box was Hotel360. Contoso Air, MyHealth and PartsUnlimited faild with weird errors at build or release time.

Please test the templates :)

Error msg when creating a project...

I get this error msg:

'We ran into some issues and we are sorry about that!
The log below will provide you insights into why the provisioning failed. You can raise and issue with the logs here and we will try to help you.

Click on View Diagnostics button to share logs with us

When creating a project under the Space Game - web - Agent.

Error while importing Octopus DevOps Project

Error while creating build definition: The pipeline is not valid. A task is missing. The pipeline references a task called '179fac12-2402-486e-80cf-5a6a8571f7c0'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 3.*, job 'Phase_1', step 'OctopusPack1'.)

Add a new tab "Microsoft Community"

Ask: Add a Microsoft Community tab or a similar tab when a user "choose a template" option
https://github.com/microsoft/AzureDevOpsDemoGenerator/blob/master/docs/About-Azure-DevOps-Demo-Generator/images/templateselection.png

We are currently working on an initiative to leverage on the DevOps generator to accelerate customer guidance to adopt and deploy azure services. Add the tab point to current repo https://github.com/microsoft/azuredevopsgenerator will help to scale the solution.

Unable to create new template Error while querying work items: VS403474

So I am having frustrations creating a template.

image

Getting this error

Error while querying work items: VS403474: You requested 424 work items which exceeds the limit of 200
Error while querying work items: VS403474: You requested 415 work items which exceeds the limit of 200

Whilst the project has 0 work items

image

AB#3616

broken link

team the below link (PowerShell Script) seems to be broken

image

Preview version appears to be using the wrong templates

I'm trying to use the demo generator for the learning module "Implement a code workflow in your build pipeline by using Git and GitHub" ( https://docs.microsoft.com/en-gb/learn/modules/implement-code-workflow/3-set-up-environment ), following the instructions in unit.

The first time, rather than generating the matching demo, it generated a demo which dragged SmartHotel360 and PublicWeb into Azure Repos. (The learning module in question shouldn't be putting anything into Azure Repos, it uses GitHub.) In addition to that, the work items & boards expected to be added for the unit weren't added.

I deleted the generated demo project, and tried again with a slightly different project name, this time ensuring that I specifically selected the relevant template (also named "Implement a code workflow in your build pipeline using Git and GitHub") rather than relying on it being automatically selected. The demo generation ran with the wrong template again though, this time importing AKS into Azure Repos. It also failed with an error:

Error while Setting Epic Settings: VS402488: One or more of the backlog levels specified in the backlog visibilities is not valid. Error while updating board column TF401501: The board does not exist.

As the site says it'll revert away from the preview version in a few hours I'll just wait until tomorrow before trying again.

Not able to create the project properly

The template breaks and is not able to create the project with board items and pipeline. While continuing to learn via az400 learning paths, after last module, I deleted the earlier project and now I can not create a new one with this error:

Error while creating build definition: Unable to configure a service on the selected GitHub repository. This is likely caused by not having the necessary permission to manage hooks for the selected repository.

Unable to create project

Unable to create project. It stops in between and nothing happens after wards. It just sits there.

Support Task Groups

Task groups are commonly used in pipelines for common and repeated groups of tasks. Current DemoGenerator doesn't support Task Groups. It will be great to add the support.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.