Having a optimized build and CI/CD process results in faster, efficient and cost effective builds.

Here are Top 5 things to start with for CI/CD optimization –

  1. Build Lean Container Images – Separate building the application from building its runtime layer and build form minimal base images  Reference –
  2. Using a cache like Kaniko with your build to cache container build artifacts .Kaniko works with all major cloud container registry. Reference –
  3.  Selective deployment based on last run and changes – Reference –
  4.  Exclude files not required by build using vendor supported .ignore files – Reference – ( For docker, refer to BuildKit and .dockerignore , Link – )
  5.  Move towards Green devOps – Understand the carbon impact of your builds and  schedule – batch changes for build, leverage green regions and timelines.
Tags : devOps

The author Navveen