]> xenbits.xensource.com Git - xen.git/commitdiff
CI: Change pipeline name for scheduled pipeline
authorAnthony PERARD <anthony.perard@vates.tech>
Thu, 27 Mar 2025 10:34:01 +0000 (10:34 +0000)
committerAnthony PERARD <anthony.perard@vates.tech>
Fri, 28 Mar 2025 10:04:16 +0000 (11:04 +0100)
This description is already displayed on the web UI of the list of
pipeline, but using it as "name" will make it available in webhooks as
well and can be used by a bot.

This doesn't change the behavior for other pipeline types, where the
variable isn't set.

Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
.gitlab-ci.yml

index b3beb2ff9ddf3fa4976f2f432c1c62ea9118a9cb..7974ac4e82bc278a4b3b7ea32684cde183d4d289 100644 (file)
@@ -4,6 +4,7 @@ variables:
     description: "Regex to select only some jobs, must be enclosed with /. For example /job1|job2/"
 
 workflow:
+  name: "$CI_PIPELINE_SCHEDULE_DESCRIPTION"
   rules:
     - if: $CI_COMMIT_BRANCH =~ /^(master|smoke|^coverity-tested\/.*|stable-.*)$/
       when: never