Jenkins – SSH Keys and GitLab Checkout
In this post, I will show how to configure SSH keys between GitLab and Jenkins, to facilitate script checkout and make the connection more secure, so we stop using http…
Jenkins – Shared Libraries
In this post, I want to show you how to use the Shared Libraries feature in Jenkins. In short, you can create libraries / classes in Groovy and use them…
Python – Yaml Lint
On the same theme as the previous post, I want to show another snippet of code in Python, this time, to “lint” the Yaml file, this should also be very…
Python – YAML validation with Json Schema.
In this post, I want to show another piece of Python code, now, to validate a YAML file against a JSON Schema. There are very good Schema JSON generators, I…
Jenkins – Container Reuse between Stages.
Here in this post, I want to show a simple example of a pipeline, but how to work in different Stages with the same Docker Container, using files/products between the…
Base image for Docker/Python
This is the first base image for Docker and Python that I will create, so I will create others according to the need, but no longer manual, they must all…
Python – Execute command in Docker Container.
Following the line of the previous post () in this one I will show another piece of code, which will also be very useful in the next posts. How to…
Python – Copy file from host to Docker Container
In this post I will leave here a piece of code in Python, which will be useful soon, like copying any file to a container that is running. The Docker…
Jenkins – Docker as a pipeline agent.
In another step in configuring Jenkins for pipelines, in this post I will show how to use Docker Container as an Agent, K8s Pods can also be used, but I…
Jenkins – Pipeline source from GitLab.
In the last post, I showed how to integrate Jenkins with Gilab, to trigger a pipeline. Everything is working, but the declarative pipeline script is fixed in the Pipeline configuration,…