Explore using Remote Pipeline Test Framework to verify pipeline configuration
Objective
Explore if it's possible to test pipeline configurations of gitlab-org/gitlab
using Remote Pipeline Test Framework: https://gitlab.com/sri-at-gitlab/projects/remote-pipeline-test-framework/framework/-/blob/master/readme.md
Dropping a link here to Remote Pipeline Test Framework as it seems relevant to the conversation: https://gitlab.com/sri-at-gitlab/projects/remote-pipeline-test-framework/framework/-/blob/master/readme.md
Since this framework runs actual pipelines, if we don't intend to trigger real pipelines, we might be able to update this framework to simulate it, for example, DRY_RUN=true
.
It is possible to setup test projects that accept variables, for instance MOCK=true, and the pipeline respects these variables. Perhaps that's a way forward.
- Original discussion: gitlab-org/gitlab#330731 (comment 589934738)