How to run azure batch sample java code through azure devops pipeline - azure-batch

I want to run sample java code
https://github.com/Azure-Samples/azure-batch-samples/tree/master/Java/PoolAndResourceFile
on my azure batch account through azure devops pipeline.

Related

How to deploy code to cross tenant from Azure Devops as automation

The scenario is -
I am working on azure databricks notebook(Consider as "Dev" env).Using Azure Devops to push the code from Databricks notebook to Azure Devops.
I am looking to deploy the code which is in Azure devops to other env(QA, Stage, Prod all are Azure databricks notebook) which is under different tenant than "Dev" env.
Can anyone help me with any reference document how i can achieve this?

Can I reuse my Azure DevOps agents with Azure Automation?

My VMs all have Azure DevOps agents installed on them to automate deployments. We have a need to automate runbook tasks on these agents as well, and are investigating Azure Automation as a solution.
However, I would prefer not to have to install two agents on every VM. Is there a way to have Azure Devops and Azure Automate share an agent on a single VM?
I suppose that you could test to create a combination with Azure DevOps and Azure Automation.
And the key to for the integration is creating a service connection from Azure DevOps to Azure Resource Manager.
And you could try to finish your Azure Automation Deployment with Azure Powershell task in a release pipeline.
And you could refer to this blog for more detailed instructions. USING AZURE DEVOPS PIPELINES WITH AZURE AUTOMATION

dacpac creation from Azure Synapse dedicated SQL Pool using Azure DevOps

I have created the sql dacpac file from azure SQL database using Devops pipeline inbuilt task 'Azure SQL database deployment'. Now I am trying to create dacpac file from azure synapse SQL Pool. but I didn't find any related task or PowerShell script to do the same.
can you please pour your valuable suggestion?
Thanks
You can leverage the same task for SQL Dedicated pool deployment as well. There is no separate task for it
https://datasharkx.wordpress.com/2021/03/11/automated-deployment-of-azure-sql-database-azure-sql-data-warehouse-through-azure-devops-via-service-principal-part-1/
https://datasharkx.wordpress.com/2021/03/12/automated-deployment-of-azure-sql-database-azure-sql-data-warehouse-through-azure-devops-via-service-principal-part-2/
To create a DACPAC, in build pipeline you can leverage visual studio build task with latest version.

create Azure release pipeline using ansible

Whether ansible can be used to create release and build pipelines in azure is there any existing or custom modules for creating pipelines?
The answer is yes. Ansible can be used in azure devops pipelines.
You can click here to install Ansible extension in your azure devops organization. After it is installed, you can use Ansible task in the pipeline to run playbook.
To get started with azure devops pipeline. You can check out this document.
You can check below detailed tutorial about using ansible in azure devops pipeline.
Automating Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines

Importing external test results into Azure DevOps

I am trying to figure out how to import my external test results into Azure DevOps.
This article describes how to publish the results within the same pipeline. But that's not going to help me. We do use Azure pipelines to build and deploy our solution, but the testing is run after that (in a deployed environment), so, outside of the pipeline. We can collect the results (in a Azure DevOps suitable format) and would like to feed it back into Azure DevOps release that did the deployment.
All tips are welcome.