Include tag message as a CI CD pipeline variable
What does this MR do and why?
Introduces the CI variable $CI_COMMIT_TAG_MESSAGE
variable.
The other variable $CI_RELEASE_DESCRIPTION
is covered in !98447 (merged)
Documentation inclusion for both variables will be covered in a separate MR.
Related to #22831 (closed)
Screenshots or screen recordings
release_tag_message_ci_variable
How to set up and validate locally
image: alpine:latest
stages:
- test
prod:
stage: test
script:
- echo "Commit tag message is $CI_COMMIT_TAG_MESSAGE"
- Use the above simple CI configuration to a test project in local and create an annotated tag and trigger a pipeline.
- The job logs should include the variable message being printed when echoed as shown in video above.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Bala Kumar