All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

How to use in Jenkins pipeline the output from first stage as an input parameter for the second stage

I have the below code in the jenkisn pipeline: stage ("amd_distribution_input_transformation"){ steps{ script{ amd_distribution_input_transformation url: ...
0
votes
0answers
7 views

Ansible provising with packer causes problems with sudo?

So, I have a packer template that sets up a VM and then uses Ansible as provisioner. Within the playbook that's executed, there is a task that must be run as root. (sudo proftpd). - name: Starting ...
0
votes
0answers
2 views

GitLab Cert-Manager not issuing Let's Encrypt certificate

I am trying to deploy to a Kubernetes cluster with the GitLab integration. I have Cert-Manager and Ingress enabled and everything is visible in Google's Kubernetes Engine interface. When I access the ...
0
votes
1answer
14 views

Build Docker Images with Ansible + Vagrant

So I am working on a research project and I am trying to automatically generate specific environments on different virtualization techniques. So, first I made a Vagrantfile that pulls an Ubuntu ...
0
votes
0answers
2 views

How to resolve merge conflicts in Azure DevOps current UI

I have followed the instructions on command line: https://docs.microsoft.com/en-us/azure/devops/repos/git/merging?view=azure-devops&tabs=visual-studio all I want to do is resolve this merge ...
0
votes
0answers
9 views

Is it possible to define default integrations for new projects in GitLab?

I am working in a big project which uses GitLab to store the code. As codebase grows, we tend to create new projects for different modules. Whenever we do so, we add a Slack integration consisting in ...
0
votes
0answers
14 views

How to use edited inventory file?

I have workflow with 2 templates. First I add new host to my hosts.ini file: - name: Add to host file blockinfile: path: /var/lib/awx/projects/_52__glusterfs/hosts.ini block: | ...
0
votes
1answer
14 views

Powershell to copy Same Files [on hold]

I have two folders Folder1 and Folder2. I want PowerShell script which will compare these folders and copy the same files to folder3 from folder1. How can I achieve this?
0
votes
1answer
16 views

How to find the PHP version that is used by the latest `phpdoc/phpdoc` docker image?

How do I get php version used by docker image phpdoc/phpdoc?
1
vote
0answers
8 views

How to set Terraform Cloud environment variables from the command line?

Terraform Cloud is a SaaS platform for managing Terraform runs, state and variables. Once you have created a project you can set environment variables via the following page: https://app.terraform....
0
votes
0answers
9 views

How can I define dynamic parallel stages in a Jenkinsfile? [on hold]

In declarative pipelines, Jenkins allows the definition of parallel stages. It further allows scripted pipeline general purpose scripts to create and manipulate the artifacts of the declarative ...
0
votes
0answers
6 views

Issue connecting to ECR using Spinnaker on Kubernetes

I installed Spinnaker onto a Kubernetes cluster via Helm. I have tried to add the ECR registry as per the docs and so far not working. I found that the aws cli is missing even though in issue 2394 it ...
1
vote
2answers
12 views

Ansible configure and compile in directory

So I have have an Ansible Task that extracts a programs sourcecode zip into a certain directory and is then supposed to compile and install it. The extraction of the zip works fine, but then I need to ...
3
votes
1answer
7 views

AWS SQS - use case for “short polling”

When using event driven processing of work with AWS SQS and worker clients. the use of long polling is often recommended. AWS documents this here Essentially when there are no message in the queue, ...
0
votes
0answers
22 views

How can I check none value for credentials parameter in pipeline?

I saw many similar threads on empty fields, but how does it work with credentials parameter where the field is none? currently without validation if fails with error: org.jenkinsci.plugins....
0
votes
0answers
20 views

Unable to get Helm to work with ECR

I'm using Helm v3 with AWS ECR on a Kubernetes cluster that was creating using Kops. I have checked and the role kops assigned to the nodes does have ECR permissions. When I deploy my helm chart I ...
1
vote
0answers
10 views

How to install aws cli on a self-hosted azure DevOps Windows agent?

I have quite some difficulties installing aws cli on a self-hosted Azure DevOps Windows agent as part of a pipeline. Does anyone have a working solution? What I have tried so far: a) install aws cli ...
0
votes
0answers
13 views

How can I run an elevated command in an azure DevOps pipeline?

I want to run a command with administrator permissions in an azure pipeline on a self-hosted windows agent. Is this possible - and if yes, how?
0
votes
1answer
34 views

How to check if pipeline parameter is empty

I have a pipeline job which includes some parameters: In the pipeline file I have the below code: stage ("create bundle"){ steps{ script{ ...
1
vote
0answers
14 views

Assign Directory Read/Write Privileges to Azure Service Principal from the command line?

I am trying to provision a user in Azure Active Directory using Terraform's AzureAD provider. At the top of the azuread_user documentation, it states: NOTE: If you're authenticating using a ...
0
votes
1answer
16 views

Unable to understand the logic behind this terraform function

So i was going through a code of some one else and just could not make sense of it,, if may be some can of this, "${replace(jsonencode(list(local.cadvisor_container_definition)), "/\"(\\d{2,5}|true|...
0
votes
0answers
8 views

centos - chronyd upgrade to 3.4.1 - Could not set SO_TIMESTAMPING socket option

We have an older centos image in our AWS environment which we use to spin up new machines. The image has an older version of chronyd. When we update chronyd, We are facing the following issues. ...
0
votes
1answer
10 views

Gather resource usage by process in a kubernetes cluster

I am searching for a tool similar to Prometheus + Grafana that gather and record resource usage especially memory usage by process-ID or process-name. We have two components that are running ...
0
votes
1answer
21 views

How deploy public key to newly created VM on GCP?

I create VM instance using ansible module gcp_compute_instance My code: --- - name: Create jenkins node-1 hosts: localhost connection: local gather_facts: no vars: address: <my ip> ...
2
votes
1answer
19 views

Consul: how to remove dead client nodes quickly

Background: When running Consul client-mode in AWS, EC2s are constantly getting replaced, which results in a lot of dead client nodes when looking at the Consul UI or via consul members. Already ...
0
votes
1answer
20 views

Dev environment for legacy Visual Studio code?

I work at a small company that has several legacy projects that all require different versions of visual studio to run. The company has servers on site and I have a small cloud budget. I want to set ...
1
vote
1answer
23 views

jenkins parameter behaves differently from internally defined variable

I set up my jenkins job to take in the parameter payload and set its value to test\ntest. My jenkins script is the following: def hardset = "test\ntest" echo "param:" def cleanParam = jenkinsParam....
1
vote
1answer
19 views

Trunk Based Development - release branch testing

We are currently using Git flow branching strategy and looking to go to a trunk based strategy - although we are quite a ways away from getting there I am trying to get all my ducks in a row, ...
0
votes
0answers
16 views

Create branch from VSTS CLI [on hold]

I want to create an Azure DevOps branch from CLI. I did R&D and found that we can create repository from CLI. So I want to know whether that Azure DevOps branch creation is possible from CLI or ...
0
votes
0answers
7 views

SSL bridging based on SSL session ID with AWS Loadbalancers

In our on-premise datacenter we are able to run services behind loadbalancers with session stickiness without handling the ssl terminination on the loadbalancer. For various reasons we want to have ...
1
vote
0answers
4 views

Change container size in a template from the Marketplace

I am trying to use a template from the Azure Marketplace. Everything works, but it defaults to storage sizes that are by orders of magnitude too large for my usecase. At the end of the process, I can ...
2
votes
1answer
21 views

feature flags vs versioning for APIs

We are looking at moving to a trunk based development branching strategy rather than gitflow that we currently use. I understand that feature flags are crucial to trunk based development. However, is ...
0
votes
1answer
28 views

Kubernetes - Deploying older version of app in new API

I'm working with yaml files built for an older version of the API apiVersion: extensions/v1beta1 I tried changing to apiVersion: apps/v1 But couldn't figure out the correct "selector" formatting....
1
vote
1answer
30 views

How to pass groovy output to pipeline variable

I have the below code in the jenkisn pipeline: stage ("amd_distribution_input_transformation"){ steps{ script{ amd_distribution_input_transformation url: ...
0
votes
0answers
23 views

during a maven call of “sonar:sonar”, who is responsible for analyzing the code? maven plugin or SonarQube server? [on hold]

Is the analysis is done in sonarqube or locally from my maven command and sent to SonarQube? mvn clean verify sonar:sonar
0
votes
1answer
14 views

Will data contained withing Persistent Volume survive cluster deletion?

I have a Kubernetes cluster based on 3 hosts managed via Rancher I've created Persistent Volume on the first host and use it via a claim by a PostgreSQL pod. My app is generating and storing there ...
2
votes
1answer
12 views

How to verify hashes of Ansible Galaxy dependencies?

From a security perspective, I don't like the idea of relying only on Git tags, as they could be moved later. Unfortunately, I'm not aware of an official solution to enforce checks. This is the best ...
0
votes
1answer
24 views

Ansible: What's the difference between task, role, play and playbook?

Ansible has tasks, roles, plays and playbooks. Are those just names for different levels in a playbook organization? If not, how, exactly, do they differ from and relate to each other?
0
votes
1answer
17 views

How to dynamically create digital ocean droplets without password change?

I am working on a web app where that I divided into two blocks: 1. One for front-end. 2. One for backend doingheavy computation which won't be used every time Both parts of the web service are hosted ...
2
votes
1answer
51 views

For storing avatars in s3, which approach has the lowest cost?

On my site I have the ability for users to upload avatars (which they upload to s3). They can only have one avatar at the moment, so I currently just have the filename set to their user id. However, ...
1
vote
0answers
17 views

softwares are needed for devops [duplicate]

I read How to become devops, I neeed to know name of needed software for become devops such as docker, I know UNIX family OS, docker,python and git. Also I familar with some monitoring app. Ask you ...
1
vote
2answers
28 views

Jenkins and docker login issue

I am trying to create a Jenkins pipeline that will pull a public image from docker hub and build a Vue.js application inside that container. In my Jenkins server I already have other pipelines that ...
3
votes
1answer
59 views

Jenkins Declarative pipeline: Execute stage conditional on execution of previous stage

I have a Jenkins declarative pipeline with several stages. Some of these stages need to be executed based on whether a previous stage has been executed. In pseudocode: pipeline{ stages{ stage('...
0
votes
1answer
13 views

Use Terraform to manage ssh-keys in GCE

I use Terrafrom and manage access to VMs in GCE by changing VM metadata. Before I put it to string, but it not good, so I try to put them to variable and use it. But I faced problem. This is my code: ...
2
votes
3answers
61 views

How to get the next friendly name that Docker will assign to the container it will make?

Background When you start a Docker container as in the following example: $ docker run -ti ubuntu:latest Docker docker automatically assigns the container an ID and a friendly name. Docker ...
4
votes
1answer
70 views

What are the implications for Docker Community Edition of the Docker acquisition by Mirantis?

November 13, 2019, Mirantis Acquires Docker Enterprise Platform Business. The same day, Docker Inc. claims they will now focus on docker Desktop and Docker Hub. Given those changes, will Docker CE ...
0
votes
1answer
17 views

Can Jenkins master connect to a slave node in a private subnet?

We've got a Linux Jenkins master node set up in AWS behind a load balancer and I'm attempting to connect to Windows slave nodes in private subnets. Is this possible? The Jenkins URL is accessible ...
0
votes
0answers
10 views

Octopus deployment step never ends

I have the below power shell script step in octopus that starts a batch file:. $path= "<filePath>\start.bat" $args= '"<filePath>\protractor" "<filepath>/conf.js" "<filepath>/...
1
vote
0answers
19 views

Getting client IP address in Istio

So I have a setup like this: AWS NLB (forwards) --> Istio --> Nginx pod Now, I'm trying to implement rate limiting at Istio layer. I followed this link. However, I can still request the API more ...
2
votes
1answer
30 views

Docker swarm container monitoring

I have been on a typical journey of: deploying software on a machine deploying software in a container deploying software using docker swarm The need for this journey is that swarm removes a large ...

15 30 50 per page