Avatar

RandomDevOpsDude

RandomDevOpsDude@programming.dev
Joined
16 posts • 4 comments

I like kotlin SpringBoot apps deployed to k8s. Go apps for custom k8s operators/controllers.

Direct message

I am not as familiar with Cloud Native DevOps Newsletter but I do enjoy the podcast

permalink
report
reply

I prefer a similar workflow.

I am a major advocate of keeping CI as simple as possible, and letting build tools do the job they were built to do. Basic builds and unit/component testing. No need for overcomplicating things for the sake of “doing it all in one place”.

CD is where things get dirty, and it really depends on how/what/where you are deploying.

Generally speaking, if integration testing with external systems is necessary, I like to have contract testing with these systems done during CI, then integration/e2e in an environment that mimics production (bonus points if ephemeral).

permalink
report
parent
reply

Thanks for sharing! I will need to look deeper into build kit. Containers aren’t my main artifacts, unfortunately, so I am still building them the ways of old, sounds like.

permalink
report
parent
reply

Be really careful when building images that require secrets for build configuration. Secrets can be passed in as build args, but you MUST UNSET THEM IN THE DOCKERFILE and then repass them in as environment variables at runtime (or else you are leaking your secrets with your image).

Also, image != container. Image is the thing you publish to a registry (e.g. dockerhub). Container is an instance of an image.

permalink
report
reply