DevX Q2B2: s2 continuous deployment
Created by: bobheadxi
Plan
s2 needs an interim continuous deployment mechanism for dogfooding purposes while Cloud works on a long-term CD system for the Cloud product. The DevX team will drive these efforts with the assistance of the Cloud team.
@michaellzc has prepared the following for us:
-
mg update-golden
- will fetch the latest docker-compose and update tags to latest (https://github.com/sourcegraph/deploy-sourcegraph-managed/pull/788) -
mg upgrade
- use the updated golden files to upgrade the instance (https://github.com/sourcegraph/customer/issues/1141) -
GCP authentication in GitHub Actions: https://github.com/sourcegraph/deploy-sourcegraph-managed/blob/main/.github/workflows/reload_frontend.yml -
Automate: https://github.com/sourcegraph/customer/issues/1174
The above tools can be used to create an action that runs the golden update, upgrade to it, and then commit the changes back to repo.
Related: https://github.com/sourcegraph/customer/issues/1153
Tracked issues
@unassigned