How to Azure DevOps pull requests create a temporary environment The 2019 Stack Overflow Developer Survey Results Are InARR reverse proxy to Azure Website inside Azure Cloud ServiceChange Azure VM Temporary Storage sizeEstimating costing for entities on Azure VMsAzure create local site with resource managerAzure web application - view slowest requests?Custom DNS server for Azure Staging environmentAzure App Service Deployment not closing Node.js WebSockets connectionAzure Create Alert via APIError code 409 when using App Service Editor if deployed using Azure DevOps

Is there any way to tell whether the shot is going to hit you or not?

Is there a symbol for a right arrow with a square in the middle?

How to notate time signature switching consistently every measure

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

Deal with toxic manager when you can't quit

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

I see my dog run

Identify boardgame from Big movie

Where to refill my bottle in India?

Can someone be penalized for an "unlawful" act if no penalty is specified?

Is bread bad for ducks?

Are there any other methods to apply to solving simultaneous equations?

Worn-tile Scrabble

Button changing it's text & action. Good or terrible?

Resizing object distorts it (Illustrator CC 2018)

Why isn't airport relocation done gradually?

One word riddle: Vowel in the middle

How are circuits which use complex ICs normally simulated?

Pokemon Turn Based battle (Python)

Delete all lines which don't have n characters before delimiter

What does "fetching by region is not available for SAM files" means?

Is an up-to-date browser secure on an out-of-date OS?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Apparent duplicates between Haynes service instructions and MOT



How to Azure DevOps pull requests create a temporary environment



The 2019 Stack Overflow Developer Survey Results Are InARR reverse proxy to Azure Website inside Azure Cloud ServiceChange Azure VM Temporary Storage sizeEstimating costing for entities on Azure VMsAzure create local site with resource managerAzure web application - view slowest requests?Custom DNS server for Azure Staging environmentAzure App Service Deployment not closing Node.js WebSockets connectionAzure Create Alert via APIError code 409 when using App Service Editor if deployed using Azure DevOps



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















As a reasonably sized dev team, our pull requests are all deploying to the same dev environment in Azure. I could add a terraform or Azure CLI script and a build step to try to create the infrastructure, then deploy out the app but that seems a bit clunky and handmade for what seems like an obvious need. I think the process changes a bit if we can switch to .NET Core and use the added pipeline capability there.



How can I have a pull request in Azure DevOps create a temporary environment that lives for the life of the pull request or until the build expires? I'm looking for something similar to Heroku's Review App. I would like to know how to do this both for .NET Core, using the pipelines, as well as original recipe .NET.



Thank you!










share|improve this question






















  • Did you manage to find a decent solution?

    – GFoley83
    Mar 11 at 23:21

















3















As a reasonably sized dev team, our pull requests are all deploying to the same dev environment in Azure. I could add a terraform or Azure CLI script and a build step to try to create the infrastructure, then deploy out the app but that seems a bit clunky and handmade for what seems like an obvious need. I think the process changes a bit if we can switch to .NET Core and use the added pipeline capability there.



How can I have a pull request in Azure DevOps create a temporary environment that lives for the life of the pull request or until the build expires? I'm looking for something similar to Heroku's Review App. I would like to know how to do this both for .NET Core, using the pipelines, as well as original recipe .NET.



Thank you!










share|improve this question






















  • Did you manage to find a decent solution?

    – GFoley83
    Mar 11 at 23:21













3












3








3








As a reasonably sized dev team, our pull requests are all deploying to the same dev environment in Azure. I could add a terraform or Azure CLI script and a build step to try to create the infrastructure, then deploy out the app but that seems a bit clunky and handmade for what seems like an obvious need. I think the process changes a bit if we can switch to .NET Core and use the added pipeline capability there.



How can I have a pull request in Azure DevOps create a temporary environment that lives for the life of the pull request or until the build expires? I'm looking for something similar to Heroku's Review App. I would like to know how to do this both for .NET Core, using the pipelines, as well as original recipe .NET.



Thank you!










share|improve this question














As a reasonably sized dev team, our pull requests are all deploying to the same dev environment in Azure. I could add a terraform or Azure CLI script and a build step to try to create the infrastructure, then deploy out the app but that seems a bit clunky and handmade for what seems like an obvious need. I think the process changes a bit if we can switch to .NET Core and use the added pipeline capability there.



How can I have a pull request in Azure DevOps create a temporary environment that lives for the life of the pull request or until the build expires? I'm looking for something similar to Heroku's Review App. I would like to know how to do this both for .NET Core, using the pipelines, as well as original recipe .NET.



Thank you!







azure






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 14 '18 at 18:07









Dan CsharpsterDan Csharpster

1235




1235












  • Did you manage to find a decent solution?

    – GFoley83
    Mar 11 at 23:21

















  • Did you manage to find a decent solution?

    – GFoley83
    Mar 11 at 23:21
















Did you manage to find a decent solution?

– GFoley83
Mar 11 at 23:21





Did you manage to find a decent solution?

– GFoley83
Mar 11 at 23:21










3 Answers
3






active

oldest

votes


















3














With some scripting in your CI/CD pipeline.



For building, consider Microsoft hosted build agents. Already one use VMs.



For a dynamically created test environment, you will probably have to put together a few pieces. Like pull request triggers in a release pipeline that has an Azure ARM template that deploys the Pipelines agent. Cleaning up might need to get a bit creative, but presumably you can have a stage trigger delete the environment.






share|improve this answer






























    2














    Consider Azure Dev Spaces. Developers can spin up ephemeral environments from visual studio with randomised public URL as easy as running on localhost. Maybe this could fulfill your needs or if not, you might be able to automate spinning up Dev Spaces from the build pipeline used by your check-in gate






    share|improve this answer






























      0














      there is no way of doing this, you might be able to get away with Azure web app deployment slots (if you use webapps). but generally speaking you need to have your infrastructure defined as code.






      share|improve this answer























      • I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

        – Dan Csharpster
        Dec 17 '18 at 22:33











      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "2"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f944414%2fhow-to-azure-devops-pull-requests-create-a-temporary-environment%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      With some scripting in your CI/CD pipeline.



      For building, consider Microsoft hosted build agents. Already one use VMs.



      For a dynamically created test environment, you will probably have to put together a few pieces. Like pull request triggers in a release pipeline that has an Azure ARM template that deploys the Pipelines agent. Cleaning up might need to get a bit creative, but presumably you can have a stage trigger delete the environment.






      share|improve this answer



























        3














        With some scripting in your CI/CD pipeline.



        For building, consider Microsoft hosted build agents. Already one use VMs.



        For a dynamically created test environment, you will probably have to put together a few pieces. Like pull request triggers in a release pipeline that has an Azure ARM template that deploys the Pipelines agent. Cleaning up might need to get a bit creative, but presumably you can have a stage trigger delete the environment.






        share|improve this answer

























          3












          3








          3







          With some scripting in your CI/CD pipeline.



          For building, consider Microsoft hosted build agents. Already one use VMs.



          For a dynamically created test environment, you will probably have to put together a few pieces. Like pull request triggers in a release pipeline that has an Azure ARM template that deploys the Pipelines agent. Cleaning up might need to get a bit creative, but presumably you can have a stage trigger delete the environment.






          share|improve this answer













          With some scripting in your CI/CD pipeline.



          For building, consider Microsoft hosted build agents. Already one use VMs.



          For a dynamically created test environment, you will probably have to put together a few pieces. Like pull request triggers in a release pipeline that has an Azure ARM template that deploys the Pipelines agent. Cleaning up might need to get a bit creative, but presumably you can have a stage trigger delete the environment.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 14 '18 at 22:56









          John MahowaldJohn Mahowald

          8,6681713




          8,6681713























              2














              Consider Azure Dev Spaces. Developers can spin up ephemeral environments from visual studio with randomised public URL as easy as running on localhost. Maybe this could fulfill your needs or if not, you might be able to automate spinning up Dev Spaces from the build pipeline used by your check-in gate






              share|improve this answer



























                2














                Consider Azure Dev Spaces. Developers can spin up ephemeral environments from visual studio with randomised public URL as easy as running on localhost. Maybe this could fulfill your needs or if not, you might be able to automate spinning up Dev Spaces from the build pipeline used by your check-in gate






                share|improve this answer

























                  2












                  2








                  2







                  Consider Azure Dev Spaces. Developers can spin up ephemeral environments from visual studio with randomised public URL as easy as running on localhost. Maybe this could fulfill your needs or if not, you might be able to automate spinning up Dev Spaces from the build pipeline used by your check-in gate






                  share|improve this answer













                  Consider Azure Dev Spaces. Developers can spin up ephemeral environments from visual studio with randomised public URL as easy as running on localhost. Maybe this could fulfill your needs or if not, you might be able to automate spinning up Dev Spaces from the build pipeline used by your check-in gate







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 14 at 19:29









                  DanDan

                  211




                  211





















                      0














                      there is no way of doing this, you might be able to get away with Azure web app deployment slots (if you use webapps). but generally speaking you need to have your infrastructure defined as code.






                      share|improve this answer























                      • I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

                        – Dan Csharpster
                        Dec 17 '18 at 22:33















                      0














                      there is no way of doing this, you might be able to get away with Azure web app deployment slots (if you use webapps). but generally speaking you need to have your infrastructure defined as code.






                      share|improve this answer























                      • I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

                        – Dan Csharpster
                        Dec 17 '18 at 22:33













                      0












                      0








                      0







                      there is no way of doing this, you might be able to get away with Azure web app deployment slots (if you use webapps). but generally speaking you need to have your infrastructure defined as code.






                      share|improve this answer













                      there is no way of doing this, you might be able to get away with Azure web app deployment slots (if you use webapps). but generally speaking you need to have your infrastructure defined as code.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Dec 14 '18 at 21:24









                      4c74356b414c74356b41

                      550210




                      550210












                      • I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

                        – Dan Csharpster
                        Dec 17 '18 at 22:33

















                      • I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

                        – Dan Csharpster
                        Dec 17 '18 at 22:33
















                      I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

                      – Dan Csharpster
                      Dec 17 '18 at 22:33





                      I feel this is definitely doable via custom solution but I was just wondering if there was an 'out of the box' way of doing it. I will create a POC and return here to share it.

                      – Dan Csharpster
                      Dec 17 '18 at 22:33

















                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Server Fault!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f944414%2fhow-to-azure-devops-pull-requests-create-a-temporary-environment%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                      What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                      Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos