Closed hgwood closed 5 years ago
I agree.
As for the gcloud version pinning, if I remember correctly it is simply so that the build is stable. The version may be changed.
Thanks for looking into this.
Ok, I'll try to provide a circle ci 2 descriptor while working on the "devops-mindset-tooling" training (previously "devops for java". Stay tuned :-)
I had a first look at this.
In CircleCI2, everything runs in a container, so for the deploy stage we have 2 solutions (at least) :
npm run deploy
deploy.js
by a shell calls and we can use a (more?) simple image with onlygcloud
(like https://hub.docker.com/r/google/cloud-sdk/ for instance)Question : is there a specific reason why we are pinning the gcloud sdk to version
135.0.0
? (ping @jlandure @hgwood )At a first glance, I'd favour using a
gcloud sdk
only image + shell script :gcloud sdk+node
imagenpm
compared to a shell script in this use case [mixed with CircleCI 2 as the build orchestrator] (it maybe only a matter of point of view obviously)