Most Popular

1500 questions
6
votes
2 answers

How do I prevent a given GitHub Workflow from being launched twice from two almost simultaneous events?

I have a repo, in which there is one folder at the root with a Makefile to build a C library. In the same repo, there is another folder at the root with a folder with another Makefile for building a node C addon via Node-API, and a small JS/TS API…
6
votes
5 answers

What tools do you use to monitor applications and business-specific data? (apart from Jenkins)

Currently, we use Jenkins to run small node.js scripts in order to check if applications are doing what they're supposed to. Like, we have some routines which should run in an interval and we need to check if these routines have run and have done…
user3220
  • 61
  • 4
6
votes
1 answer

What are the responsibilities of a project manager in a DevOps project?

A project in DevOps should logically change the management mechanisms. What are the responsibilities of a project manager in a DevOps project ? Note: A project DevOps of what I understand is a project that has a beginning and an end, it is a…
AED
  • 161
  • 4
6
votes
3 answers

Does full automation still provide a better ROI at small scales?

Obviously, Automated configuration management and deployment makes sense at large scales when you need to manage hundreds of servers and you need those servers to be identically configured to a consistent standard. However, in situations where…
James Shewey
  • 3,734
  • 1
  • 15
  • 38
6
votes
3 answers

Terragrunt Linter

I'm having troubles using HCL files at VSCode. When I open the HCL file the indentations are messy. So I fix it and close the file, when I open again...messy again... Someone know a add-ons to works with HCL files? The official Terraform from…
Vader
  • 466
  • 3
  • 15
6
votes
1 answer

What are best practices to override complete sections using docker-compose?

The docker-compose.override contains: volumes: - ./a:/path/to/a The docker-compose: volumes: - a:/path/to/a When docker-compose up is run the override overwrite the ./a overwrites the a. When a new volume is added to docker-compose, the…
030
  • 13,235
  • 16
  • 74
  • 173
6
votes
1 answer

Ansible: register variable with loop

What’s the best way to use registered variable ‘audit_tools’ to check if all items are own by root ? Do I need to use Jinja2 filter or something ? Thanks - name: Verify audit tools are own by root user. block: - name: check if audit tools are…
sudoi
  • 61
  • 1
  • 4
6
votes
3 answers

Do Docker containers take up space?

When I list my Docker images, I can see their sizes: $ sudo docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE travisci/ci-ubuntu-1804 packer-1606831264-7957c7a9 0a7a71407638 8 days ago …
BenMorel
  • 198
  • 1
  • 8
6
votes
2 answers

Kubernetes configuration with yaml anchors

I have a deployment.yaml file and want to reuse the environment for all my deployments like this: apiVersion: apps/v1 kind: Deployment metadata: name: beat spec: selector: matchLabels: app: beat template: metadata: labels: …
Most Wanted
  • 671
  • 8
  • 18
6
votes
1 answer

Does the "cattle not pets" distinction apply as equally to machine instances as to containers?

There is a great discussion of the Cattle vs Pets distinction from Randy Bias here. Martin Fowler talks about a SnowFlakeServer. In a series of talks, Adrian Cockcroft talks about how they moved toward Cattle Servers for solving a scalability…
hawkeye
  • 1,143
  • 1
  • 9
  • 14
6
votes
1 answer

ansible error: skipping: no hosts matched

I've tried a few variations on running ansible locally as a test case: nicholas $ nicholas $ ls ansible.cfg ansible.cfg.orig first_playbook.yml inventory.txt playbook.yml nicholas $ nicholas $ cat ansible.cfg [defaults] transport =…
Nicholas Saunders
  • 375
  • 2
  • 10
  • 21
6
votes
3 answers

Baking Immutable Images

I am working on a project and we are trying to bake immutable images on containers as IaC. These images can have J2EE, .NET or Python apps on it. All OS patches should be applied to this image frequently and app updates should be also updated on…
6
votes
3 answers

Alarms management with Elasticsearch and Kibana

I'm working on my first implementation of the Elasticsearch-Logstash-Kibana stack. I have everything working, but now I need to: Set alarms on certain thresholds/events Send notifications on alarms (desirable) Manage alarms from within Kibana (i.e.…
niglesias
  • 205
  • 2
  • 8
6
votes
5 answers

How to determine if a Jenkins build is triggered by a Pull Request merged to Master

I think i've scoured every post on this topic but haven't found my specific scenario. (Maybe that means I'm building the wrong thing OR i've built something unique and new? The former is far more likely) I have a multibranch pipeline in Jenkins…
Max Cascone
  • 181
  • 1
  • 1
  • 6
6
votes
1 answer

Deriving an item value from a structured file in Zabbix

Zabbix's builtin items for monitoring system parameters are reasonably rich, but there are occasionally things it doesn't seem to make trivial to obtain, such as how many dirty cache pages there are. For example, consider /proc/meminfo on your…
Michael Mol
  • 1,045
  • 1
  • 8
  • 19