scheduled jobs should only run jobs that are specifically designated for scheduling #29

Closed
opened 2023-05-27 06:21:42 +00:00 by jon_nfc · 18 comments
jon_nfc commented 2023-05-27 06:21:42 +00:00 (Migrated from gitlab.com)

when a scheduled pipeline runs, only run jobs that are designated for scheduling. see https://gitlab.com/nofusscomputing/ops/-/pipelines/880800741 for an example. only the git_submodule job should have run.

issue discovered during work on nofusscomputing/ops!14

🚧 Tasks

  • job rules default to never
  • adjust logic to include pipeline source push then branch name to ensure only runs on push
when a scheduled pipeline runs, only run jobs that are designated for scheduling. see https://gitlab.com/nofusscomputing/ops/-/pipelines/880800741 for an example. only the git_submodule job should have run. issue discovered during work on nofusscomputing/ops!14 ### :construction: Tasks - [x] job rules default to `never` - [x] adjust logic to include pipeline source `push` then branch name to ensure only runs on push
jon_nfc commented 2023-05-27 06:21:50 +00:00 (Migrated from gitlab.com)

added 5m of time spent

added 5m of time spent
jon_nfc commented 2023-05-27 06:24:17 +00:00 (Migrated from gitlab.com)

mentioned in merge request nofusscomputing/ops!14

mentioned in merge request nofusscomputing/ops!14
jon_nfc commented 2023-05-27 06:35:52 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
jon_nfc commented 2023-05-27 06:35:59 +00:00 (Migrated from gitlab.com)

added 4m of time spent

added 4m of time spent
jon_nfc commented 2023-05-27 06:42:52 +00:00 (Migrated from gitlab.com)

marked this issue as related to nofusscomputing/projects/ansible/git_configuration#9

marked this issue as related to nofusscomputing/projects/ansible/git_configuration#9
jon_nfc commented 2023-05-28 00:49:33 +00:00 (Migrated from gitlab.com)

mentioned in merge request !30

mentioned in merge request !30
jon_nfc commented 2023-05-28 01:00:34 +00:00 (Migrated from gitlab.com)

assigned to @jon_nfc

assigned to @jon_nfc
jon_nfc commented 2023-05-28 01:01:44 +00:00 (Migrated from gitlab.com)

mentioned in commit bade89c533

mentioned in commit bade89c5333ca853844e224f46a2d3dafab7179d
jon_nfc commented 2023-05-28 01:03:11 +00:00 (Migrated from gitlab.com)

marked the checklist item job rules default to never as completed

marked the checklist item **job rules default to `never`** as completed
jon_nfc commented 2023-05-28 01:03:12 +00:00 (Migrated from gitlab.com)

marked the checklist item adjust logic to include pipeline source push then branch name to ensure only runs on push as completed

marked the checklist item **adjust logic to include pipeline source `push` then branch name to ensure only runs on push** as completed
jon_nfc commented 2023-05-28 01:03:45 +00:00 (Migrated from gitlab.com)

work completed in !30

work completed in !30
jon_nfc commented 2023-05-28 01:03:45 +00:00 (Migrated from gitlab.com)

added 2m of time spent

added 2m of time spent
jon_nfc commented 2023-05-28 01:05:03 +00:00 (Migrated from gitlab.com)

mentioned in commit 040a56cd6b

mentioned in commit 040a56cd6bc1131f32c929eaa8b2841b7b6142bd
jon_nfc (Migrated from gitlab.com) closed this issue 2023-05-28 01:05:03 +00:00
jon_nfc (Migrated from gitlab.com) closed this issue 2023-05-28 01:05:03 +00:00
jon_nfc commented 2023-05-28 01:58:11 +00:00 (Migrated from gitlab.com)

Re-opening issue due to following

setting the jobs to pipeline source push prevented jobs that were triggered by upstream pipelines from starting.

see:

# Re-opening issue due to following setting the jobs to pipeline source `push` prevented jobs that were triggered by upstream pipelines from starting. see: - https://gitlab.com/nofusscomputing/projects/ansible-roles/-/pipelines/881109128 - https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/pipelines/881109246 - nofusscomputing/projects/ansible-roles!28 - manually triggered pipelines also dont work see: https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/pipelines/881114631
jon_nfc commented 2023-05-28 01:58:11 +00:00 (Migrated from gitlab.com)

added 5m of time spent

added 5m of time spent
jon_nfc (Migrated from gitlab.com) reopened this issue 2023-05-28 01:59:58 +00:00
jon_nfc commented 2023-05-28 03:24:06 +00:00 (Migrated from gitlab.com)

re closing issue as notes moved to #26 as it's not the same problem this issue was for.

re closing issue as notes moved to #26 as it's not the same problem this issue was for.
jon_nfc commented 2023-05-28 03:24:06 +00:00 (Migrated from gitlab.com)

marked this issue as related to #26

marked this issue as related to #26
jon_nfc commented 2023-05-28 03:24:06 +00:00 (Migrated from gitlab.com)

added 2m of time spent

added 2m of time spent
jon_nfc (Migrated from gitlab.com) closed this issue 2023-05-28 03:24:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: infrastructure/gitlab-ci#29
No description provided.