EmerisHQ / demeris-backend

Monorepo containing all the Demeris backend code and infrastructure definitions.
GNU Affero General Public License v3.0
8 stars 1 forks source link

Create a GHA to deploy to prod #740

Closed Pitasi closed 2 years ago

Pitasi commented 2 years ago

We need a way to promote changes to prod that doesn't involve manual run of kubectl commands (prone to human errors). Especially from the frontend team they have two microservices (daggregation and dexinfo) and they want to be able to deploy those independently.

The full CD pipeline would be to use a generated staging.json file that gets promoted to a prod.json file, containing all the deployed images tags. But since we are not there, maybe we can write a simpler action that takes repo and service names and image tag as params, and then deploys that image to prod.