Jenkins – Agents in Kubernetes.
Hello! In this post, I want to show another step in using and configuring Jenkins in this project.Use a Kubernetes cluster as a Jenkins Agent. Here with an important point,…
Ansible – Dynamic inventory with Python.
Hello, in this post, I want to show another small code example, which I will use a lot in this project. One problem that Ansible has, in my opinion, is…
Ansible – External calls (vars, files, templates, playbooks and tasks)
Hello, in this post, I want to show a small example of how to use external files in the playbook in Ansible: What is the intention of this example? I…
Ansible – File Encryption in Ansible Vault
In this post, like the previous one (Ansible – Secrets in Ansible Vault), I want to show how to use Ansible Vault encryption, but this time, for an entire file.Encrypting…
Vagrant – Custom Image/Box (Base Image)
Just like Docker or Kubernetes, Vagrant also uses initial “images” to create VMs, but in the case of Vagrant, called Box. Creating base images, with certain customized configurations, is a…
Ansible – Secrets in Ansible Vault
GitHub: https://github.com/faustobranco/devops-db/tree/master/knowledge-base/ansible/secrets In this post, I want to show how to use Ansible Vault to encrypt sensitive content in playbooks. For example, username, password, some key, IP, etc. Of course,…
[Deprecated] Architecture vs. support services
Architecture I have been evaluating some of the simplest Kubernetes solutions for local use, but as I have a major hardware limitation to create the lab, Microk8s responded better to…
Groovy – Call python script with Stream result
In this post, I will show another way to call scripts or shell commands via Groovy. This time using Java’s ProcessBuilder, using the InputStreamReader to collect returns, but using the…
Groovy – Copy file to Docker Container
In this post, in addition to the previous one, I want to show how to copy a file into a Docker Container in Groovy / Java, this will be very…
Groovy – Run command in Docker Container
Hello! In this post I will show, in a piece of code, how to execute commands in Docker containers in Groovy or Java. As a dependency, the GitHub library com.github.dockerjava…