Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure we have a good deployment flow that includes chores #1461

Open
4 tasks
arealmaas opened this issue Nov 14, 2024 · 0 comments
Open
4 tasks

Ensure we have a good deployment flow that includes chores #1461

arealmaas opened this issue Nov 14, 2024 · 0 comments
Labels
needs consideration Requires additional consideration

Comments

@arealmaas
Copy link
Collaborator

Introduction

Things get pretty messy when we have code and infra in the same repo and same releases, and we only trigger releases aka deployments when we add a fix/feat. This leaves chores that should maybe be pushed straight out to all environments stale until a new fix/feat is added.

How do we ensure that we have a good insight into all changes into our system, and at the same time ensure that we are deploying chores at the frequency we want.

Description

Some thoughts:

  • Split versions of app and infra: A feat in infrastructure might not be something that will hit an end-user which makes it an uninteresting entry in a changelog. However, for us internally, it would be very beneficial to add that new infrastructure-feature in our changelog. Maybe consider splitting this? Another example: If we have a version 1.32.0 which has app changes, versions 1.33.0, 1.34.0 has only infra changes, version 1.35.0 has app changes, then the app deployment would jump straight from 1.32.0 to 1.35.0.
  • Ensure chores are deployed: We need to ensure that chores are deployed without having to wait for a feat/fix. We could include chores in our changelog as "Other chores", bump the version with a sha or an RC-version, and create a release based on that.
  • **Splitting infra and apps to separate repos 😬 **: The workflows has become quite complex as we have to deal with both infra and app deployments. We have to resolve what to deploy based on which files has changed, and for staging/prod which files has changed since the last version deployed. The solution for this now is to store released version number as a gh-variable so we can extract which version number is actually deployed in that environment. This requires a PAT for now which is unfortunate.

Implementation

Tasks

Threat modelling

Acceptance criteria

GIVEN ...
WHEN ....
THEN ...

GIVEN ...
WHEN ....
THEN ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs consideration Requires additional consideration
Projects
Status: New issues
Development

No branches or pull requests

1 participant