Most Popular
1500 questions
4
votes
4 answers
Yaml linting failling when jinja is used
I am using https://yamllint.readthedocs.io/en/stable/index.html to lint my yaml files (used in a saltstack context, and linted by jenkins jobs at every commit), but as reported and explained here, it is not possible to validate a yaml file in which…
Pier
- 344
- 4
- 16
4
votes
1 answer
How can I push multiple containers, created with docker-compose, to a registry
I am using Jenkins pipeline and run a shell command to bring up my linked containers for testing. Once the testing is complete, I want to push the containers to a registry (I would prefer AWS ERC, but at this point I will take any working examples).…
Rick james
- 141
- 1
- 4
4
votes
1 answer
How many builds does jenkins need to run before it has estimated times?
We just updated our Jenkins to v2.207.1 and our build estimation times on pipeline jobs have stopped showing up. Rather than a blue bar that when hovered over shows an estimate, we are now seeing the blue-and-white striped barber pole and an…
Alex
- 4,512
- 6
- 27
- 47
4
votes
1 answer
Docker managers are losing quorum on AWS
I have deployed Docker EE on AWS by choosing the package directly from the AWS Marketplace: Docker EE for AWS (Standard/Advanced) - BYOL. The cluster has been successfully launched and deployed on AWS.
After deploying several stacks on the UCP…
ibedelovski
- 151
- 3
4
votes
1 answer
Is it possible to keep all the DSC configurations in Version Control and make Azure Automation fetch it from there automatically?
The Azure Automation DSC seems to know to integrate with GitHub, but it seems to expect only runbooks there. At least, this is what I understand from the following UI screen:
I have just started to learn DSC and have no runbooks. So far I only used…
mark
- 191
- 5
4
votes
2 answers
Deploy to server after merge to master branch
I currently have continuous deployment set up with a Travis CI job. All pushes are sent to the staging server and merges to the master to the production server. The problem is that the deployment to the production server is done before the merge is…
Moritz
- 1,217
- 2
- 11
- 24
4
votes
2 answers
CloudWatch trigger for a range of GuardDuty severities
I want to edit my CloudWatch rule so that it only triggers an SNS topic for "GuardDuty findings" that fall in the High severy range, defined by AWS as the value of the severity parameter in the GetFindings response falls within the 7.0 to 8.9…
Danny Schoemann
- 451
- 5
- 19
4
votes
2 answers
Docker MongoDB image - How to specify credentials other than in the compose file?
I'm using this docker image https://hub.docker.com/_/mongo/. That image provides a way of initializing a mongodb root database user with env variables which I can specify in the compose file as follows:
environment:
- MONGO_INITDB_DATABASE=db
-…
joe.js
- 143
- 1
- 5
4
votes
1 answer
Robocopy is Running Slowly on Jenkins Server
I'm working to automate the deployment process for a Fullstack application using Jenkins. The app is deployed on a Windows Server. The .cmd script I have to automatically deploy the app is this:
@ECHO OFF
REM SET THE PARAMETERS FOR THE SCRIPT TO…
Joseph Faulkner
- 43
- 4
4
votes
1 answer
Microservices terminology i.e. distinguishing between "core " and "other service instances"
In a standard cloud based microservice application, there could be two main categories of microservices:
core services such as service registry & discovery, api-gateway, load-balancer etc.
service instances e.g customers, billing and postage…
SyCode
- 270
- 1
- 8
4
votes
1 answer
How to apply DRY to k8s files?
At the moment there are more than 100 different deployment files. The majority of the config is identical, but there are some differences and therefore every docker image has its own deployment template. If a change has to be made to one of the…
030
- 13,235
- 16
- 74
- 173
4
votes
1 answer
In ansible how to select specific tasks in a role according to the playbook or a more general parameter?
My understanding of Ansible roles is that they are the unit of reusability when implementing processes using Ansible, similarly to what a class or a package is in some computer languages.
It therefore seems natural to use roles to make all tasks…
Michaël Le Barbier
- 2,620
- 1
- 15
- 26
4
votes
1 answer
How do I provision a Windows Docker container with Ansible?
I want to provision a Windows Docker container with Ansible, but I am confused about how exactly it will work.
For instance if I use Packer with Linux, I know I can run ansible (which is ansible remote) and ansible-local. I have to build my Windows…
David West
- 1,463
- 3
- 16
- 25
4
votes
2 answers
how to control pod termination speed in kubernetes
I have a k8s deployment that I update by doing kubectl apply -f spec.yml. I use the default update strategy.
Whenever I update, new pods get created and the old ones eventually get deleted.
This is what kubectl get pods looks like a few seconds…
Assaf Lavie
- 1,241
- 11
- 17
4
votes
1 answer
Does Oracle have an API that shows the latest stable JDK version?
There is an ansible role that installs jdk8, but is incompatible with jdk9. The role parses a couple of html pages and the commands are incompatible with java9. It was quite hard to make it work for jdk9, and now the PR is broken for…
030
- 13,235
- 16
- 74
- 173