Skip to content

Add sg ops update-images

Administrator requested to merge dax/fix_27036 into main

Created by: daxmc99

This is a first stab at adding some @sourcegraph/cloud-devops specific subcommand to sg

Normally, we put these tools in deployment repos where it feels like they are neglected until they break. Putting them in sg/sg is an attempt to prevent this. Longer-term, sg.config.yaml might even start appearing in our deployment repos to setup tooling (ie `cd deploy-* && sg ops rollback) will rollback the last code change in that cluster.

Goals for this specific subcommand:

  1. Support automated running in CI Machines and humans would both be expected end users of sg ops update-images
  2. Replace Renovate for Sourcegraph images

Fixes https://github.com/sourcegraph/sourcegraph/issues/27036

How to test:

sg ops update-images ~/work/deploy-sourcegraph/base

Merge request reports

Loading