Questions tagged [azure-devops]
The azure-devops tag has no usage guidance.
70
questions
0
votes
0
answers
61
views
DevOps Pipeline MacOS problems with speech: say command can lock process for 1 hour
We are working on an automated process for testing the aria-at design patterns with various screen readers. The process runs a special "voice" which can capture speech events from the ...
0
votes
0
answers
47
views
Using application Service Principals to access Azure DevOps
I followed the procedure as outlined in https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/service-principal-managed-identity?view=azure-devops.
I created a service ...
1
vote
1
answer
103
views
signtool.exe hangs on "Submitting digest for signing..." when running in Azure devops
Using signtool.exe with an "Azure Trusted Signing Account" in Azure devops scripts, the process hangs at:
Submitting digest for signing...
This is the PowerShell script block we use at ...
0
votes
0
answers
15
views
azure devops pipeline php laravel yaml PDOException: SQLSTATE[HY000] [2002] Connection refused
PDOException: SQLSTATE[HY000] [2002] Connection refused with 15 error like ,I am already hosting my website on Azure and it is working fine. However, I need to add one CID pipeline using Azure Devops ...
0
votes
0
answers
21
views
Secrets management for Azure DevOps IAC
I have an Azure Devops Infrastructure As Code (IAC) allowing users to deploy virtual machines using terraform pipelines and to access them using SSH or RDP.
For the moment, the process is the ...
0
votes
0
answers
52
views
Using PAT to authenticate against AzureDevops Git in AzApi Terraform Provider
I am trying to use the AzApi Terraform Provider to install fluxcd on a k8s cluster running on Azure Cloud.
Fluxcd should then look for changes in a AzureDevops Git Repo.
In the AzApi Terraform Flux ...
0
votes
0
answers
40
views
Deployment Automation, Script incompatibility SSMS and sqlcmd
I need your experienced advice on automation. I am proficient in Linux, and we are attempting to automate the deployment of Microsoft SQL databases using sqlcmd. The problem arises when using SQL ...
0
votes
0
answers
189
views
Deploying Typescript + Angular app to Azure App Service via Azure Devops pipeline (ng modue not found)
Got this typescript + angular app that works great locally.
Trying to set up a deployment pipeline on Azure Devops that builds and releases to App Service (linux nodejs webapp).
The plumbing works, ...
0
votes
0
answers
19
views
SPN not working in azdevOps when creating b2c tenant in azure
When creating a new b2c tenant using automation from azuredevOps , SPN doesn;t work..
Only option is to use endpoint authenticated user.
'Failed'.","details":[{"code":"...
0
votes
1
answer
215
views
Azure DevOps Server: Test attachments (TRX files) are not deleted for old pipeline builds
I’m using Azure DevOps Server (on-prem) v2020 Update 1.2 (v18.181.32404.7)
We are preparing to move to Azure DevOps Service (cloud), but our database is huge and we are trying to clean it up.
TL;DR: ...
0
votes
1
answer
607
views
Continuous deployment to my local IIS from azure devops
I have created project and repo on Azure Devops. The repo is a copy of a wwwroot folder on a coldfusion deployment on IIS, which is on a locally-housed server. I can't understand how to set up a ...
0
votes
0
answers
81
views
Create Salesforce CICD Pipeline Using Azure DevOps
A client has an Azure DevOps subscription and they're looking to use it for automated builds and releases with their Salesforce app they're using. The previous dev team was only using Azure Repos as ...
1
vote
1
answer
2k
views
replace with regular expression in azure devops
I want to take this buildVariable
Build.SourceVersion
which will equal for example:
0gc58d92d905d62415b8866g3f48f17416da426s
And replace from digit [7] till line end with empty string
0gc58d92
I ...
-1
votes
1
answer
573
views
Cloning a repo from Azure DevOps at a client
We are running into a weird issue while cloning a repo from Azure DevOps at a client.
Error: RPC failed; curl 56 Failure when receiving data from the peer
So far we tried;
git config settings - ...
0
votes
0
answers
262
views
azure devops self-managed agent installation on Ubuntu
my environment is Ubuntu 20.04, after running ./config.cmd command and adding my correct details
I get the following error:
System.PlatformNotSupportedException: NTLM authentication is not possible ...
1
vote
0
answers
1k
views
azure pipeline job to check for file changes in a specific directory with a git commit
I am working to create a job in a stage that determines if a particular git commit has any file changes in a specific directory. If so I want to run another job.
I tried below in a bash task:
task: ...
0
votes
1
answer
66
views
Auto re-create docker container when it stops without Kubernetes
I've managed to get Docker set up on both a Linux and a Windows host in our organization for internal use.
Now I'd like to set up some "self-cleaning" DevOps worker agents; I've already got ...
0
votes
1
answer
465
views
Delay A pipeline For 24Hours
Hello Im using Azure piplines for some tasks
Here is a simiple example of what im trying to achieve :
what im trying to do is to to trigger pipline2 after pipeline1 complition (this is done)
and once ...
0
votes
1
answer
127
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
1
answer
879
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
846
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:...
3
votes
1
answer
6k
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
235
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
1k
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)
...
2
votes
1
answer
707
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
1k
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
587
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
2k
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
2k
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
1
answer
98
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
59
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
345
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 ...
1
vote
1
answer
6k
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
939
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
137
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
3k
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
4k
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
552
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
1k
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
69
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 ...
2
votes
2
answers
7k
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
925
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
132
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
96
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
299
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
598
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
1k
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
900
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
2k
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 ...