Most Popular
1500 questions
4
votes
1 answer
How can I unify my distributed build environments using Jenkins and Docker?
I have recently taken over the CI management for a medium-sized team of developers. Currently, we have one Jenkins server instance as well as six other instances of Jenkins agents to build upon. We have been using labels to determine which builds to…
qgoehrig
- 41
- 1
4
votes
2 answers
What is the simplest way to list which attached disks are encrypted (and which not) on AWS?
An auditor is asking for proof that we've encrypted all the disks on our AWS EC2 VPC. I'd like a way to list all the disks and whether they're encrypted or not.
I know I can build a report with the AWS API (or the CLI) - but I was looking for a…
hawkeye
- 1,143
- 1
- 9
- 14
4
votes
2 answers
One NAT attachment for two private subnets
I have two NAT gateway attachments for two private subnets in AWS. Is it possible to have one NAT gateway attachment for two private subnets so that I can save one EIP?
Moses Liao GZ
- 171
- 4
4
votes
2 answers
In what way does a new ECS Fargate service not satisfy the task definition's required capabilities?
When creating a new AWS ECS service using a Fargate task, in the AWS Console wizard, it fails with the following error:
Failed creation of Service
Service creation failed: The specified platform does not satisfy the task definition’s required…
stoft
- 273
- 2
- 8
4
votes
1 answer
Doing map and filter of a list of dictionaries in ansible
Given a list of users:
# Python Syntax
users = [{'name': 'alice', 'sudo': True}, {'name': 'bob'}, {'name': 'charlie'}]
# YAML Syntax
users:
- name: alice
sudo: yes
- name: bob
- name: charlie
How would I do the following in an ansible…
RincewindWizzard
- 41
- 1
- 2
4
votes
1 answer
Startup of ECS Fargate task fails with ResourceInitializationError mount.nfs4 Connection timed out
When starting up an Amazon ECS task with launch type FARGATE it fails with the following reason:
ResourceInitializationError: failed to invoke EFS utils commands to set up EFS volumes: command failed with 32: failed to execute command to invoke EFS…
stoft
- 273
- 2
- 8
4
votes
3 answers
How to keep track of broken releases?
I spent considerable time googling around, but found nothing that would answer my question, so here it is.
If you do a canary release, and you learn the the release is somehow broken: how to you denote that a certain tag is broken and should not be…
pjboro
- 41
- 2
4
votes
3 answers
Terraform get list index on for_each
Terraform newbie here. I'd like to iterate a list using for_each, but it seems like the key and value are the same:
provider "aws" {
profile = "default"
region = "us-east-1"
}
variable "vpc_cidrs" {
default = ["10.0.0.0/16",…
Moshe
- 173
- 1
- 1
- 9
4
votes
1 answer
Angular config maps in kubernetes
How can I integrate a config map into my angular application in kubernetes?
Any useful blogs or videos implementing this would be helpful. I found a few, but they didn't work for me.
Madan
- 101
- 1
- 2
- 5
4
votes
1 answer
When does Jenkins clean up old builds?
I have existing Jenkins (2.90) jobs that are taking up disk space. When I enable the "Discard Old Builds" option I don't see any cleanup going on in the folder on the builds older than 7 days.
When does Jenkins do this cleanup? Or does it only apply…
Avner
- 143
- 4
4
votes
1 answer
Creating ec2 instances and installing mongoDB using automation
I am trying to create a 3 node MongoDB replica set using automation (ansible or terraform) in AWS. I am able to do this in the management console of AWS, but I'm not sure how to approach it.
Essentially, the script must create the instances and then…
prim3
- 41
- 1
4
votes
2 answers
Build Docker images with DinD and BuildKit
I use GitLab's pipelines to describe the deployment process. And, as part of it, I build Docker images. For that purpose, I use Docker-in-Docker to build those images (i.e. download the Docker-in-Docker image and do all the Docker-stuff, inside of…
acd
- 121
- 2
- 6
4
votes
1 answer
Set job start timeout in Gitlab CI
My pipeline consists of very long jobs that build docker images by compiling a set of packages; all of them require ~ 3 hours on my runner.
I set up my CI so that only one job can run at a time, in order to reduce the disk I/O overhead. But in this…
Nicola Mori
- 141
- 1
- 3
4
votes
0 answers
Problems with integrating Python script in a Bash script Git pre-receive hook
We have a pre-receive hook script in a bash shell script that enforces commits with messages having the right ticket number in a pre-defined format. We also have a separate python script that can be called in the pre-receive hook bash script to call…
sage
- 189
- 3
4
votes
0 answers
Bamboo (ANT task): Why does FTP work for some files but not others?
I have a Bamboo plan that uses a custom ANT task to FTP files across the firewall to our Production server. Below is its configuration
…
user2655
- 41
- 1