Most Popular
1500 questions
5
votes
3 answers
Other tools to provision virtual machines
I've been using vagrant for provisioning virtual machines (Linux only) and so far I've been happy with it. The two things I dislike about it - the hardcoded dependency on the user vagrant as well as making the very first interface a virtual box NAT…
keyboard
- 73
- 4
5
votes
3 answers
Determine the URL for a SCM trigger from inside the build
My Jenkins is affected by a known Jenkins bug where it will trigger jobs that have an SCM poll set if a change to the shared library happens. I can't have this, so I thought I would get the trigger info from inside the job and if the URL was from…
Levi
- 1,044
- 6
- 18
5
votes
1 answer
docker-compose fails to recognize when images are rebuilt sometimes ... often same code is OK
I have a devops container inside of which I execute docker build and docker-compose up commands which run OK then (on same server or different server with same code) sometimes incorrectly fail to Recreate sibling containers after their images are…
Scott Stensland
- 489
- 3
- 14
5
votes
2 answers
How to automate rolling upgrades for ec2 running linux behind elastic and/or application load balancer?
Would like to ask for recommendations on ready automated solutions or templates for rolling ec2 instance upgrade on AWS, requiring a reboot with ELB/ALB.
Specifically required to perform the maintenance upgrade for the kernel on hundreds of Linux…
rombob
- 657
- 4
- 16
5
votes
1 answer
Get changes of the parameterized pipeline on the fly in Jenkins
Is it possible to get changes of the parameterized pipeline on the fly after making changes there?
For example I have a pipeline code:
properties([
parameters([
string(name: 'TARGET_HOST', defaultValue: 'test', description:…
user54
- 583
- 4
- 16
5
votes
1 answer
What is a suitable strategy for provisioning Chef Server through code?
Background
I am tasked with setting up a Chef server on our Azure Cloud for a new DevOps automation project.
We are using the Resource Manager model for Azure, in case it's relevant.
We will likely use free versions of Chef i.e. Chef Automate is…
Vish
- 601
- 5
- 14
5
votes
4 answers
How to find interdependencies between pods in a Kubernetes cluster?
Two Pods run in a Kubernetes cluster. One is a simple Wordpress application and the other a Mysql database. The Wordpress Pod communicates with the Mysql database.
The aim is to find dependencies between pods. Is there any kubectl command or any…
avishkar
- 51
- 1
5
votes
1 answer
Is it a common practice to include the version of an API into the rest interface itself?
I was looking for the current version of the github API, but it seems to be omitted.
https://api.github.com/
I am personally considering to add a new field to my own API, but I wonder whether that is a common practice or should be done differently.
030
- 13,235
- 16
- 74
- 173
5
votes
1 answer
What are Design Patterns for creating images?
In Object Oriented Programming (OOP) there are Design Patterns (DP). DP are best practices for tackling certain problems. For example, a singleton is acceptable to be used in a logger class.
What about applying DPs to creation of images, e.g.…
030
- 13,235
- 16
- 74
- 173
5
votes
2 answers
Utilizing telnet with Ansible
Was wondering how to best utilize telnet, rather than SSH, with ansible.
We are using a Lantronix term server, and must telnet into individual ports.
More specifically, would it be best to use a specific telnet module? If so, which is most…
Andrew H
- 53
- 1
- 1
- 3
5
votes
4 answers
How can I get terraforms extern to execute `ssh-keygen -y -f ~/.ssh/id_rsa`?
I seem to be confused about how external works. I tried:
data "external" "local_key" {
program = [
"ssh-keygen", "-y", "-f ~/.ssh/id_rsa"
]
}
This gives me:
failed to execute "ssh-keygen": ~/.ssh/id_rsa: No such file or directory
Which…
Kit Sunde
- 153
- 1
- 6
5
votes
1 answer
What is the biggest Docker image on Docker Hub and how to find it?
The lowest boundary of a Docker image can be very small i.e. under 1 MB (busybox) or even zero bytes (scratch).
Now for research purporses, I need to reference the biggest Docker image on the Docker Hub.
How to find it?
Ta Mu
- 6,772
- 5
- 39
- 82
5
votes
1 answer
Terraform: Delay the MySQL Provider
I have a Terraform project which uses the MySQL provider. Because of the way Terraform works, the MySQL provider will fail to load correctly because the AWS_RDS instance doesn't exist. Is there a way for me to delay or split my project so that the…
Black Dynamite
- 151
- 5
5
votes
2 answers
Coupling docker registry and source control
What are the best practices (if any) for coupling a docker image registry with a SCM service (such as bitbucket)?
I know a docker registry can live in artifactory, but how can I assure that the two are as tightly coupled as possible?
For example I…
scott
- 466
- 4
- 11
5
votes
1 answer
What git command could be used to check when a remote branch was created?
Git is used at work. The number of branches is growing and growing. The aim is to remove branches that are older than X weeks.
Attempt 1
Running git branch -h will probably indicate what to run to check when a branch has been created.
user@localhost…
030
- 13,235
- 16
- 74
- 173