Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elezar
Copy link
Member

@elezar elezar commented Jul 17, 2024

No description provided.

@elezar elezar requested a review from shivakunv July 17, 2024 09:53
Copy link
Contributor

@shivakunv shivakunv left a 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
Copy link
Collaborator

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.

Copy link
Member Author

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.

Copy link
Collaborator

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.

Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants