Skip to content

Update `security:publish` to consider a version argument

Mayra Cabrera requested to merge fixes-security-publish-task into master

What does this MR do and why?

Update security:publish to consider a version argument

On gitlab-com/gl-infra/delivery#2783 (closed), the security:publish task was updated to publish one version at a time. During the last execution of the publish task this didn't happen, instead, the three versions were published in one run, job log for reference: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/9644960:

2023-03-30 20:50:52.636837 I ReleaseTools -- Publishing 15.10.1
....
2023-03-30 21:08:18.566395 I ReleaseTools -- Publishing 15.9.4
....
2023-03-30 21:24:24.694027 I ReleaseTools -- Publishing 15.8.5

This MR:

  • Updates the security:publish task to accept version arguments
  • Adjust the security publishes services so they can run in dry_mode (this will be useful for testing purposes)

Author Check-list

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

Merge request reports