How to control test triggers in GitLab for your projects

Here is a video tutorial Introduction There are multiple ways to stop GitLab from automatically starting tests upon any commit in a project. Using conditional variables in the .gitlab-ci.yml file to define when tests should be run is one of the easiest methods. Here are some illustrations of how to do this: ...

June 9, 2024 · 2 min · 415 words · sysadmin

Using a Domain Name Instead of IP Address in GitLab Continuous Integration/Continuous Development Pipeline

Here is a video tutorial Introduction To use a domain name instead of an IP address in the .gitlab-ci.yml pipeline in GitLab for cloning repositories, follow the steps below to configure your system accordingly. Step-by-Step Guide Adding SSH Key to User’s SSH Keys Section in GitLab To ensure secure and proper access to your GitLab repository, follow these steps to remove the public ed25519 key from the project’s deploy keys section and add it to a user’s SSH keys section. ...

May 31, 2024 · 8 min · 1666 words · sysadmin

Migrate Jenkins to GitLab

Here is a video tutorial Introduction You can organize and execute your tests right within GitLab with GitLab Continuous Integration/Continuous Development, which frequently eliminates the requirement for Jenkins. Robust features that address a variety of continuous integration and delivery demands are provided by GitLab Continuous Integration/Continuous Development. The following are some arguments in favor of using GitLab Continuous Integration/Continuous Development over Jenkins: ...

May 30, 2024 · 19 min · 3881 words · sysadmin

Managing Docker Build Arguments and Environment Variables in Jenkins Pipelines

Here is a video tutorial Introduction In this tutorial, we will explore how to properly manage Docker build arguments and environment variables within Jenkins pipelines, focusing on the differences between defining Docker settings in the agent block versus within pipeline stages. We will use two Jenkins pipeline examples to illustrate common issues and their solutions. ...

May 25, 2024 · 12 min · 2533 words · sysadmin

Jenkins and Nexus OSS - Managing NPM Authentication

Here is a video tutorial Introduction In the Nexus OSS version, there is no native option to generate API tokens for users. However, we can work around this issue by creating a user specifically for npm and using their credentials in the .npmrc file. Here’s how to do it: ...

May 24, 2024 · 13 min · 2616 words · sysadmin

Master Multi-Website Test Automation with Jenkins, GitLab, Docker, Taiko, and Gauge

Taiko repository Taiko API Here is a video tutorial Introduction In this tutorial, we will walk through the process of setting up automated tests for AWX and ArgoCD using Jenkins, GitLab, Docker, Taiko, and Gauge. This guide assumes you have basic knowledge of these technologies and have them installed on your virtual machines. ...

May 22, 2024 · 8 min · 1600 words · sysadmin

Automating Taiko and Gauge Tests Using Jenkins, GitLab and Docker - A Complete Tutorial

Taiko repository Taiko API Here is a video tutorial Introduction In the introduction, you have a shortened version of what needs to be done as an outline of the whole. Environment Preparation Install: Jenkins [10.10.0.124] GitLab [10.10.0.119] Docker [10.10.0.121] Configure the environment by connecting Jenkins with Docker and GitLab. Read all articles about Jenkins on sysadmin.info.pl. Pay attention to the difference related to the user (instead of the jenkins user, we will use the root user - below you will find an explanation why) when adding a node from Docker to Jenkins. There is a known issue with permissions. Basically, the user you are configuring, when you are connecting to the Docker node in Jenkins node configuration, should be set as root, not as jenkins. The problem is related to GID for user inside the Docker container. If the user on a host (Docker node) has a different GID than a user inside the Docker container, you cannot copy files back and forth between the Docker container and host due to two different GIDs, leading to a permission denied error inside the Jenkins job’s log. You will find more here: persistent volume permissions issue 1. GitLab Configuration Generating SSL certificate - Generate a self-signed SSL certificate and add a path for key and crt files into gitlab.rb. ...

May 21, 2024 · 17 min · 3568 words · sysadmin

Nexus Repository Manager on Debian - Installation, Configuration, and Removal

Nexus repository My Nexus repository that contains Bash scripts Here is a video tutorial Prerequisites Ensure you have root privileges or are in the sudoers group before running the scripts. Step 1: Make the Scripts Executable First, make both the installation and removal scripts executable. 1 2 chmod +x setup_nexus.sh chmod +x remove_nexus.sh Step 2: Run the Installation Script Run the setup script with superuser privileges to install Nexus and Java. ...

May 15, 2024 · 9 min · 1727 words · sysadmin

Pushing your first Taiko project to GitLab - a detailed walkthrough

Taiko repository Taiko API Here is a video tutorial How to Push the Taiko Project into GitLab Repository Step-by-Step Guide Step 1: Open GitLab Open your web browser. Go to your GitLab instance URL and log in with your credentials. Step 2: Create a Project in the Developers Group Once logged in, navigate to the top menu and click on Projects. Click Create new project. Step 3: Choose “Create blank project” Select Create blank project. Step 4: Ensure the Project is Created in the Developers Group In the Project name field, enter your project name (e.g., awx-taiko). Under Project URL, make sure the namespace (group) is set to developers where your user is added. Click Create project. Step 5: Configure Git and Set Up the Repository You can get started by cloning the repository or start adding files to it with one of the following options. You can also upload existing files from your computer using the instructions below. ...

May 14, 2024 · 3 min · 526 words · sysadmin

Enhance Your First AWX Test with Gauge and Taiko in Visual Studio Code

Taiko repository Taiko API Here is a video tutorial Creating Automated Tests with Gauge and Taiko: Logging into AWX Welcome to this lesson, where we’ll walk you through utilizing Gauge and Taiko to create a basic automated test. This test will carry out basic tasks and automate the AWX administration interface login process. The main goal of this article is to automate a test that opens the AWX (Ansible AWX) login screen, inputs credentials, and then completes a basic activity, such cleaning tasks. ...

May 14, 2024 · 4 min · 726 words · sysadmin