Automagic releases #46

Open
opened 2024-01-19 10:37:58 +00:00 by jon_nfc · 1 comment
jon_nfc commented 2024-01-19 10:37:58 +00:00 (Migrated from gitlab.com)

create a feature that enables automagic releases. idea is that after x period of time the dev branch be auto merged to the master branch to create a release. This feature would require a feature gatr to prevent auto-merge for instance if a bug is reported for an item that has not yet been released. This then prevents an item that is yet to be release that has a bug, will not be released to production.

idea for workflow

  • check if there are commits to merge dev -> master

    • no Take no further action

    • yes continue workflow

  • check if there are bug reports for branch dev

    • Yes

      • Take no further action
    • no Continue workflow

  • Create MR

  • Merge

The check for bug reports can entail a tag on the issue that has the current release version of the master branch. Any Issue raised that has this tag and it matches the current released version, no merge will be done.

Requirements

  • update the release job to create gitlab project labels on release. This label should be the release version.

    this feature should be opt in by default so as to not effect any current use of the release jobs.

create a feature that enables automagic releases. idea is that after x period of time the dev branch be auto merged to the master branch to create a release. This feature would require a feature gatr to prevent auto-merge for instance if a bug is reported for an item that has not yet been released. This then prevents an item that is yet to be release that has a bug, will not be released to production. #### idea for workflow - check if there are commits to merge dev -> master - **no** Take no further action - **yes** continue workflow - check if there are bug reports for branch dev - **Yes** - Take no further action - **no** Continue workflow - Create MR - Merge The check for bug reports can entail a tag on the issue that has the current release version of the master branch. Any Issue raised that has this tag and it matches the current released version, no merge will be done. #### Requirements - [ ] update the release job to create gitlab project labels on release. This label should be the release version. > this feature should be opt in by default so as to not effect any current use of the release jobs.
jon_nfc commented 2024-01-19 10:37:58 +00:00 (Migrated from gitlab.com)

added 10m of time spent

added 10m of time spent
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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