#geodesic - July 2020

Robert Horrox
Robert Horroxover 6 years ago
How is Geodesic meant to be used in CI pipelines, eg: codefresh. I can’t seem to run the image locally without it trying to output the install template script or when I try to change the command to anything else it give me a “cannot execute binary file” error
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
This is not currently used by us, but you get get some ideas. Used this for a demo a while back.
joey
joeyover 6 years ago
i was going back to add something like https://redandblack.io/blog/2020/bash-prompt-with-updating-time/ maybe with https://github.com/rcaloras/bash-preexec to my geodesic-like container and i thought maybe i could just copy pasta. feature request pls. 😂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Jeremy G what do you think about this?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@Robert Horrox can you share a screenshot of your prompt? I recall really liking it. it also used the righthand side of the screen for extra real estate.
joey
joeyover 6 years ago
i stumbled upon thinking about these things today as my prompt doesn't update and it's been nagging me but i haven't yet found great examples so if anyone has pointers that'd be awesome 🤷‍♂️
Jeremy G (Cloud Posse)
Jeremy G (Cloud Posse)over 6 years ago
Seems kind of excessive to me. We already get into situations where the prompt takes on the order of a second to compute, which I find unacceptably slow. Not sure what the point is anyway. We already have (optionally) timestamped history:
⨠ history 5
  602  2020-07-21 06:20:13: cd account-map/
  603  2020-07-21 06:20:22: make gbl-root.plan
  604  2020-07-21 06:20:47: make apply
  605  2020-07-21 06:35:37: h
  606  2020-07-21 06:35:52: history 5

Isn't that enough?
Jeremy G (Cloud Posse)
Jeremy G (Cloud Posse)over 6 years ago
If your prompt doesn't update at all, that is a separate issue to fix.
joey
joeyover 6 years ago
i generally agree that it's not absolutely critical - i haven't had it to this point. i'll let you know what i end up with.