Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,13 @@ test_smoke:

test_ssi_smoke:
extends: .test_job
rules: *master_only
rules:
- if: $CI_COMMIT_BRANCH == "master"
when: on_success
- if: '$CI_COMMIT_BRANCH =~ /^mq-working-branch-/'
when: on_success
- if: '$CI_COMMIT_BRANCH =~ /^gh-readonly-queue/'
when: on_success
Comment on lines +773 to +779
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about to introduce a rule master_and_mq_only ? similar to master_only and reuse it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you override job rules with *master_only (or *master_and_mq_only), you can't append other rules alongside it, so it wouldn't be reusable in other existing jobs.

We could still put it here for readability ? Or leave it for the future when another job with the same rules is defined

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My idea was that probably we would have more than 1 place that will be master + MQ ONLY filter...
So it is not override, but just do not repeat your self?
Would it make sense?

Copy link
Copy Markdown
Contributor Author

@sarahchen6 sarahchen6 Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other jobs that have master + MQ (here and here) also have a few other specifications, so we only have this one instance of master + MQ 😬

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK than!

variables:
GRADLE_TARGET: "stageMainDist :smokeTest"
CACHE_TYPE: "smoke"
Expand Down
Loading