Thoughts on CI/CD

Moving to CD should not be hard, but it is a change in mindset.

You will accidentally release something you shouldn’t. You need a fast rollback/forward process. Long lived caches can be an enemy here.

You need to think small changes. Deploy that then work on the next part.

Avoid excessive git merges as this can hide what you are deploying. Having a small unit test that fails if your code has been lost in a merge is a good safety net.

Feature Flags are your friend. Keep them positive, clearly named and not nested. Prune them aggressively. If you are using AB tests write your code so one side or other can be easily deleted after a test.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s