0

When working on the task we create git branch (AzureDevOps). In this branch we modify code in VS and can run web application on localhost. When it's done we commit changes and create PR. To test it other developers can download this branch and test it. After PR approving branch is merged to dev branch and it trigger AzureDevops pipeline which deploy application to Azure App Service. Then other people can test it by accesing URL.

But we need other people who don't have VS installed test application before PR is completed and deployed (for example QA or BA people).

Is it possible to get this application running from branch without publishing?

Can AzureDevops provide such functionality? Maybe creating VM or container behing the scene?

Btw, we can do something like this by modifying pipeline by changing source from dev branch to some particualr branch, but it is not very convinient to do this every time.

2
  • You're looking for ephemeral support which is sort of custom based on tooling. I.e., see how we do it for any helm projects here (and any project can be converted to helm) - worklifenotes.com/2023/04/19/…
    – taleodor
    May 1, 2023 at 12:38
  • 2
    "But we need other people who don't have VS installed test application before PR is completed and deployed (for example QA or BA people)." this is the challenge CI/CD attempts to solve. Merge your working code behind a feature flag and then let QA and BA people turn on feature flag to test. No amount of pre-merge ephemeral environments will prove what will happen in prod like prod will, but you sure can burn up time and money setting them up and tearing them down
    – erik258
    May 2, 2023 at 15:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.