we hope using just local server not cloud on VSTS
can we use it?
Actually, VSTS (Service) itself is a Cloud-based service. VSTS comes by default with some hosted agents,
Those hosted agented are given by Microsoft itself, where don't need to maintain/configure the server agent by yourself.
However, If you really want your own dedicated agent for build/release, you can install that by following this tutorial
Related
I have a Git repository on the Azure Dev-ops server and use Jenkins for continuous integration build.
I want to know that how a specific branch like master Jenkins can automatically run the build and then notify the user via a shell log that the build was successful or not?
Microsoft seems to have the thing pretty well documented, Create a service hook for Azure DevOps Services and TFS with Jenkins
Set up the Jenkins job, set up the TFS / Azure DrevOps ServiceHook, off to the races.
We have it working fine for Jenkins 2.x and AzureDevOps on-prem. Best to use service accounts with limited necessary permissions on both sides.
Currently my On-premise company is using Team Foundation Server (TFS), it is doing multiple things like work tracking and build.
We brought Bitbucket to separate code repository, we still want to continue using TFS for work tracking. We are looking for any (opensource project examples) connectors or integrators or plugins somewhat similar to connect between Bitbucket & TFS . If there is any opensource project examples to connect these somewhat similar will try to tweak it.
Azure Pipelines, Azure DevOps Server, and TFS integrate with a number of version control systems. When you use any of these version control systems, you can configure a pipeline to build, test, and deploy your application. Please check Supported source repositories of Azure DevOps Server/TFS.
Bitbucket Cloud repository type is supported in Azure Pipelines, but not in on-premise Azure DevOps Server/TFS. As a workaround, you can use the Other Git or External Git repository type in on-premise Azure DevOps Server/TFS, to build repositories in Bitbucket.
I have used tfs agent to communicate dev,test & prod in which i pushed the code using the agents. Is there any other way to do the same as RASPI 4 is not supporting TFS Agent.
You could use a hosted agent to run a custom script if your PI was had a publicly accessible address. FTP is also an option depending on what you need your deployment to do. Make sure you take care of your secrets(SSH key, passwords) and properly secure your PI if you make it publically addressable.
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
Another option would be to make a custom script that runs on the PI and pulls down data from Azure Dev Ops using the CLI or Web API. It wouldn't be fancy but your PI wouldn't need to be publically addressable.
https://learn.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1
https://learn.microsoft.com/en-us/azure/devops/cli/?view=azure-devops
I have a .NET core web API and Angular 7 app that I need to deploy to multiple client servers, potentially running a plethora of different OS setups.
Dockerising the whole app seems like the best way to handle this, so I can ensure that it all works wherever it goes.
My question is on my understanding of Kubernetes and the distribution of the application. We use Azure Dev Ops for build pipelines, so if I'm correct would it work as follows:
1) Azure Dev Ops builds and deploys the image as a Docker container.
2) Kubernetes could realise there is a new version of the docker image and push this around all of the different client servers?
3) Client specific app settings could be handled by Kubernetes secrets.
Is that a reasonable setup? Have I missed anything? And are there any recommendations on setup/guides I can follow to get started.
Thanks in advance, James
Azure DevOps will perform the CI part of your pipeline. Once it is completed, Azure DevOps will push images to ACR. CD part should be done either directly from Azure DevOps (You may have to install a private agent on your on-prem servers & configure firewall etc) or Kubernetes native CD tools such as Spinnaker or Jenkins-X. Secrets should be kept in Kubernetes secrets.
I'm using Jenkins for Continuous Integration tool with DevOps tools like JIRA, Confluence, Crowd, SonarQube, Hygieia, etc.
But the environments are changed to deploy microservices to PaaS.
So I got the issues to resolve below.
Deployment Monitoring
to view which application is deployed to what instance with which version.
Canary Deployment
deploy to 1 instance and then deploy to all instances(after manual approval or auto).
Deploy to Cloud Foundry
more specifically IBM Bluemix
So I examined Spinnaker but I found that the cloud driver for CF is no longer maintained.
https://github.com/spinnaker/clouddriver/pull/1749
Do you know another open-sourced CD tool?
take a look at concourse : https://concourse-ci.org/
Its open source, you can us it to deploy either application or cloud foundry. It's a central tool for DevOps. Basically you have pipelines that can trigger tasks (manually or automatically). You have some already created ressources (github connector, etc ...) but you can also create your own tasks. Its running docker containers as workers to execute tasks/jobs.
Best,
I find it relatively easy to integrate a CD server to any PaaS provider. You will have to either use a plugin or create your own integration.
My top two recommendations would be gitlab or Bamboo in that order.
Given your preference for Jira, you might prefer Bamboo as it has very good integration with the rest of that Atlassian tools but it is not open source.