Category : azure-devops

We have a problem with Azure pipeline. Inside pipeline we are running integration tests, those tests interacts with Docker Rest API to run specific containers (we are using Docker.DotNet for that). Everything works on on-premise hosted build agent, but doesn’t on Microsoft-hosted (Ubuntu based). All calls to Docker REST API ends with timeout exception. Does ..

Read more

I’m hoping to cache a specific stage in my multi-stage Dockerfile that my test stages use in an effort speed the build process up. Otherwise, it builds for unit testing and then for integration testing. Here is a bare bones example of one of the Dockerfile: # creating a node base FROM node:16-slim as node-base ..

Read more

I’m getting this error in my PR pipeline and I’m not sure what the cause and solution is. The Docker task is pretty well templated and the stage does exist in my Dockerfile: # docker.yaml parameters: – name: service default: ” – name: jobName default: ” – name: jobDisplayName default: ” – name: taskDisplayName default: ..

Read more

I have a Dockerfile that looks something like the following: # creating a node base FROM node:16-slim as node-base ENV CI=true # builder-base is used to build dependencies FROM node-base as builder-base COPY ./package-lock.json ./package.json ./ RUN npm ci –production # ‘development’ stage installs all dev deps and can be used to develop code. FROM ..

Read more

I set up a self-hosted ADO agent which runs inside a container. When I tried to transfer my existing docker-compose build from the Microsoft agent pool to my own self hosted agent, the docker-compose fails to mount the volume. I receive errors saying that I cannot create directories since the file system is read-only. ADO ..

Read more

Is it possible to build docker images with docker compose task in azure DevOps pipelines and give in specific name ? because the names i get to the images is the $(Build.Repository.Name) only . What I Tried : steps: – task: [email protected] inputs: containerregistrytype: ‘Container Registry’ dockerRegistryEndpoint: ‘Docker_Hub’ dockerComposeFile: ‘**/docker-compose.yml’ qualifyImageNames: false action: ‘Run a ..

Read more

Is it possible to build docker images with Docker compose task in Azure Devops pipelines and give it a specific name? Because the names I get to the images look like $(Build.Repository.Name) only. What I tried: steps: – task: [email protected] inputs: containerregistrytype: ‘Container Registry’ dockerRegistryEndpoint: ‘Docker_Hub’ dockerComposeFile: ‘**/docker-compose.yml’ qualifyImageNames: false action: ‘Run a Docker Compose ..

Read more