Most Popular

1500 questions
6
votes
2 answers

What methods are available for connecting many-to-many containers?

I have two containers (Docker): TensorFlow container NodeJS container used as a frontend to the TensorFlow container. Both containers have TCP listeners on a port specified using environment variables. If I want to scale the NodeJS and TensorFlow…
Woodgnome
  • 161
  • 1
6
votes
2 answers

Monitor Jenkins node/slave health

For a project I'm working on, we need to create a Jenkins node in an AWS environment. For this task, we will work with the docker image, which is available on https://github.com/jenkinsci/docker-ssh-slave . The Jenkins node will be responsible for…
Rob Van Pamel
  • 161
  • 1
  • 2
6
votes
3 answers

Terraform AWS AZ error - manually specify AZ?

I'm fairly new to terraform and when creating AWS infrastructure I use the following to fetch the 'available' availability zones for my region (us-east-1) where I'm trying to create an EKS cluster. data "aws_availability_zones" "available"…
Caledonia91
  • 383
  • 2
  • 10
6
votes
2 answers

Halt execution of Bamboo build or deploy, without throwing an exception

This seems so trivial, I am almost shy to ask... Depending on certain conditions, which I am able to check by looking at Bamboo variables, I sometimes want to just stop the execution of a build and/or it's deploy. The possibility to conditionally…
Culme
  • 171
  • 1
  • 4
6
votes
3 answers

DevOps SOX Compliance

I'm coming from the dark side, compliance, and am looking to gain better knowledge on DevOps & how to implement SOX controls on these processes. I'm hoping to build a good knowledge base in order to be able to recommend controls that will provide…
DrewDaddio
  • 61
  • 1
  • 3
6
votes
2 answers

Ansible Jinja template if statement

This is a snippet from my Ansible jinja template which populates an environment specific template. docker_compose_mq: docker_compose_profiles: "string" {% if "{{ risk_docker_compose_mq }}" == "string" %} {% "{{…
jto
  • 378
  • 1
  • 6
  • 19
6
votes
4 answers

What do you need for a monorepo for a large codebase?

From certain size of the codebase, would you still have Git or are there more specialized solutions? (Also to checkout just a part of the codebase)
Ta Mu
  • 6,772
  • 5
  • 39
  • 82
6
votes
1 answer

How to bind ports for docker container in bitbucket pipelines?

I'd like to test an application using bitbucket pipelines with a custom docker image running some services. I have a dev docker image which runs all the services I need in order for tests to pass. docker run -it -p 3000:3000 -p 6379:6379 -p…
ConorSheehan1
  • 445
  • 1
  • 7
  • 10
6
votes
2 answers

When is it ethically acceptable to fork someone else github code and continue with that?

https://github.com/kamaln7/ansible-swapfile Seems not to be maintained. For example, an issue was created in May and no reaction. A new issue has just been created to ask whether this repo is still maintained. When is it allowed to fork someone…
030
  • 13,235
  • 16
  • 74
  • 173
6
votes
2 answers

How to find out the used Key pair name via AWS CLI?

I'm aware of get-password-data command which can display PasswordData data like: $ aws ec2 get-password-data --instance-id i-0123456789 { "InstanceId": "i-0123456789", "PasswordData": "\r\nAOh...xg==\r\n", "Timestamp":…
kenorb
  • 7,841
  • 12
  • 40
  • 77
6
votes
2 answers

How to explain the Twelve Factors to non techy people?

The Twelve Factors is a sort of manifesto seen as a road-map for developers to follow when building modern web-based applications. How would you explain each of the 12 factors in less than three sentences to random people?
storm
  • 1,759
  • 3
  • 15
  • 34
6
votes
2 answers

Why should you do port mapping for docker containers?

I have been using docker for a few months and I am just a developer not a DevOps or a networking person. However, I came across a docker-compose which maps an external port to an internal port. Something like in this compose file where it…
Lost
  • 163
  • 1
  • 4
6
votes
1 answer

Build Design - Docker vs Fedora's Mock

This post is migrated from a reddit post. Parts in bold are to adopt it to SE's format. I'm talking with companies to help streamline/combine their build process. They must do it together and their current processes are scary. We've convinced…
scott
  • 466
  • 4
  • 11
6
votes
4 answers

How do you simulate "sudo su " in Ansible?

I have a server where my user is able to sudo to the root user without a password, and then the root user can sudo to a third user without a password. However, my user cannot sudo directly to the third user without a password. Ansible's become…
Xiong Chiamiov
  • 2,781
  • 1
  • 8
  • 29
6
votes
2 answers

Launch jenkins agent from jenkins job?

Is it possible to launch a jenkins agent from within a script in another job? I'm open to either shell or pipeline options. To be clear I don't mean the agent the job is running on itself. I'm talking about spinning up a completely separate agent.…
Alex
  • 4,512
  • 6
  • 27
  • 47