I’ve been reading about 1.0->2.0 migration steps and skimming the docs, trying to assess whether the benefits are worth it for us.
I’m most interested in improved run times through better cache control.
We build and test our NodeJS app in Circle (babel transpilation + mocha unit tests), build a Docker image, and depending on the branch push it to Google’s Container registry and trigger a Kubernetes deployment (both using the gcloud SDK)
So basically, I need both a Node environment and the Google Cloud SDK installed.
Since the Docker executor supports multiple images, I was thinking of using an official Node image + the google/cloud-sdk one. However the doc says “steps are executed in the first container listed”. Would I be able to run gcloud commands from the second container at all, or is it just meant for daemons that the main container connects to ?
It looks like I’m going to need setup_docker_engine to build Docker images. Is it so slow to start up that it negates the instantness of the Docker executor compared to the Machine one ? Should I just go straight to Machine for more flexibility ?
Any other benefits I’m missing ?