Skip to content

Fix various bugs when tracking deployments

Yorick Peterse requested to merge fix-release-tracking-bugs into master

This fixes the following issues in the deployment tracking code:

  1. "environments" was used instead of "env" in release.rake.
  2. GET parameters were not supplied correctly in ReleaseTools::GitlabClient.deployments.
  3. Adding a comment that consists out of just a slash command is rejected by the API. To work around this we now use the merge request edit API to add the workflow labels.
  4. The commit range for QA issues was returned in the wrong order: latest..previous instead of previous..latest
  5. In release.rake we used the wrong constant for notifying merge requests of deployments to the pre environment.

Merge request reports