onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
joelsanchez 2018-06-21T20:02:30.000364Z

how does onyx manage to release everything with consistent versions? I have just 3 artifacts and it's hell already

lucasbradstreet 2018-06-21T20:03:36.000331Z

Investment in build tooling

lucasbradstreet 2018-06-21T20:04:35.000138Z

Everything is done through CI and scripts. Main onyx release will also update the plugins, run tests and release those too

😮 1
lucasbradstreet 2018-06-21T20:05:00.000166Z

We also have scripts in the plugins that let us release updates independent of an onyx release, so we can update those too

joelsanchez 2018-06-21T20:06:13.000015Z

https://github.com/onyx-platform/onyx/blob/0.13.x/scripts/release.sh I see, thanks

lucasbradstreet 2018-06-21T20:07:37.000483Z

You can also checkout the circle.yml to see what it does on CI after that script runs

lucasbradstreet 2018-06-21T20:08:41.000552Z

it was a fair bit of work getting there but it paid off for us enormously over the long run.

lucasbradstreet 2018-06-21T20:08:54.000558Z

If I started again and used a mono repo I’d probably use https://github.com/amperity/lein-monolith

joelsanchez 2018-06-21T20:09:20.000702Z

I also found this which clears up much of the mystery too https://github.com/onyx-platform/onyx-release-scripts

joelsanchez 2018-06-21T20:10:53.000553Z

thanks for the links, will try lein-monolith - it may be good enough for me 🙂

michaeldrogalis 2018-06-21T21:39:32.000090Z

If I could do it again, I'd have gone with a monorepo.

michaeldrogalis 2018-06-21T21:39:53.000057Z

I wanted separate projects in the beginning to separate issue trackers, but that never ended up being worthwhile.

lucasbradstreet 2018-06-21T21:40:06.000213Z

It worked out fine in the end, but it was a lot more work.

michaeldrogalis 2018-06-21T21:40:28.000087Z

deps.edn supplants a lot of the manual work we're doing with lein-voom.

sreekanth 2018-06-21T22:42:13.000252Z

Hi, when am trying run latest dashboard with onyx 0.12.2.0 org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /onyx/<tenancy-id>/job-scheduler/scheduler code: -101 path: “/onyx/eone-cp-flow/<tenancy-id>/scheduler”

sreekanth 2018-06-21T22:44:15.000162Z

any help on this?

lucasbradstreet 2018-06-21T22:44:42.000102Z

Did you switch out that tenancy ID in the error?

sreekanth 2018-06-21T22:45:12.000184Z

yeah.

lucasbradstreet 2018-06-21T22:48:09.000284Z

K. Looks like it can’t find the data in zookeeper for that tenancy

lucasbradstreet 2018-06-21T22:52:25.000359Z

If your peers never managed to start up properly then they won’t have had a chance to write that data out

sreekanth 2018-06-21T23:38:42.000166Z

thanks, i will look into it.