Support unit testing for pipeline development

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

Users consider Pipelines critical to their deployment infrastructure and would like to unit test the pipelines themselves so that they can verify the functional correctness of the pipelines.

Proposal

Complementary/Alternative Solutions

Gitlab offers features like Pipeline Simulation and Linting the CI Yaml file to help with pipeline testing. Also, see a potential workaround using Dynamic Child Pipelines.

Intended users

Priyanka, Platform Engineer

  • Reduce the time it takes to do pipeline development.
    • Instead of adding/modifying/trying out stages which can take minutes or even longer with each cycle (for example if you require output from upstream jobs or previous stages) you can just execute your unit test which runs within a few seconds

See customer interest: https://gitlab.com/gitlab-com/account-management/emea/deutsche-bahn/collaboration-project-deutsche-bahn/-/issues/8

Feature Usage Metrics

Does this feature require an audit event?

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖