Most Popular
1500 questions
3
votes
2 answers
What are Deis Workflow Alternatives?
We're looking to build an internal Heroku-like PaaS that supports clustering and a DFS. We found Deis Workflow that seems to do exactly what we're looking for, but the project has since been discontinued.
Are there any alternatives that are similar…
Ryan
- 131
- 1
3
votes
1 answer
Configuration Management Tools and Rollbacks / Approaching Immutable Infrastructure
I am interested in whether there are any configuration management tools out there that make it easy to roll back.
So far it seems that with Ansible, Chef, and Puppet you have to write the roll back tasks/recipes/whatever to get back to your previous…
David West
- 1,463
- 3
- 16
- 25
3
votes
2 answers
How to capture tools release to trigger upgrade?
We capture our applications release by using commits from source code management, new package into the artifactory system etc.,
How can we capture my tools release from vendor so that I will trigger my upgrade script to upgrade my tools itself, for…
karthikeayan
- 206
- 1
- 7
3
votes
2 answers
How do I make NFS volumes reliable in Docker?
I host various docker containers on my Ubuntu 18 machine. A few of them require storing their data on my Synology NAS. At first, I was using the host machine's /etc/fstab to control NFS mounts, which I then mounted in the containers (as a mount, not…
void.pointer
- 183
- 1
- 5
3
votes
2 answers
Can I keep a container started with --rm option?
I started my docker container with --rm and -it options. I need to keep that container now because it has some important data. Can I cancel the --rm switch using the docker update command?
This answer from SO says it is possible, but I it doesn't…
Nishant
- 133
- 6
3
votes
1 answer
Unable to run playbooks using Ansible best practices layout
I am very new to ansible and I think I am lacking something basic that I am not finding in the examples or on github as to the directory structure and its use.
I have set up my directory structure using ansible best practices document located…
Daniel Flick
- 31
- 2
3
votes
1 answer
Jenkins fails to start after restart because of google login plugin had an exception
Jenkins version: Jenkins ver. 2.32.1
Google Login Plugin version: 1.3
I got the following error after I restart my jenkins, can anyone suggest me how to solve it?
The thing is :
I already make sure that in plugins directory I had the google-login…
Dimas Rizky
- 131
- 3
3
votes
2 answers
Packer and compressed ISO images
I am not using packer yet, just looking through the documentation. Some VMs it supports can be built from iso images. The examples cover use cases where the ISO is available online through the iso_url key in the JSON description file. But, can…
Mali Remorker
- 141
- 5
3
votes
2 answers
Jenkins Shared lib not working properly
Recently I tried to add Shared Libraries to my Jenkins instance to make it easier to maintain all code that runs in each project.
I have a repo myorg/jenkins
Inside of it I have Jenkinsfile and groovy file meant to contain libraries, Jenkinsfile…
vaporwave_sailor
- 41
- 5
3
votes
1 answer
How to connect to host during a Docker build?
I have a Dockerfile which I want to run some tests inside of as part of a multistage build. The tests attempt to make a connection to localhost, however it appears that they're not able to connect to the specific port (which is ready on the host…
Madden
- 213
- 1
- 3
- 6
3
votes
2 answers
Cleanest way to prematurely exit a jenkins pipeline from inside a withEnv
In a Jenkins scripted pipeline with the below structure, the return command will exit only the withEnv.
node{
withEnv([...]){
stage('1'){
...
}
stage('2'){
.....
}
if( env.BRANCH_NAME !=…
sgargel
- 244
- 1
- 5
- 12
3
votes
1 answer
How do you hide sensitive information held in variables on a docker-compose file
I am fairly new to DevOps. I have managed to build myself a CI/DI pipeline for my open source project.
As soon as I check-in some code into GitHub, Travis CI takes over, it builds a fresh docker image of my code, pushes it to DockerHub, then the…
J86
- 227
- 3
- 7
3
votes
1 answer
Best practice for Jenkins docker to deploy to other container
I'm currently experimenting with docker with the potential of using it in future professional projects and am a bit confused about best practices.
In my experimental setup I have three docker containers, all currently running on the same server,…
user13102
3
votes
2 answers
Why can this ENV not be found when it is defined in one layer using a Dockerfile?
When the following Dockerfile:
ENV A=123 \
B=$A
RUN echo $B
is run, it results in:
Step 2/2 : RUN echo $B
---> Running in x
---> y
Removing intermediate container z
When two ENV layers are defined:
ENV A=123
ENV B=$A
it works:
Step 2/2 :…
030
- 13,235
- 16
- 74
- 173
3
votes
1 answer
Google Cloud Registry and multiple projects
Is it possible to pull images from the same GCR from multiple GCP projects without making the registry public?
I want to do this so I do not have to upload multiple times the same image to multiple registries so it can be used on different projects.
Navarro
- 183
- 5