google-cloud 2022-02-28

Has anyone had any success with integrating Skaffold + Jib + Clojure together? It doesn't seem straightforward how to integrate them other than calling Clojure from Java. I'm targeting Skaffold for two reasons: 1. I'd like to use Cloud Run + Cloud Code (VSCode) 2. It has a simple code reload story (though I'm open to looking at alternative solutions)

I assume you would do this in CI ie build the jib container then push it and pull the image inside skaffold when you run skaffold deploy ?

It's actually more about dev workflow. I'd like the no-rebuild-container file reload features.

But I guess CI -> deploy would need to be addressed as well

tend to work outside a container for dev here

Fair enough, considering that as well. Do you have any thoughts on the skaffold deploy case?

well we run skaffold deploy via CI not using jib though,

quite interested in jib just not got around to trying it yet

Sure. Yeah, I could definitely look into writing good Dockerfile's and what not, but liked that Jib covers all that

Do you use Dockerfile then?

yeah but mainly because that's what we have known as a team and working with other projects in python

Sure, I'd love to try Buildpacks too, but on M1 Mac and arm64 builds aren't supported yet

build packs are not something i am familiar with though just reading up on them

They sound great! Lots more automation on top of just a Dockerfile

found a video on buildpack vs jib vs dockerfile so having a watch

it also mentions graalvm as an option after buildpack