Hi! I’m Cos, and I run this service. My pronouns are he/him and I live in #Naarm / #Melbourne in Australia with my wife and cats.
I’ve been hanging around the Internet since the days of UUCP connections. The distributed / less-centralized nature of those times is something that still appeals to me, which is why I’m still here #selfhosting and hosting for others – I’ve loved empowering friends to get their thoughts up and into the Internet so that it’s not just the same old nerds like me in here.
I’m trying out WriteFreely as a way to better aggregate my writing and some other information. This post serves as both an #introduction and a test.
I use Gitlab at home for a bevy of personal things, and find the built-in CI really handy for further automating changes to my network. Now that I'm trying to spend time away from the desk that I use for Working from Home, I'm using my iPad a lot. If I'm doing something like making some DNS changes in my Gitlab-managed zone files, I don't want to have to context-switch out of my lovely full-screen terminal to a web browser to check if the changes have finished deploying.
Yesterday evening I hacked up something to check the status of a given gitlab org/repo.
This morning I added a second script to wait until the pipeline has “finished”, and print a useful message:
% gitlab-ci-status -v
success for some-org/local-dns in 26 seconds at Sun 12 Jul 2020 10:14:22 AEST
Being a one-night-and-one-morning invention I've taken a few liberties that I'll try and resolve over time:
I didn't test it anywhere other than Linux yet (and I used GNU date somewhere as a quick/lazy solution to something).
You can imagine that I haven't tested too much beyond the “happy path”.
Later on I'll hook it up to either:
tell Emacs to tell me it's done, or
some kind of push notification thingo. (done: see the -n option.)
The first part of this I remember writing a very simple version for, for one particular Jenkins pipeline I worked on a lot, back in the days when I was still a sysadmin in my day job. Now, I just do this for fun.