straw-hat-team/adr

[Proposal] Add app environments

yordis opened this issue · 0 comments

Add environments to all applications

  • State: Draft
  • Created: 2021-07-25
  • Tags: app, releases

Context

We don't have misalignment configuring environments across applications, this is one of those that we don't need that much freedom, and nowadays most people end up doing the exact same thing

  • development (preview, local dev, branch)
  • staging (trunk branch, customer environment)
  • production (official release)

Resolution

  • You MUST add [PREFIX]_ENVIRONMENT to all your application deployments
  • [PREFIX]_ENVIRONMENT MUST be one of the following values
    • development: when the release is based on a branch deployment, aka. preview deployment
    • staging: trunk branch, deployment before cutting a production release
    • production: the production version of the release

Links