google-cloud

mruzekw 2022-02-28T13:49:36.131949Z

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)

oly 2022-02-28T14:03:12.079469Z

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 ?

mruzekw 2022-02-28T14:03:31.921889Z

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

mruzekw 2022-02-28T14:04:00.639019Z

"file sync"

mruzekw 2022-02-28T14:04:34.452009Z

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

oly 2022-02-28T14:05:04.447599Z

tend to work outside a container for dev here

mruzekw 2022-02-28T14:05:38.824099Z

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

oly 2022-02-28T14:06:28.249429Z

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

oly 2022-02-28T14:06:56.257189Z

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

mruzekw 2022-02-28T14:07:46.610269Z

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

mruzekw 2022-02-28T14:07:56.371469Z

Do you use Dockerfile then?

oly 2022-02-28T14:08:41.980339Z

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

mruzekw 2022-02-28T14:10:38.913049Z

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

oly 2022-02-28T14:14:50.465639Z

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

mruzekw 2022-02-28T14:15:53.778119Z

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

oly 2022-02-28T14:38:51.404099Z

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

mruzekw 2022-02-28T14:51:22.010109Z

Nice! Link?

oly 2022-02-28T15:02:44.548369Z

it also mentions graalvm as an option after buildpack

mruzekw 2022-02-28T15:05:25.752789Z

Thanks!