Jump to content

KEcoLab/Developer Docs/CI CD Pipeline

From KDE Community Wiki
Revision as of 12:06, 1 April 2025 by Rupa-rd (talk | contribs) (CI/CD pipeline page is created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

Continuous Integration and Continuous Development(CI/CD) pipelines automate the process of building, testing and deploying software. This project leverages GitLab’s CI/CD pipelines to automatically measure and analysis the software’s energy consumption through a set of process. This pipeline not only ensures the application's functionality but also provides valuable insights into its energy footprint under various usage scenarios.

Pipeline Triggers and Rules

The execution of a GitLab CI/CD pipeline is typically triggered by specific events. This configuration is written in .yaml file. For this project, the rules keyword is used in each stage (build, energy_measurement, and resul) with the following condition: