Skip to content

Wait for operator deploy

DJ Mountney requested to merge wait-for-operator-deploy into master

Part of https://gitlab.com/charts/gitlab/issues/1298

Depends on https://gitlab.com/gitlab-org/charts/components/gitlab-operator/merge_requests/69

and !904 (merged)

Summary

Updates the operator version to v0.7

  • Updated CRD to include the status subresource
  • Updated CRD to include the revision field in the resource, rather than as a label

Our deploy CI job has also been updated to wait for the deployment to finish, using the new status resource.

  • This will restore our job to how it worked prior to the operator, where it waited for the deploy to finish
  • This should remove issues between the tests restoring backups conflicting with the post migrations running (a cause of duplicate column errors)
  • This does not solve multi-pipeline collision but should reduce the duplicate column errors to now ONLY happening in the collision case (which I plan to explore solving in a followup)
Edited by DJ Mountney

Merge request reports