Skip to content

Add `watch-gitlab-deployments.sh`

Graeme Gillies requested to merge ggillies/add-watch-gitlab-deployment into master

What does this MR do?

Part of gitlab-com/gl-infra/delivery#1626 (closed)

Currently we have no insight or output from helm about what happens during a helm release being applied.

In order to try and restore some visability, we will add a script under bin called watch-gitlab-deployments.sh which will get executed in the background during helmfile sync (apply) jobs. This will give some output about the status of all deployments in the gitlab namespace during an apply job.

This isn't a perfect solution, and kubectl rollout status has some quirks (like not erroring if there is a CrashloopBackoff however it's a good start pending further improvements to this repository.

This change also cleans up any reference to tiller as it's no longer relevant as part of helm 3

Author Check-list

Please read the Contributing document and once you do, complete the following:

  • Assign to the correct reviewer per the contributing document
  • Apply the correct metadata per the contributing document
  • Link to related MRs for applying the changes on other environments
  • Link to related Chef changes
  • If necessary link to a Criticality 4 Change Request issue

Reviewer Check-list

  • Reviewed the diff jobs to confirm changes are as expected
  • No changes shown in the diffs not associated with this MR - This may require a rebase or further investigation
Edited by John Skarbek

Merge request reports