<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>linux &amp;mdash; cos</title>
    <link>https://apintandaparma.club/cos/tag:linux</link>
    <description></description>
    <pubDate>Thu, 23 Apr 2026 14:59:28 +0000</pubDate>
    <item>
      <title>g&#39;day</title>
      <link>https://apintandaparma.club/cos/gday</link>
      <description>&lt;![CDATA[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.&#xA;&#xA;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.&#xA;&#xA;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.&#xA;&#xA;!--more--&#xA;&#xA;what do I like to do?&#xA;&#xA;A significant part of my brain seems to be filled with #music - lots of it. I used to try and blog about it long ago, but now I&#39;d rather just keep listening than finding ever-more convoluted ways to describe it.&#xA;&#xA;I love #walking, especially as a way to explore #FilmPhotography (or digital #photography). I’m not scared of #PublicTransport and quite like #trains.&#xA;&#xA;My photography goes way back on Flickr, a little less further back on Instagram and I&#39;ve more recently been experimenting with Pixelfed - see @cos@pixelfed.social or @cos@pixelfed.au. Either way, I try to find beauty in the everyday with my images. I&#39;m particularly fascinated by blankness.&#xA;&#xA;a data-flickr-embed=&#34;true&#34; data-header=&#34;true&#34; data-footer=&#34;true&#34; href=&#34;https://www.flickr.com/photos/lonelyradio/52518231471/in/dateposted/&#34; title=&#34;needing direction&#34;img src=&#34;https://live.staticflickr.com/65535/52518231471bfb8fcbd6dc.jpg&#34; width=&#34;800&#34; height=&#34;530&#34; alt=&#34;needing direction&#34;/ascript async src=&#34;//embedr.flickr.com/assets/client-code.js&#34; charset=&#34;utf-8&#34;/script&#xA;&#xA;what do I care about?&#xA;&#xA;The world&#39;s a better place when we don&#39;t feel we need to hide who we really are. To me, this means (among other things):&#xA;&#xA;Trans rights are human rights.&#xA;Black lives matter.&#xA;Human beings are not &#34;illegal&#34;. &#xA;Love is love.&#xA;People should have control over their own bodies.&#xA;Science is real.&#xA;Kindness is everything.&#xA;&#xA;where can I be found on social media?&#xA;&#xA;These days, the Fediverse is where it&#39;s at - you can find me at @cos@aus.sociala rel=&#34;me&#34; href=&#34;https://aus.social/@cos&#34;./a&#xA;&#xA;what do I do for work?&#xA;&#xA;I spent a long time as a systems administrator, network engineer, systems engineer and otherwise, but these days I focus on the people aspects of #DevOps, #SRE or #PlatformEngineering by managing teams, growing people, and helping everyone understand that Software’s Not Just For Christmas. If you want to know more, you can read my LinkedIn Profile.&#xA;&#xA;a data-flickr-embed=&#34;true&#34; data-header=&#34;true&#34; data-footer=&#34;true&#34; href=&#34;https://www.flickr.com/photos/lonelyradio/50373335293/in/photolist-u8ZG4-xqkYs-2jKjvAV-keeuw-3bj1N-4ZrzsF-65gREq-6one8U-6y7Nhg&#34; title=&#34;tomorrow&#34;img src=&#34;https://live.staticflickr.com/65535/503733352938fbff5ab84z.jpg&#34; width=&#34;640&#34; height=&#34;640&#34; alt=&#34;tomorrow&#34;/ascript async src=&#34;//embedr.flickr.com/assets/client-code.js&#34; charset=&#34;utf-8&#34;/script&#xA;&#xA;what&#39;s some other tech-related stuff that I&#39;m interested in?&#xA;&#xA;#emacs is not a dirty word. Given my change of work focus, I’d guess that 98% of my time in it nowadays is spent using #orgmode to keep notes on what’s going on at work.&#xA;&#xA;Once upon a time, I helped some friends start a #Linux User Group called LUV. It&#39;s been a long time since I was involved, but I&#39;m glad that it kept going for all these years - plenty of other people put in a lot of work to make it so, and more power to them! Despite that love for Linux, I&#39;ve enthusiastically used other #Unix / Unix-like operating systems over the years too, and happily use a Mac desktop these days - it&#39;s all ok by me.&#xA;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Hi! I’m Cos, and I run <a href="/about" rel="nofollow">this service</a>. My pronouns are he/him and I live in <a href="/cos/tag:Naarm" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Naarm</span></a> / <a href="/cos/tag:Melbourne" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Melbourne</span></a> in Australia with my wife and cats.</p>

<p>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 <a href="/cos/tag:selfhosting" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">selfhosting</span></a> and hosting for others – I’ve loved empowering friends to get <em>their</em> thoughts up and into the Internet so that it’s not just the same old nerds like me in here.</p>

<p>I’m trying out <a href="https://writefreely.org/" rel="nofollow">WriteFreely</a> as a way to better aggregate my writing and some other information. This post serves as both an <a href="/cos/tag:introduction" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">introduction</span></a> and a test.</p>



<h2 id="what-do-i-like-to-do">what do I like to do?</h2>

<p>A significant part of my brain seems to be filled with <a href="/cos/tag:music" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">music</span></a> – <a href="https://www.last.fm/user/ajcos" rel="nofollow">lots of it</a>. I used to try and blog about it long ago, but now I&#39;d rather just keep listening than finding ever-more convoluted ways to describe it.</p>

<p>I love <a href="/cos/tag:walking" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">walking</span></a>, especially as a way to explore <a href="/cos/tag:FilmPhotography" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">FilmPhotography</span></a> (or digital <a href="/cos/tag:photography" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">photography</span></a>). I’m not scared of <a href="/cos/tag:PublicTransport" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">PublicTransport</span></a> and quite like <a href="/cos/tag:trains" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">trains</span></a>.</p>

<p>My photography goes <em>way back</em> <a href="https://flickr.com/photos/lonelyradio/" rel="nofollow">on Flickr</a>, a little less further back <a href="https://instagram.com/cos" rel="nofollow">on Instagram</a> and I&#39;ve more recently been experimenting with Pixelfed – see <a href="https://apintandaparma.club/@/cos@pixelfed.social" class="u-url mention" rel="nofollow">@<span>cos@pixelfed.social</span></a> or <a href="https://apintandaparma.club/@/cos@pixelfed.au" class="u-url mention" rel="nofollow">@<span>cos@pixelfed.au</span></a>. Either way, I try to find beauty in the everyday with my images. I&#39;m particularly fascinated by <a href="https://apintandaparma.club/cos/the-blank-realm" rel="nofollow">blankness</a>.</p>

<p><a href="https://www.flickr.com/photos/lonelyradio/52518231471/in/dateposted/" title="needing direction" rel="nofollow"><img src="https://live.staticflickr.com/65535/52518231471_bfb8fcbd6d_c.jpg" width="800" height="530" alt="needing direction"></a></p>

<h2 id="what-do-i-care-about">what do I care about?</h2>

<p>The world&#39;s a better place when we don&#39;t feel we need to hide who we really are. To me, this means (among other things):</p>
<ul><li>Trans rights are human rights.</li>
<li>Black lives matter.</li>
<li>Human beings are not “illegal”.</li>
<li>Love is love.</li>
<li>People should have control over their own bodies.</li>
<li>Science is real.</li>
<li>Kindness is everything.</li></ul>

<h2 id="where-can-i-be-found-on-social-media">where can I be found on social media?</h2>

<p>These days, the Fediverse is where it&#39;s at – you can find me at <a href="https://apintandaparma.club/@/cos@aus.social" class="u-url mention" rel="nofollow">@<span>cos@aus.social</span></a><a href="https://aus.social/@cos" rel="nofollow">.</a></p>

<h2 id="what-do-i-do-for-work">what do I do for work?</h2>

<p>I spent a long time as a systems administrator, network engineer, systems engineer and otherwise, but these days I focus on the people aspects of <a href="/cos/tag:DevOps" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">DevOps</span></a>, <a href="/cos/tag:SRE" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">SRE</span></a> or <a href="/cos/tag:PlatformEngineering" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">PlatformEngineering</span></a> by managing teams, growing people, and helping everyone understand that Software’s Not Just For Christmas. If you want to know more, you can read my <a href="https://www.linkedin.com/in/andrewjcosgriff/" rel="nofollow">LinkedIn Profile</a>.</p>

<p><a href="https://www.flickr.com/photos/lonelyradio/50373335293/in/photolist-u8ZG4-xqkYs-2jKjvAV-keeuw-3bj1N-4ZrzsF-65gREq-6one8U-6y7Nhg" title="tomorrow" rel="nofollow"><img src="https://live.staticflickr.com/65535/50373335293_8fbff5ab84_z.jpg" width="640" height="640" alt="tomorrow"></a></p>

<h2 id="what-s-some-other-tech-related-stuff-that-i-m-interested-in">what&#39;s some other tech-related stuff that I&#39;m interested in?</h2>

<p><a href="/cos/tag:emacs" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">emacs</span></a> is not a dirty word. Given my change of work focus, I’d guess that 98% of my time in it nowadays is spent using <a href="/cos/tag:orgmode" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">orgmode</span></a> to keep notes on what’s going on at work.</p>

<p>Once upon a time, I helped some friends start a <a href="/cos/tag:Linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Linux</span></a> User Group called <a href="https://luv.asn.au" rel="nofollow">LUV</a>. It&#39;s been a <em>long</em> time since I was involved, but I&#39;m glad that it kept going for all these years – plenty of other people put in a lot of work to make it so, and more power to them! Despite that love for Linux, I&#39;ve enthusiastically used other <a href="/cos/tag:Unix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Unix</span></a> / Unix-like operating systems over the years too, and happily use a Mac desktop these days – it&#39;s all ok by me.</p>
]]></content:encoded>
      <guid>https://apintandaparma.club/cos/gday</guid>
      <pubDate>Sun, 27 Nov 2022 07:34:04 +0000</pubDate>
    </item>
    <item>
      <title>gitlab-ci-tools</title>
      <link>https://apintandaparma.club/cos/gitlab-ci-tools</link>
      <description>&lt;![CDATA[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&#39;m trying to spend time away from the desk that I use for Working from Home, I&#39;m using my iPad a lot. If I&#39;m doing something like making some DNS changes in my Gitlab-managed zone files, I don&#39;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.&#xA;&#xA;Yesterday evening I hacked up something to check the status of a given gitlab org/repo.&#xA;&#xA;!--more --&#xA;&#xA;It started simple:&#xA;&#xA;% gitlab-ci-status org/repo&#xA;running&#xA;&#xA;[ ... time passes ... ]&#xA;&#xA;% gitlab-ci-status org/repo&#xA;success&#xA;&#xA;I quickly added support for:&#xA;&#xA;automagically guessing the org/repo from wherever you are (is there an &#34;origin&#34; remote? where does it point to? is it our gitlab server?).&#xA;fetching the API token from gopass.&#xA;&#xA;This morning I added a second script to wait until the pipeline has &#34;finished&#34;, and print a useful message:&#xA;&#xA;% gitlab-ci-status -v&#xA;success for some-org/local-dns in 26 seconds at Sun 12 Jul 2020 10:14:22 AEST&#xA;&#xA;Being a one-night-and-one-morning invention I&#39;ve taken a few liberties that I&#39;ll try and resolve over time:&#xA;&#xA;I didn&#39;t test it anywhere other than Linux yet (and I used GNU date somewhere as a quick/lazy solution to something).&#xA;You can imagine that I haven&#39;t tested too much beyond the &#34;happy path&#34;.&#xA;&#xA;Later on I&#39;ll hook it up to either:&#xA;&#xA;tell Emacs to tell me it&#39;s done, or&#xA;some kind of push notification thingo. (done: see the -n option.) &#xA;&#xA;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.&#xA;&#xA;I hope it&#39;s useful to somebody!&#xA;&#xA;https://gitlab.com/ajcos/gitlab-ci-tools&#xA;&#xA;#gitlab #shell #cli #ci #nerdery #linux&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;p class=&#34;sig&#34;This was a post from a href=&#34;https://andrew.j.cosgriff.name/&#34;Cos/a./p&#xD;&#xA;&#xD;&#xA;p class=&#34;sig&#34;You can follow this blog on the Fediverse at code@cos@apintandaparma.club/code or a href=&#34;https://apintandaparma.club/cos/feed&#34;subscribe in your RSS reader/a./p&#xD;&#xA;&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>I use <a href="https://gitlab.com" rel="nofollow">Gitlab</a> 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&#39;m trying to spend time away from the desk that I use for Working from Home, I&#39;m using my iPad a lot. If I&#39;m doing something like making some DNS changes in my Gitlab-managed zone files, I don&#39;t want to have to context-switch out of my <a href="https://blink.sh" rel="nofollow">lovely full-screen terminal</a> to a web browser to check if the changes have finished deploying.</p>

<p>Yesterday evening I hacked up something to check the status of a given gitlab org/repo.</p>



<p>It started simple:</p>

<pre><code class="language-shell">% gitlab-ci-status org/repo
running

[ ... time passes ... ]

% gitlab-ci-status org/repo
success
</code></pre>

<p>I quickly added support for:</p>
<ul><li>automagically guessing the org/repo from wherever you are (is there an “origin” remote? where does it point to? is it our gitlab server?).</li>
<li>fetching the API token from <a href="https://www.gopass.pw" rel="nofollow">gopass</a>.</li></ul>

<p>This morning I added a second script to wait until the pipeline has “finished”, and print a useful message:</p>

<pre><code class="language-shell">% gitlab-ci-status -v
success for some-org/local-dns in 26 seconds at Sun 12 Jul 2020 10:14:22 AEST
</code></pre>

<p>Being a one-night-and-one-morning invention I&#39;ve taken a few liberties that I&#39;ll try and resolve over time:</p>
<ul><li>I didn&#39;t test it anywhere other than Linux yet (and I used GNU <code>date</code> somewhere as a quick/lazy solution to something).</li>
<li>You can imagine that I haven&#39;t tested too much beyond the “happy path”.</li></ul>

<p>Later on I&#39;ll hook it up to either:</p>
<ul><li>tell Emacs to tell me it&#39;s done, or</li>
<li><del>some kind of push notification thingo.</del> (done: see the <code>-n</code> option.)</li></ul>

<p>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.</p>

<p>I hope it&#39;s useful to somebody!</p>

<p><a href="https://gitlab.com/ajcos/gitlab-ci-tools" rel="nofollow">https://gitlab.com/ajcos/gitlab-ci-tools</a></p>

<p><a href="/cos/tag:gitlab" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">gitlab</span></a> <a href="/cos/tag:shell" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">shell</span></a> <a href="/cos/tag:cli" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">cli</span></a> <a href="/cos/tag:ci" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">ci</span></a> <a href="/cos/tag:nerdery" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">nerdery</span></a> <a href="/cos/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a></p>

<hr>

<p class="sig">This was a post from <a href="https://andrew.j.cosgriff.name/" rel="nofollow">Cos</a>.</p>

<p class="sig">You can follow this blog on the Fediverse at <code><a href="https://apintandaparma.club/@/cos@apintandaparma.club" class="u-url mention" rel="nofollow">@<span>cos@apintandaparma.club</span></a></code> or <a href="https://apintandaparma.club/cos/feed" rel="nofollow">subscribe in your RSS reader</a>.</p>
]]></content:encoded>
      <guid>https://apintandaparma.club/cos/gitlab-ci-tools</guid>
      <pubDate>Sun, 12 Jul 2020 03:22:31 +0000</pubDate>
    </item>
  </channel>
</rss>