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;
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
add a comment |
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
Did you manage to find a decent solution?
– GFoley83
Mar 11 at 23:21
add a comment |
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
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
azure
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
add a comment |
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
add a comment |
3 Answers
3
active
oldest
votes
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.
add a comment |
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
add a comment |
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 14 '18 at 22:56
John MahowaldJohn Mahowald
8,6681713
8,6681713
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Feb 14 at 19:29
DanDan
211
211
add a comment |
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Did you manage to find a decent solution?
– GFoley83
Mar 11 at 23:21