joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
dominicm 2019-03-26T15:53:34.045500Z

How are people using joker in CI, are they just redownloading on every build?

richiardiandrea 2019-03-26T16:56:14.046700Z

lol yeah I am working on that exactly, in my CI there is no concept of cache so my only way at the moment is download it

borkdude 2019-03-26T17:03:22.047200Z

on CircleCI even downloading GraalVM is blazingly fast while on my own computer it takes 10s of seconds

borkdude 2019-03-26T17:03:48.047800Z

Iā€™m also downloading and installing planck each time for each speculative build. Matter of seconds.

richiardiandrea 2019-03-26T17:03:54.048Z

yeah I wish I was on Circle, which has cache

borkdude 2019-03-26T17:04:10.048200Z

which one are you using?

richiardiandrea 2019-03-26T17:04:18.048400Z

Azure Pipelines

richiardiandrea 2019-03-26T17:04:38.048900Z

which was a "business" decision, cause of Microsoft

richiardiandrea 2019-03-26T17:04:55.049300Z

so so unlike Circle...I wish I could move to it today šŸ˜„

dominicm 2019-03-26T18:02:12.050500Z

I'm amazed at how fast circle is downloading things.

dominicm 2019-03-26T18:02:23.050900Z

I needed to force bump the clj version, and it's registering as 0s on circle.

borkdude 2019-03-26T18:43:05.051400Z

I wonder how they do it. Just blazingly fast internet or maybe a cache somewhere?

dominicm 2019-03-26T19:08:55.051800Z

I'm thinking they might have a HTTP caching proxy.

richiardiandrea 2019-03-26T20:37:31.052800Z

do you folks know a way to launch joker ,,file... where the file lives in an npm package?

richiardiandrea 2019-03-26T20:45:06.053300Z

the way I found is this:

!/usr/bin/env sh

npm_prefix=$(npm config get prefix)
package_dir="$npm_prefix/lib/node_modules/@elasticpath/continuous-delivery"

joker "$package_dir/src/cd/create_entity_definition.joke"
I will need to test it in CI though