From 44b62fe575c3e4dd02ffc9a5a8f5fc173fab6596 Mon Sep 17 00:00:00 2001 From: Jakub Sujak Date: Sun, 22 Sep 2024 23:14:14 +0100 Subject: [PATCH] Run CI pipeline on new tags Runs the full CI pipeline whenever a new tag is created to verify the quality of the tag. Signed-off-by: Jakub Sujak --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9c625c7..541cb652 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ default: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_TAG workflow: auto_cancel: @@ -169,6 +170,7 @@ test-remote: # Run the job only for a public pipeline rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_SERVER_HOST == 'gitlab.arm.com' + - if: $CI_COMMIT_TAG && $CI_SERVER_HOST == 'gitlab.arm.com' stage: test needs: [] when: manual -- GitLab