gitlab-ci: Fix 'when:' condition in acceptance_test_job_template
commitd3a4e41da25e55b327cc8092f97a6cf02d0b5227
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 27 Jul 2021 14:24:29 +0000 (27 16:24 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 29 Jul 2021 05:56:01 +0000 (29 07:56 +0200)
tree98c77be5c88d69e3b3b9ba1b003f56698746886e
parent9ada9fd2593716cc1c61f2d56bb84bef12056cb1
gitlab-ci: Fix 'when:' condition in acceptance_test_job_template

Jobs depending on another should not use the 'when: always'
condition, because if a dependency failed we should not keep
running jobs depending on it. The correct condition is
'when: on_success'.

Fixes: f56bf4caf71 ("gitlab: Run Avocado tests manually (except mainstream CI)")
Reported-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210727142431.1672530-3-philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/buildtest-template.yml