Questions tagged [azure-devops]
The azure-devops tag has no usage guidance.
66
questions
0
votes
0
answers
3
views
How to run web server docker container in Azure devops pipeline and HTTP access it?
Please help understand the cause and solution for the issue in Azure Devops pipeline.
Trying to run a docker container which runs a web server inside inside a Azure devops pipeline as a step.
docker ...
0
votes
0
answers
37
views
Azure Devops -- Link files in one organization to work item (task) in a different organization
We have an on-premises Azure Devops Server running Azure Devops 2020.
We would like to link files in one organization (A) to work item (Agile task) in a different organization (B).
For example, I may ...
0
votes
0
answers
13
views
How to send mail when a node is down in azure devops?
Have task on regarding agent nodes
✓Script will run on certain nodes not all nodes
✓Will get mail when node is down
✓Print node name and ip address
Could anyone please suggest how to achieve this.
0
votes
0
answers
12
views
Prevent Azure from swapping VMSS release while VM is still booting up
I use Azure DevOps to release a new VM into a VMSS.
When I release the update, Azure swaps the images while the PHP-FPM process is still booting up. This results in 502 Bad Gateway errors for ...
0
votes
0
answers
8
views
How to automate complete azure kubernetes environment?
We have azure kubernetes cluster and database managed service in postgres azure flexible servers.
Created terraform templates to automate environment setup. But there is no option in azure devops to ...
0
votes
0
answers
21
views
How do I run an app from the command line during an Azure pipeline that accesses Key Vault?
I have a UI automation testing tool that runs from the command line. It uses Azure Key Vault via SecretClient in the source code. This works great for QA people who are running it locally and can log ...
0
votes
0
answers
8
views
How to create new cluster each time from azure pipeline?
Let's say I have a template for aks cluster. Is there anyway we can set in azure devops to create a pipeline, which users will run whenever they want a new cluster and get a new cluster for each run? ...
0
votes
1
answer
33
views
Expose specific parts of the Backlog and let users report bugs in Azure DevOps
Posting this here since it got closed on stackoverflow:
We are working with Azure DevOps to organize our development process. Recently we started to additionally develop a fork of our standard product ...
0
votes
0
answers
14
views
Kubectl task not importing configmaps if spaces are there, how to fix that?
I am trying to import a certificate key as config map using the kubectl/kuberntes task in release pipeline.
It is not able to pick the file if it has spaces in it.
Even if I surround them with double ...
0
votes
1
answer
143
views
How to create a service connection with access to all namesapces in azure kubernetes pipeline?
I tried to create a service connection to azure kubernetes cluster, but it is asking to provide namespace mandatory.
So I provided one namespace and set the cluster admin option selected.
And in the ...
0
votes
0
answers
306
views
I m trying to use mysqldump but getting error mysqldump: Got error: 2003: Can't connect to MySQL server on host(110) when trying to connect
Here is my sam template for taking database backup
trigger:
- none
pool:
vmImage: ubuntu-latest
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script:...
0
votes
1
answer
843
views
How to send notifications to teams using azure devops pipeline?
I saw there is a teams app for azure pipelines and while adding that it is asking for complete pipeline access to the group we add to.
Instead of using this, I just want to send notification to a ...
0
votes
0
answers
30
views
Unable to create pipeline even having write permissions on github,how to fix that?
I have write permissions to the repository, and I can create branches, create pull requests and even merge them also.
But, when creating pipeline on azure, I get this error:
What I need to add more ...
1
vote
1
answer
484
views
How to manage pipelines in multiple branches, in azure devops?
Let's say I have branch fetaure1, where there is pipeline file.
The trigger will be like this.
trigger:
- feature1
For development purpose, I created a new branch from it say (feature1_deveoper1)
...
1
vote
0
answers
104
views
How to build maven project from another folder in azure devops pipeline?
In github actions, we can set this using
- name: Build with Maven
working-directory: ./VaultService
run: mvn clean package --file pom.xml
env:
CI: false
But there is no working-directory ...
2
votes
0
answers
478
views
How to checkout a branch from azure devops pipeline?
I kept trigger to cloud_singlesignon branch.
But my pipeline saved to azure-pipelines and the default branch to the repo is master.
But the checkout not happening from cloud_singlesignon.
I observed, ...
1
vote
0
answers
61
views
How to install custom version of maven in azure devops pipleine?
I have installed adopt openjdk 16 using the task below.
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script: |
wget https://github.com/adoptium/temurin16-binaries/...
1
vote
1
answer
441
views
How to tag docker image with git commit code short id, in azure devops?
I saw few links where I can tag my docker image using ${Build.SourceVersion} in azure devops pipeline.
But it is using the complete ID of the commit.
But I want to use only the short ID.
I mean this (...
3
votes
2
answers
417
views
How to keep pipeline files in a separate repository for azure devops pipeline?
Is there any way to keep the pipeline file separately in a different repo than the one in source code?
So that, we can maintain all the pipelines related data in a separate repository but the pipeline ...
0
votes
0
answers
27
views
Can the Release pipeline reference the target's environment vars in places where pipeline vars are commonly used, to vary values per target?
In the tasks of an Azure DevOps pipeline Release, can I reference Environment variables from the registered deployment target in my release tasks where I would normally use a pipeline variable? The ...
0
votes
0
answers
35
views
How to provide access to a storage container in azure pipeline
I have created a storage account and set in private but kept accessible to all networks.
I am able to upload files there from azure portal with my account and created a container also there and ...
0
votes
0
answers
31
views
Azure Devops Pipeline Trigger based on branch
My yaml pipeline is working fine which perform terraform install, init, validate, plan and apply if the changes are commit to main branch.
Here, i am trying to execute the terraform apply only if the ...
0
votes
0
answers
21
views
.NET runtime missing after it used to exist
We manage deployment of our applications using Azure Devops.
We have an application which was deployed to our UAT environment back on 9/14. It was successfully built and released within Devops, and it ...
0
votes
0
answers
66
views
Azure DevOps Server 2020.1 returning blank page
A few days ago I installed Azure DevOps Server 2020.1 on my server which is running WS2019 os. My problem is that after creating port forwarding rule on portmap.io and connecting to the link that ...
0
votes
1
answer
56
views
Azure Devops Server 2019 Backup testing
I have created backups using Azure DevOps server 2019 so I want to test the integrity of those backups. by testing I mean check that the backups are valid. I can't check them manually because of the ...
0
votes
1
answer
32
views
Increase disk size on Microsoft Azure
I am new in Microsoft Azure. I saw the Azure docs and there's showing that we can only increase the disk size while the virtual machine de-allocate/stopped. But for the production it is not possible ...
0
votes
0
answers
117
views
ansible.windows.win_package pass inventory machine details to msi arguments
I'm trying to install MSI file with the help of ansible.windows.win_package module
One of the arguments needs to hold the appserver machine name
Trying the following syntax - didn't work (I shrink ...
0
votes
0
answers
12
views
Debugging user configuration on Azure Dev Ops
I've recently had issues where I'm trying to give a person a certain set of permissions on Azure DevOps. Is there a way that I can either:
Ascertain exactly what that user has access to in a single ...
0
votes
1
answer
510
views
ansible doesn't find the role mentioned in the playbook
I'm pretty new with Ansible so I might configured things wrong
[I have a Docker container running Ansible service in it
I have an Ansible repository that include the Ansible files (this is a .Git ...
0
votes
1
answer
267
views
What are common variables to mention in an inventory ansible yaml file?
I try to build a pipe-line to install my product.
My product is installed in a lab with at least 8 machines (on-prem lab).
I have several labs on-prem, several labs on cloud
Each machine has a role, ...
0
votes
1
answer
74
views
Error at executing Azure Pipeline for a .Net Desktop App - Azure DevOps
I'm creating my first Pipeline to build a .NET Desktop application. I have added the needed task to my YML file but I'm getting the following error, regarding an assembly that may be missing or not ...
1
vote
1
answer
1k
views
azure pipeline getting failed with below Failed to acquire a token Kubernetes Task
One of the stage in my azure pipeline getting failed with below error "Failed to acquire a token: failed acquiring new token: waiting for device code authentication to complete: autorest/adal/...
1
vote
1
answer
1k
views
Azure DevOps: Maven is not installed on agent
I have an Azure Pipeline that is meant to install Java 16 and the run Maven package on my repository. The pipeline looks like this:
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: ...
-1
votes
1
answer
2k
views
Agent job Failed | ##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant,
When i running the pipeline job in azredevops it's getting the below error., Please check and provide us the grant permissions.
ERROR: ##[error]No hosted parallelism has been purchased or granted. To ...
0
votes
0
answers
274
views
Azure: When Deploy FunctionApp to slot -> Error: Package deployment using ZIP Deploy failed. Refer logs for more details
I'm using Azure DevOps and their CI/CD pipelines.
When I deploy my Windows FunctionApp to a slot I get this error:
2021-05-04T13:10:14.0501876Z ##[error]Failed to deploy web package to App Service.
...
2
votes
1
answer
375
views
Install not signed driver in Windows 2019 with no prompt
I want to install the not signed driver in the Azure DevOps pipeline (windows-2019 image).
Driver is in the form of the .inf file. On the local machine i am using the following command:
pnputil -i -a ...
0
votes
2
answers
47
views
Does the Infrastructure as Code-concept only really work for (Azure) managed services and not IAAS?
I'm coming from a Microsoft Azure perspective here, and looking to move from manually created/partially scripted infra-setup with VM's to full IaC using Azure DevOps as a single repo for code, infra ...
1
vote
2
answers
3k
views
No admin/elevated privileges in PowerShell on Azure VM
I have set up an Azure VM with Windows 10 Pro for our custom DevOps build Agent. The user that I've created is Administrator and is in the Administrators group too.
However, if I do:
RDP to VM via ...
0
votes
1
answer
401
views
Add Public Ip to Azure Scale Set VM
I've deployed Azure VM Scale set and want to attach a separate public IP address to SS VM. How can I perform it?
1
vote
1
answer
83
views
The need for Azure Firewall
I just need some help to figure out if Azure Firewall is actually needed for the below architecture. Just to set some context, we are using a micro-services based architecture deployed in AKS. Apart ...
0
votes
1
answer
66
views
login failed in initializing the provider
I have installed SQL Server on a server(lets say Server1) which is joined to a domain in AD(lets say domain01), and I have another server(lets say server2) which is joined to another domaim(lets say ...
0
votes
1
answer
194
views
Azure release pipeline: synce files with commit
Im using a Azure VM for the first time (linux, Ubuntu 18) and Ive been tasked with setting a pipeline/release for continuous development for a simple website
Its supposed to work like this: when ...
2
votes
0
answers
342
views
Cannot connect self-hosted Linux VM to Azure DevOps
I am trying to set up a docker deployment process with Azure DevOps using a self-hosted Linux VM as a deployment target. It seems that I must install the AzurePipelines agent on the target Linux VM ...
4
votes
0
answers
749
views
Not able to run Azure Data Pipeline
I am trying to implement my first MLOps on Microsoft Azure. I am following their official document here:
MlOps using Azure ML and Azure pipelines
I have followed all their steps till Data pipeline. ...
0
votes
1
answer
479
views
Not able to connect to VM in Powershell on target machine task devops
i am new to devops, i have created a release pipeline containing task 'Powershell on target machine'. This task fails with below error :
Unable to create pssession. Error: 'Connecting to remote server ...
1
vote
1
answer
772
views
"Resource is not in the state changeSetCreateComplete" when deploying to AWS with CloudFormation from Azure DevOps
I'm deploying an application to AWS using the CloudFormation plugin for Azure DevOps.
It works really well, and will automatically update things that need changing, leaving other things alone. I've ...
0
votes
1
answer
219
views
Read from Azure DevOps Repo from App Registration
Is it possible to grant an azure app registration access to read from an azure devops git repository? If so how?
Incidentally, Azure and Azure Devops have been linked via Active Directory, so they ...
0
votes
1
answer
129
views
Migrate to Azure DevOps
My Dev team has created an Azure DevOPS on their own personal account and want to move it to our centralized Azure Tenant. I have access to the the Azure Tenant where I wish to host the devops. note ...
0
votes
1
answer
147
views
TFS 2015 has 8 collections need to migrated to Azure devops
We have a 2015 TFS server with 8 collections to be migrated to Azure devops.
I have tried Microsoft Azure devops migration tool but it is considering each collection as single organization but we want ...
1
vote
1
answer
28
views
How to activate an asp.net core website /api after deplyment with devops releases?
I'm deploying an asp.net core web app to various test servers whenever updated code is pushed. It works well.
I would however like to call an endpoint on the deployed web app after release to verify ...