This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-28
Channels
- # announcements (5)
- # babashka (7)
- # beginners (46)
- # biff (28)
- # calva (7)
- # cider (3)
- # clerk (82)
- # clj-commons (9)
- # clj-kondo (7)
- # clojure (37)
- # clojure-dev (16)
- # clojure-europe (18)
- # clojure-norway (7)
- # clojurescript (8)
- # clojureverse-ops (3)
- # cursive (5)
- # datomic (4)
- # emacs (20)
- # exercism (2)
- # lsp (58)
- # off-topic (32)
- # polylith (11)
- # reitit (7)
- # tools-build (7)
- # xtdb (4)
More Ion questions: does anybody have insight as to how one might introspect within a running Ion to know the Git SHA it represents? An obvious solution is to create an un-reproducible deploy that contains a resource file of the SHA -but that feels dirty. Another way might be some kind of AWS query of CodeDeploy/StepFunctions -clearly Datomic Ions do that themselves to track the status of a specific deploy. But ideally there would be a function in the datomic.ion
namespace or at least some artifact carrying the SHA that came with the deploy.
in ~2019, when I did it, it was via AWS API's asking the clouddeploy service. this information does not exists in any datomic lib/service.
I use a bb task as part of CI deploy to save a record with the git sha and tag in the db. Works well
Thanks for this input -both solutions are workable. I wish there were a means of identification tied directly to the code. It really should be part of the API. (@U1QJACBUM!)