Skip to content

Update slack bookmark on releases channel

Mayra Cabrera requested to merge update-slack-bookmark-on-releases-channel into master

What does this MR do and why?

Update slack bookmark on releases channel

Patch releases were repurposed to include bug and security fixes, deprecating the term 'security release'. This commit adjusts the logic to update the '#releases' bookmark to use 'Patch release' instead of 'security release'

Related to gitlab-com/gl-infra/delivery#20093 (closed)

Test

[1] pry(main)> channel = ReleaseTools::Slack::RELEASES
=> "C0XM5UU6B"
[2] pry(main)> bookmarks = ReleaseTools::Slack::Bookmark.list(channel: channel)['bookmarks']
=> [{"id"=>"123",
  "title"=>"Maintenance policy",
  "link"=>"https://docs.gitlab.com/ee/policy/maintenance.html"...},
  ....
[3] pry(main)> bookmarks.find do |bookmark|
[3] pry(main)*   bookmark['title'] == 'Next Patch Release'
[3] pry(main)* end
=> {"id"=>"123",
 "title"=>"Next Patch Release",
 "link"=>"https://gitlab.com/gitlab-org/gitlab/-/issues/455378",
 "emoji"=>":lock:",
  ...}

Author Check-list

  • [-] Has documentation been updated?
Edited by Mayra Cabrera

Merge request reports