#variant - October 2020

variantArchived
14 messages

Discuss variant (the “Universal CLI”) https://github.com/mumoshu/variant

Archive: https://archive.sweetops.com/variant/

October 2020
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 6 years ago
erik
erikabout 6 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)about 6 years ago
mumoshu
mumoshuabout 6 years ago
@Erik Osterman (Cloud Posse) Just read the announcement. Looks nice!
mumoshu
mumoshuabout 6 years ago
Probably variant could be handy when used from waypoint hooks(https://www.waypointproject.io/docs/lifecycle/hooks) and exec plugin(https://www.waypointproject.io/plugins/exec)
mumoshu
mumoshuabout 6 years ago
mumoshu
mumoshuabout 6 years ago(edited)
Apparently you can start from no server, and gradually move heavy processes to the waypoint server in the future

https://www.waypointproject.io/docs/roadmap#remote-runners
mumoshu
mumoshuabout 6 years ago
Turns out Waypoint is not make or variant at all. It's a pluggable PaaS powered by not cli only but also waypoint-entrypoint and waypoint-server :simple_smile:

Probably we may use variant to wrap waypoint-cli or call variant commands via waypoint's exec plugin
Amit Karpe
Amit Karpeabout 6 years ago
I found Porter a project which was accepted by the CNCF recently.
I am still trying to understand whether it is close to what variant dose!

Package your application artifact, client tools, configuration and deployment logic together as a versioned bundle that you can distribute, and then install with a single command
mumoshu
mumoshuabout 6 years ago
variant is mostly a HCL-based DSL and the compiler to build CLI apps. So my guess is that porter should be used to package variant-made apps 🙂
mumoshu
mumoshuabout 6 years ago
also - it may theoretically possible to export your variant-made command as a porter bundle by using https://porter.sh/custom-dockerfile/.
mumoshu
mumoshuabout 6 years ago
You can now turn your Variant2 command into a Kubernetes controller :simple_smile:
See https://github.com/mumoshu/variant2/pull/35