Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Set up deployment pipeline for prod #268

Open
deammer opened this issue Jul 21, 2021 · 4 comments
Open

Set up deployment pipeline for prod #268

deammer opened this issue Jul 21, 2021 · 4 comments
Labels
Milestone

Comments

@deammer
Copy link
Collaborator

deammer commented Jul 21, 2021

We'd like to create a prod environment on Clever Cloud and make it easy for admins to deploy code.

Some ideas:

  • we could create a new prod branch and auto-deploy it to a prod environment (related to Set up semantic release #357)
  • we want the database to be completely separate from dev
  • we should document the release process and lock it down to a select few people
@deammer deammer added the devops label Jul 21, 2021
@deammer deammer added this to the Shipment Tracker V1 milestone Jul 21, 2021
coderbyheart added a commit that referenced this issue Aug 11, 2021
This will be needed for #268 because prod should use a separate
client (and maybe even tenant).
coderbyheart added a commit that referenced this issue Aug 11, 2021
This will be needed for #268 because prod should use a separate
client (and maybe even tenant).
deammer pushed a commit that referenced this issue Aug 11, 2021
This will be needed for #268 because prod should use a separate
client (and maybe even tenant).
@juliandm
Copy link

Hi which points of this issue are still relevant? Seems that a continuous pipeline is active since all merges to saga are deployed via the clever cloud integration.

Furthermore we could think about two databases: one for preprod envs (dev & staging) to cut costs and one for prod. Ideally ofc one for each environment.

@coderbyheart
Copy link
Member

As mentioned in #311 we don't have the infrastructure definition persisted as code.
Additionally code pushed to saga does not mean it should automatically be promoted to the production instance without further checks.
I think something like having a prod branch to signal which release should go to production could be a straightforward solution.

@coderbyheart
Copy link
Member

Proposal would be to tie this with #357 so we actually have meaningful release versions that end up on the prod instance.

@coderbyheart
Copy link
Member

#384 has code to create a new application on Clever Cloud from scratch. The code in there can be used to base the configuration of the production instance on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants