Skip to content

Always test all proposed pipeline changes

Major Hayden requested to merge test-proposed-changes into master

The pipeline is set to always pull scripts from the master branch of pipeline-definition, but this does not allow changes to those scripts to be tested when a merge request is made.

Instead, detect when the pipeline-definition CI has specified a branch to test and use the correct branch for testing.

As a test to ensure this works, move the functions from before_script into its own shell script file and migrate the prepare scripts there as well.

Signed-off-by: Major Hayden major@redhat.com

Edited by Major Hayden

Merge request reports