Hacker News new | ask | show | jobs
by usgroup 2619 days ago
GitHub repo and a Makefile...

Cut C++ binaries, statically linked, test on local against small data, and ship them to production with scp. Run either standalone, on GPU cluster or MPI cluster.

How the data gets to where it needs to be depends on the environment.

Makefile contains all the steps : from compile to test to deploy.

1 comments

That sounds terrible to me. I hope there is at least proper CI which executes stuff from the makefile, but even that, `scp` to ship something in 2019 is a step back (https://www.phoronix.com/scan.php?page=news_item&px=OpenSSH-...) .
Nah, it’s very easy to know what’s going on as a result. The endpoint is only ever a single binary that uses environment variables. Nothing mutates the environment. And the environment is only ever a place with an interface to hardware and to data.

There is a single threaded CI for each environment that checks prerequisites, builds, tests, copies, executes and saves logs.

So CI is also a simple queue and binaries remove the need for containers.

Experience has made me a believer in making things only as complicated as they need to be and favouring solutions that can fit into one brain. Do it whenever it fits your requirements and is possible.