Docker container will automatically stop after "docker run -d"

According to tutorial I read so far, use "docker run -d" will start a container from image, and the container will run in background. This is how it looks like, we can see we already have...

Load Postgres dump after docker-compose up

I have a dump.sql file that I would like to load with docker-compose. docker-compose.yml: services: postgres: environment: POSTGRES_DB: my_db_name POSTGRES_USER: my_name ...

Is there a way to use separate production and staging SSL certificates when deploying to AWS via Boxfuse?

Usually, for security reasons, production SSL certificates and other secrets are controlled by very limited group of people in a company, while staging certificates can be self-signed and used by...

Azure ARM template with array as parameter

I am trying to user copy loop function in Azure ARM template following is the resource block I have { "$schema":...

terraform: command not found,export $PATH unresolved

All my efforts to run terraform(exe) from command line in Ubuntu are unsuccessful ~/tectonic_1.7.9-tectonic.2$ terraform init ./platforms/metal terraform: command not found I changed ~/.profile...

Push docker image to ECR using cloudformation

I am new to Devops, so please don't mind if you find this question awkward. As part of gitci.I have a docker file in gitlab. I am planning to create a docker image and push it to ECR and then use...

How do I configure Ansible to jump through two bastion hosts?

I want to write an Ansible playbook (using Ansible 2.7.5) that will jump through two hosts before reaching the intended server to do things such as install docker and python, etc. I'm able to get...

401 Unauthorized: [Package name] error during npm install from azure DevOps feed

I'm using AzureDevop artifacts for npm feeds. When I try to do npm install I'm getting 401 Unauthorized exception. Any idea what is causing it ?

Do Azure Dev Ops Pipelines logging commands support multiline messages?

I'm looking at https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash and I see you can add messages (that if integrated with GitHub can be...

How to Publish a ClickOnce application with Azure DevOps Pipeline on different environments?

I try for several days now to publish my ClickOnce application with Azure DevOps Pipeline. Before going in detail here is what I would like to do from my release view: I started with one artifact...

Azure DevOps REST APIs FOR SWIMLANE

I am trying to integrate Servicenow with Azure Devops Board to create/update etc etc on a work item using REST APIs I was successful in creating and updating lot of things on the workitems I am...

pip install from Azure DevOps Python Artifacts feed not working

When I attempt to install a package from our Azure DevOps Artifacts feed, I get the error: Looking in indexes: https://pypi.org/simple,...

azure DevOps API not returning all fields for WorkItems

I'm trying to execute a POST request with Azure DevOps on my WorkItems and get all the Others Tags on the WorkItems . This is my...

Authenticate and use Firebase in non-interactive environments

I work with Android mobile application, where source code is maintained in Azure. I want to automate the build process and upload the .apk file in Firebase App Distribution, as per the...

MSBuild warnings (MSB4011 and others) when building Delphi 10 project group

In Azure DevOps I have created a yaml build script that uses the [email protected] task to build a Delphi 10.2 Project Group file. For every project in the group, i get the following MSBuild...

Using CI triggers and PR build validation together: Prevent that build runs twice

I want to use both CI-triggers and PR build validation in Azure DevOps. The goal is that as long as no PR has been created (and published) for a feature/topic-branch, the CI triggers should ensure...

Azure DevOps code coverage with .coverage for PR and Cobertura for full report

I have an Azure DevOps pipeline that validates pull requests. I have configured dotnet test to collect code coverage metrics using the --collect "Code coverage" argument: - task: [email protected] ...

How to check windows service is installed or not from azure devops command line task?

Im using command line task in azure devops to install windows service. First i need to check if service is already installed or not before going to uninstall it. i use SC QUERY <service_name> to...

Terraform: googleapi: Error 403: Permission denied on resource project

googleapi: Error 403: Permission denied on resource project shared_vpc_host_name., forbidden I am trying to create shared vpc and service project using Terraform project facotry module and I am...

Azure DevOps: build artifact download error "Error: in getBuildApi, so retrying => retries pending : 4"

I got this error when using the task 'Download Build Artifact' in the release pipeline of devops server 2019 or devops server 2020: Error: in getBuildApi, so retrying => retries pending :...

VisualStudioOnline-Fxxxx resource group in Azure

We have resource grooup with this name : 'VisualStudioOnline-Fxxxxxxxxxxxxxxxxxxx' type is 'Azure DevOps organization'. Is it used by Azure DevOps for billing ? I could not see this entry in...

Azure Devops Repos - Revert back to a previous commit like the recent ones never existed

I know that you can revert back to a previous commit but it doesn't sound like the history will be gone. How can I revert back to a previous commit and make sure the commits that came after are...

Terraform is using wrong google project

I deleted the project projects/project1-301106 and then created a new which ends with 301108. But terraform always try to use the old project. Error: Error creating Network: googleapi: Error 404:...

Set up Google Cloud Platform (GCP) authentication for Terraform Cloud

How do I configure Terraform Cloud to authenticate with Google Cloud Platform (GCP)? Right now, my configuration is looking like this: provider "google" { project = "my-project-id" region =...

Azure Devops Upload Image

I am importing a lot of data into Azure Devops using python. I have all the pieces working. I can upload images, my issue is when I download the image from the Devops website it is not a valid...

CS8032 Warnings when building solution with referenced analyzer projects in VS

The issue For many weeks it worked fine, I was able to compile and test the projects. A few weeks ago, VS started displaying the following warning when building the solution or any project that is...

How to use the Manual Validation task in Azure DevOps pipeline?

I've have read the official document for the Manual Validation task. This is one of my stages in my YAML Pipeline: - stage: Prod dependsOn: QA condition: and(succeeded('QA'),...

Application not showing in ArgoCD when applying yaml

I am trying to setup ArgoCD for gitops. I used the ArgoCD helm chart to deploy it to my local Docker Desktop Kubernetes cluster. I am trying to use the app of apps pattern for ArgoCD. The problem...

Problem in Azure DevOps pipeline restoring AutoMapper NuGet package in .net 6

I get the following error message when my pipeline is being run: Package AutoMapper.Extensions.Microsoft.DependencyInjection 8.1.1 is not compatible with net60 (.NETFramework,Version=v6.0)....

Azure DevOps AzCopy Authentication failed, it is either not correct, or expired, or does not have the correct permission

I am using the task Azure file copy to upload the build artefacts to the blob container. But I am always getting an error as preceding. 0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total,...