Trigger pipelines by using the API

When you join a new project, company, customer, etc. (you’re still in the onboarding phase 😅), meanwhile you may find that you need to make a few changes to get your team’s production pipelines up and running. In this case, you can call an API trigger from one project to another (this is just a example). I’ve been in the situation described above before, and it was how I discovered this amazing feature in GitLab....

2023-07-15

Mastering GitLab CI/CD, Unleashing the Power of Pipelines

Hey everyone! 👋 I hope you’re all having a fantastic summer time! 🌞 I wanted to drop a quick note to let you know that I’m currently working on something special for all my fellow developers/operations and GitLab enthusiasts out there. 🤓✨ In the upcoming posts, I’ll be sharing a treasure trove of valuable tips and tricks related to GitLab pipelines! based in my experiences 🏗️ Whether you’re a seasoned pro or just getting started with GitLab CI/CD, there’s bound to be something for everyone....

2023-06-16

Fixing tags on Azure invoices

Merging two CSV files using Pandas in Python 3 on Linux is a quick and easy process that can save you a lot of time and effort, however in my case I used other script to extract specific tag values from a CSV file, converts them into a JSON object, and writes them to a new CSV file, in that way I provided a workaround for those tags wanted....

2023-02-21

Cloining a repo and setting up as artifact

On this post I will give you an example of how to clone a repo into your pipeline and use it for other jobs. As you can read from Gitlab official documentation artifact can output an archive of files/directories. I set the following example: artifacts: paths: - <project_name> exclude: - <project_name>/.git/**/* expire_in: 60 seconds We need to call the artifacts by using “artifacts” keyboard in the pipeline, in this example paths keyboard which files/directories add into artifacts....

2022-12-20

Trigger pipelines in Gitlab

The following post is example of how to activate and use Trigger pipeline by API the official documentation over here as it mentioned is can be use “to trigger a pipeline for a specific branch or tag”; for our example I use it to activate a pipeline into specific branch. Steps: repoA will be the main one where the pipeline trigger it will be activate From repoA go to Settings-CI/CD-Pipeline triggers Click on “add trigger” copy your token From repoB that will be our caller of the repoA pipeline create a variable where you can paste the token....

2022-11-10

How setup a Gitlab Runner (CI)

Part I - I’m learning Gitlab Runner and how them works on CI implementation. GitLab Runner is an application that works with GitLab CI to run jobs in a pipeline, they are written in GO Summary the task I will do: Install Gitlab-runner as container(podman). Runner registration. Enter the GitLab instance URL registration token. runner description. tags. Select an executor. Create a gitlab-ci.yml Install runner: Create the Volume: podman volume create gitlab-runner-config Pull and start the container by register command, then we will prompt the data need for register the runner into the project....

2021-12-08

How to set you SSH key into Gitlab

How to set you SSH key into Gitlab [First you need to had installed Git onto your distro] Go to your terminal and issue the follow command to generate your key: $ssh-keygen Copy your public key from the route: /home/user/.ssh/id_rsa.pub Then go at your gitlab profile https://gitlab.com/profile/keys/ a paste and save. From the terminal test the conection by typing: $ssh -T git@gitlab.com and if everything was fine it has to promt –> Welcome to GitLab, @user_account!...

2019-12-26