Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
5

Simply keep pushing stuff between the repositories. Git pushes are designed for exactly that. So, if origin is the old repository, and newis the new one, and you want to move new stuff in the master branch from origin to new, then, locally: git checkout master && git reset --hard # to clean up any local changes, optional git pull origin git ...


3

Azure DevOps supports artifact filters for each environment. Below is screenshot of how to enable the feature.


3

If you use python and GitLab like I do, you can include a test coverage report in your CI/CD pipeline. You pip install coverage and then just run coverage in your pipeline. The following is an excerpt from an AWS lambda pipeline, but you should be able to find something similar for your environment: script: - pip install -r ./awslambda/requirements.txt ...


1

You can use sonarqube. It does not generate its own test coverage report, but re-uses the coverage file of your existing pipelines.


1

I found the solution. As build artifact you need to publish, firebase.json, .firebaserc and whole functions folder including package.json (without node_modules) Then in release using sudo firebase deploy --token $(firebase-token) --project $(firebase-project) --only functions --force


1

I would look into Azure Functions. Create a gate trigger and enable azure function after a successful release. References: https://docs.microsoft.com/en-us/azure/devops/repos/git/create-pr-status-server-with-azure-functions?view=azure-devops


1

The service hook will fire as part of the notifications process. You can suppress all notifications by setting the URI parameter suppressNotifications to true. An example request URI might be: PATCH https://dev.azure.com/fabrikam/_apis/wit/workitems/{id}?suppressNotifications=true&api-version=5.0 See the work item update API documentation for more ...


1

You can separate the steps, especially as it would let you do divide the work among different agents. You can also leave them in a single agent if you wish. The primary advantage I see is leveraging different pools for different sets of work. With releases last I checked variable scope was limited (as of 2018) to the "phase". I wouldn't necessarily ...


1

Do not trigger Build 2 automatically from Build 1. Instead add a last step to Release 1 to queue Build 2. There are a few ways to do it, e.g. https://stackoverflow.com/questions/52821204/how-to-queue-build-pipeline-as-task-from-release-pipeline


1

You may try TFS Aggregator (Web Service). If you or your team have experience with C#, you may try the console project that I`ve developed: Automation of state changing.


1

Activity Logs can only able to show the resource level logs like creating a resources,deleting a resources modify the SKU of the resources etc, Assuming from your question you are saying web app deployment from azure devops,which is more like a deployment of code to an existing webapp which will not be covered by activity logs. You need to go to that azure ...


1

This is a general issue with react apps that is independent of what CI/CD stack you use that is discussed at https://stackoverflow.com/questions/49975735/rendering-an-environment-variable-to-the-browser-in-a-react-js-redux-production With the Azure family of CI/CD products it is expected you create a release artefact then release that same artefact into ...


1

Since on-premise TFS and the newly renamed Azure DevOps Server 2019 still have the concept of collections, which is the highest level of separation of data you can have (separate physical databases), you'd need to treat a code repo in Collection 1 as an external repository rather than try to discover it as a known internal repository. You can do this in the ...


1

Openstack is something you might install to setup an self-service IaaS platform that manages VMs, storage and network. Whereas the top three cloud providers have written their own proprietary IaaS platforms a small cloud provider, or a large company, cannot feasibly code there own cloud-like management software, so they might setup their “private cloud” ...


1

It can happen that your next DevOps job finds you if you have a well elaborated LinkedIn profile and patient enough to deal with and filter/process requests. Though, my market observations are that many offerings are like: DevOps Engineers seen as "full stack developer 2.0", that is as an addon to specific developer skill set you can also setup automation ...


1

Understand that the term DevOps refers to both a Strategies and Tactics. For instance, the strategies of Continuous deployment and Consistent development/production environment. The tactics may be using Kubernetics for deployment to the cluster with Docker for development/production environment. With that said, a DevOps shop will likely use Kubernetics and ...


1

@Shayki's answer was a large portion of what I was looking for (thanks!), but I was eventually able to figure out a solution that met all of my requirements. It involves a less than ideal use of the Release Description to propagate state between jobs. The updated flow diagram looks like this: I was originally thinking of the conditional flow as an if else ...


1

Maybe is not a full resolution for you, but you can start with this: After the "Critical Task" add an "Agentless job" Add a "Manual Intervention" task In the "Additional options" in the job specify "Run this job - Only when a previous job has failed"


1

You can add a post deployment aprroval to the dev environment that the dev team has to approve. And then you can add a pre deployment approval to the QA environment that the QA team has to approve. Then a release will be automatically triggered for the QA environment after the dev team has approved the post deployment approval on the dev environment. But it ...


1

Depends on where the source data is when considering how you want to initialise the database. If the data pre-exists in another SQL-Azure Database you could create a BACPAC and export the file to a blob store in Azure. Then using PowerShell in your pipeline import the data into your created database. Bare in mind this will be time costly dependent on the ...


1

According to this page, the hosted agent supports NuGet, npm, and Maven. It looks like it might also support pip. You could install cget using pip and then use cget to install your package. A bit of a roundabout way, but it might do what you need. "C:\Program Files\Python36\Scripts\pip" install cget cget install nlohmann/json I don't have a way to test ...


1

Only put a library in a separate repo when it is used in two different repos. If that is not the case then put the code in the same repo. Otherwise one could run into the anti-pattern nanoservices.


1

I'm using https://docs.gitlab.com/ee/workflow/repository_mirroring.html#pushing-to-a-remote-repository to push everything into a repository in VSTS, easily done via access token with the right permissions.


Only top voted, non community-wiki answers of a minimum length are eligible