I am using ubuntu docker image as build agent on Azure Devops. I need to apply some DDL SQL scripts on Azure SQL DB. What tool I should use – SQLCMD or SQLPackage, or something else and why? Thanks in advance Answer So in order to install SQLPackage I followed this tutorial. It got installed, however it did not work
Tag: azure-devops
Bash / ZSH – How to copy from a specific line to the end of a file, then paste at line 1 of another file whist preserving all text in that file
I am trying to add a bash script to my Azure Devops pipeline that automatically compiles a changelog. When a PR is made, there will be a file committed call pr-changelog.md. I want all text from this file to be copied from a specific line onwards, say line 6. then I want this pasted in to another file called changelog.md
Executing a shell script having docker | docker commands not found
I created a pipeline in Azure with Ubuntu 18.04. My requirement was to run a docker image using bash script and for the same below script was created but on execution I received an error “docker command does not exist and docker: invalid reference format. test.sh Error To describe in detail, here are the tasks created on az pipeline :-
Amazon EC2 Linux – Azure devops Agent installation throws an error while run config file
./config.sh: line 85: ./bin/Agent.Listener: cannot execute binary file Answer Update: The build agent does not support x64 based ARM (aarch64, arm64). More details please take a look at this similar issue: ARM agent fails to configure The agent is based on .NET Core 2.1. You can run this agent on several Linux distributions. We support the following subset of .NET
Dockerfile not found on Linux hosted agent
I’m trying to package dotnet core application into linux container. Docker build step fail with file not found (even though the same build works on the windows hosted agent with windows containers). I’ve even tried verifying files are there with command line step right in front of the docker build step… files are there, but docker build step fails to
Windows docker container vs Linux docker container
I am new to the Docker/Kubernetes world in general. As i am just starting with the whole architecture i have the following: Azure Container Service — up and running using Linux for master and agents Docker for windows on my machine — up and running automated build for a .NetCore application on VSTS using Docker task to build and push