gitlab release on master should only occur on_success #16

Closed
opened 2022-01-25 08:43:46 +00:00 by jon_nfc · 9 comments
jon_nfc commented 2022-01-25 08:43:46 +00:00 (Migrated from gitlab.com)

no release should occur on master branch if previous step fails, i.e a unit test.

adjust lines 45-54

    rules:
        - if: "$CI_COMMIT_AUTHOR =='NFC CI <CI@nfc-gitlab>'"
          when: never
        - if: "$CI_COMMIT_AUTHOR =='NFC CI <helpdesk@nofusscomputing.com>'"
          when: never
        - if: '$CI_COMMIT_BRANCH == "master"'
          when: on_success
          allow_failure: false
        - if: '$CI_COMMIT_BRANCH == "development"'
          when: manual
          allow_failure: true
        - when: never


fix as part of mr !17

no release should occur on master branch if previous step fails, i.e a unit test. adjust [lines 45-54](https://gitlab.com/nofusscomputing/projects/gitlab-ci/-/blob/34582a79e1749fcebae107d275d9d2bd530e5250/gitlab_release/.gitlab-ci.yml#L45-L54) ```yaml rules: - if: "$CI_COMMIT_AUTHOR =='NFC CI <CI@nfc-gitlab>'" when: never - if: "$CI_COMMIT_AUTHOR =='NFC CI <helpdesk@nofusscomputing.com>'" when: never - if: '$CI_COMMIT_BRANCH == "master"' when: on_success allow_failure: false - if: '$CI_COMMIT_BRANCH == "development"' when: manual allow_failure: true - when: never ``` fix as part of mr !17
jon_nfc commented 2022-01-25 08:45:13 +00:00 (Migrated from gitlab.com)

mentioned in merge request !17

mentioned in merge request !17
nfc_bot commented 2022-08-26 01:12:52 +00:00 (Migrated from gitlab.com)

mentioned in issue nofusscomputing/ops#55

mentioned in issue nofusscomputing/ops#55
nfc_bot commented 2022-09-26 00:31:13 +00:00 (Migrated from gitlab.com)

mentioned in issue nofusscomputing/ops#67

mentioned in issue nofusscomputing/ops#67
jon_nfc commented 2023-05-14 02:17:53 +00:00 (Migrated from gitlab.com)

mentioned in commit e76378dd06

mentioned in commit e76378dd068e200a1198f1811efb9d3bec7878f5
jon_nfc commented 2023-05-14 02:46:34 +00:00 (Migrated from gitlab.com)

assigned to @jon_nfc

assigned to @jon_nfc
jon_nfc commented 2023-05-14 02:46:54 +00:00 (Migrated from gitlab.com)

this issue will be fixed in !21

this issue will be fixed in !21
jon_nfc commented 2023-05-14 02:46:54 +00:00 (Migrated from gitlab.com)

added 5m of time spent

added 5m of time spent
jon_nfc commented 2023-05-14 04:43:10 +00:00 (Migrated from gitlab.com)

this issue will be fixed in !21

this issue will be fixed in !21
jon_nfc commented 2023-05-14 06:32:22 +00:00 (Migrated from gitlab.com)

mentioned in commit a073dd0bad

mentioned in commit a073dd0bad691992d0b8618ff0616175031a669a
jon_nfc (Migrated from gitlab.com) closed this issue 2023-05-14 06:32:22 +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#16
No description provided.