thermondo

thermondo Developer Handbook

View My GitHub Profile

Deploy

Deploys happen continuously and are usually automated and triggered by merging to the master/main branch.

In order to merge to master/main you need to have:

You should try to avoid deploying code that contains temporarily destructive migrations (e.g. adding new database columns that are not nullable). There are strategies for all kinds of scenarios and you can consult with senior developers if you are unsure. If it’s unavoidable, you can also choose to deploy outside of common office hours. It’s a good idea to find a buddy then who will be online at the same time and help supporting in case anything goes wrong with the deploy.

Never deploy something with the build broken. It’s not cool to come to work the next day and find the build broken or even worse: something broken in the master/main branch.