-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[no-relnote] Only trigger signing jobs on tags #35
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Evan Lezar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
IMAGE_TAG: "${SIGN_JOB_NAME}${CI_COMMIT_TAG}" | ||
- when: always | ||
IMAGE_TAG: "${CI_COMMIT_TAG}" | ||
- if: $CI_COMMIT_TAG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, we have a duplicate if: $CI_COMMIT_TAG
conditional in the .sign:ngc
template. We need to make sure this is defined only once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you clarify what you mean by "this" here? It is my understanding that rules in gitlab CI are evaluated top to bottom and triggered on the first match. Rules that follow are not evaluated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the rules defined in sign:ngc
evaluated before the rules defined in .sign:ngc
? If that is the case then we can resolve this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we define rules
here, these override the rules
in the base definition. We are NOT extending the rules but replacing them.
No description provided.