Questions tagged [azure-devops]
The azure-devops tag has no usage guidance.
67
questions
0
votes
0
answers
18
views
How do I create a Service Hook Web Hook in Azure DevOps using a client certificate?
the service I want to connect my webhook to requires a client certificate when communicating via SSL/TLS. I already downloaded the certificate files, how can I add my certificate to the service hook / ...
0
votes
0
answers
63
views
How to use service account to deploy objects(deployments, configmaps etc) in Kubernetes
I have a deploy-pipeline in Azure devops. I am using this to deploy some objects to our k8s cluster (microk8s). I connect to the cluster with the help of a service connection that uses a kube-config.
...
0
votes
0
answers
111
views
Apache Maven Plugin Issues with Azure DevOps
I have an interesting request regarding Apache Maven plugin issues with Azure DevOps. Here's a note from the client.
"It seems there has been a recent upgrade in the Agent which has changed the ...
0
votes
0
answers
50
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 ...
0
votes
0
answers
17
views
Gsuit user to auto sync with adazure so we can adazuredevops can do SSO
Current Scenario
1 - Gsuit basic users
2 - ADAzure free account(Not have any P1 or P2 license)
3 - Azuredevops on cloud
We need to do SSO for Azuredevops on cloud from gsuit all user or selected ...
0
votes
0
answers
87
views
Does velero backup only persistent volume of the Azure kubernetes cluster and restore backup one or more persistent volumes on to the same cluster?
I did little research on the AKS Backup using velero. I want to take only the persistent volume backup of the aks cluster and restore on the same aks cluster. is it possible?.in case of restore of ...
1
vote
1
answer
892
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
211
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
92
views
git and/or azure devops treat folders that start with . as submodules
I have a problem with the pipeline where it wouldn't checkout the .iac folder. However, when I changed it to iac (from .iac)it worked. Additionally I am seeing that the .azuredevops folder isn't being ...
0
votes
0
answers
163
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
922
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
0
answers
56
views
Troubleshooting long docker build times in ADO pipelines
Attached is a snippet of the logs of a docker build step that is part of an ADO pipeline. Pretty new to ADO. The docker build steps are taking multiple minutes for each action. We are using self-...
0
votes
1
answer
25
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
0
answers
41
views
Better browser and metadata for Azure DevOps repos
My team is struggling with keeping our rapidly growing number of repos organized in Azure DevOps.
All our repos are under a single Project (it's not possible to change this).
Having an interface with ...
0
votes
1
answer
187
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
93
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
591
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
659
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:...
1
vote
1
answer
4k
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
169
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
866
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
374
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
854
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
394
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
1k
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
1k
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
80
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
44
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
270
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
1
answer
3k
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
608
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
117
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
2k
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
3k
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
453
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
919
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
52
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
6k
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
677
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
117
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
88
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
265
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
527
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
740
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
1k
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
399
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
156
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
244
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 ...