Fork me on GitHub
#datomic
<
2021-09-17
>
hden08:09:30

Is there anyway to access the current revision (`:rev` from the deploy command) from an ion?

souenzzo13:09:18

I asked it sometime ago. The short answer is no. You can use aws-api and dig for the rev via load balancers or cloud deploy things or you can do like me and always do an extra-commit with a ID before a deploy

🥲 2
hden14:09:52

got it, thanks

souenzzo14:09:56

also, the meaning of "rev" is not so simple. during deploy/rollbacks you have multiple instances, with different revs. what you expect during these cases? the newest? relative to current machine?

hden20:09:05

in my case, the rev deployed to the current machine