gchristensen changed the topic of #nixos-borg to: https://www.patreon.com/ofborg https://monitoring.nix.ci/dashboard/db/ofborg?refresh=10s&orgId=1&from=now-1h&to=now "I get to skip reviewing the PHP code and just wait until it is rewritten in something sane, like POSIX shell. || https://logs.nix.samueldr.com/nixos-borg
<cole-h> hm, but do we really want it to auto-deploy when we push to infra?
<cole-h> (e.g. PRs, broken commits, etc)
<cole-h> Like when I made a PR that accidentally depended on another PR recently and subsequently broke the enter-env script... *whistles*
<gchristensen> it'll pause before actually deploying though
<gchristensen> let's see
<cole-h> that's true
<cole-h> up to you :P though I'd rather use https://buildkite.com/docs/pipelines/command-step#automatic-retry-attributes and `exit 69` in the auto-commit command ;D
<gchristensen> lol
<gchristensen> retry doesn't work though
<gchristensen> it retries the same commit
<cole-h> oh does it
<cole-h> welp
<gchristensen> yeah
<cole-h> OK, then auto-deploy it is :D
<gchristensen> yeah, okay
<gchristensen> "Triggered from Webhook"
<gchristensen> so merging a PR will automatically run the buildkite pipeline
<cole-h> Would also be cool to have the blocked deploys time out after a day (maybe), if possible?
<gchristensen> yeah something like that maybe
<gchristensen> I wonder if that is possible
<{^_^}> buildkite/feedback#474 (by sayboras, 2 years ago, open): How to configure timeout for block step
<cole-h> Guess not
<cole-h> ¯\_(ツ)_/¯
<cole-h> Oh well, not a big deal
<gchristensen> so, yeah
<gchristensen> server intake should only update more steps if there are no changes
<cole-h> 👍
<gchristensen> I should add more agents for the GC steps....
<cole-h> Would be nicer if morph had async `morph exec` though... ;d
<cole-h> Would also be nice if morph was maintained...................
<gchristensen> I understand they're waiting on major changes until flakes are stabilized
* cole-h doesn't think https://github.com/DBCDK/morph/pull/141 is a major change
<{^_^}> DBCDK/morph#141 (by cole-h, 3 weeks ago, open): nix: add config file to NIX_SSHOPTS
<cole-h> <:D
<gchristensen> heh
<gchristensen> good point
<cole-h> (Of course, not to hate; I understand how little free time we all have right now..)
<gchristensen> oh interesting
<cole-h> :o
<gchristensen> you see it too?
<cole-h> interesting indeed
<gchristensen> :P
<cole-h> adding agents immediately adds activity to them
<gchristensen> I guess the concurrency and ordering rules aren't pick yenough
<gchristensen> I mean, not sure it is a problem really
<cole-h> I think it's because the gc step is part of the infra-gc concurrency group, while dry activation is part of -deploy
<gchristensen> ah
<gchristensen> lol at dry activation finishing before GC
<gchristensen> I think maybe just a "wait" step before dry activation ...
<gchristensen> btw I could do this unless you're keen on it :)
<cole-h> Up to you ;)
<gchristensen> I'll send a PR ...
<cole-h> oh, nice, wait waits for ALL previous steps to finish
<cole-h> I thought it would just wait for the one directly prior to it
<cole-h> that's a nice idea then, yeah :)
<gchristensen> yeah I'm actually not sure
<gchristensen> I was just wondering the same thing
<cole-h> A wait step waits for all previous steps to have successfully completed before allowing following jobs to continue.
<cole-h> :P
<cole-h> (and also: I concur in the "lol at dry activation finishing before GC")
<gchristensen> :)
<gchristensen> when PRs are sent from the ofborg repo to itself, it automatically runs the pipeline too https://buildkite.com/grahamc/ofborg/builds/174
<gchristensen> so, we'll be able to see what it actually does
<cole-h> or is that a side effect of commiting to "origin"
<cole-h> we can test that...
<gchristensen> it is a checkbox I have checked
<cole-h> oh ok
<cole-h> Did you manually cancel the other build? Or did the PR build cancel it automagically?
<gchristensen> it actually failed
<gchristensen> because a GC step was interrupted when i added more agents
<cole-h> ah
<gchristensen> ah ha, that looks like it is doing what we wanted!
<gchristensen> yea?
<cole-h> Yeah, except.... I only saw 5/6 machines running GC
* cole-h wonders if my NRHOSTS logic is busted
<gchristensen> there is actually only 5
<cole-h> oh
<gchristensen> but on restart it noticed 1 was recently taken, so it skipped 1
<gchristensen> cool, I think we can merge that PR ... want to approve?
<cole-h> No >:)
<cole-h> (jk, of course)
<gchristensen> I invited you to the org so you can send PRs and see what the pipeline does
<cole-h> I assume the "autodeploy" is locked behind being a member of the org, then
<gchristensen> yea
<cole-h> Smart, was going to suggest some kind of ACL like that
<gchristensen> PRs have to come from within the org
<gchristensen> there are only 5 agents :)
<cole-h> :(
<cole-h> Cool stuff
<cole-h> By "within the org" do you mean I have to push to a branch on "origin" and PR from there?
<gchristensen> yea
<cole-h> ah, OK
<cole-h> assuming we should still `exit 1` in terraform-import if the targets change? Or is that automagically handled in buildkite?
<gchristensen> uhh
<gchristensen> so we could exit 1, or move the rest of terraform-input.yml in to a new .yml that is uploaded at the end of terraform-import if there are no changes
<cole-h> One is a +1/-1 diff, one is larger... but it probably makes more sense to make a new yml
<gchristensen> agree
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-borg
* cole-h wonders if `- wait` works inside of a "buildkite-agent pipeline upload"ed pipeline
<cole-h> only one way to find out ig
<{^_^}> ofborg/infrastructure#50 (by cole-h, 7 minutes ago, open): terraform-import: deploy only if targets unchanged
<cole-h> looks like it works
<gchristensen> okay now a real test!
<{^_^}> ofborg/infrastructure#51 (by grahamc, 7 seconds ago, open): Delete default.nix
<cole-h> 👀
<cole-h> :DDDD
<gchristensen> w000t
* cole-h dances
<gchristensen> it is a bit messy, but I'm thinking I'd like to relocate the ircbot system {^_^} to use the ofborg rabbitmq server
<gchristensen> though I suppose I could just make a new rabbitmq server on the free tier and not worry abou tit
<cole-h> Semi-related: is the ofborg queue paid for out of pocket, by the foundation, or "other"?
<gchristensen> right now out of pocket but I could expense it to the foundation if I wasn't lazy about expensing it ...
<cole-h> hehe
<gchristensen> all is not lost, though, I put it down as a business expense for tax purposes
<cole-h> :P
<gchristensen> eh I'll make a new rabbitmq server for this on the free tier
<gchristensen> unlikely to go over the 1M/mo limit on messages
<cole-h> Until someone decides to spam (re)open-close PRs :D
<cole-h> https://i.imgur.com/tI9WOo8.png This hurts me
<gchristensen> grahamvault?
<gchristensen> hmm
<gchristensen> cole-h: reload?
<cole-h> gchristensen: It's the GitHub app for authenticated push with enter-env :P
<gchristensen> yeah but ... reload ... I changed it ...
<gchristensen> okay i changed it again
<cole-h> Nice little petunia
<gchristensen> thanks
<cole-h> rounded square for apps vs circle for users is kinda funny
<gchristensen> yeah..
<cole-h> if it were me, I'd add the `[bot]` tag that bots get when commenting to the app name (and s/bot/app/) instead, and keep the circle icon
<cole-h> (or use all rounded squares)
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-borg
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-borg
orivej has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Ping timeout: 265 seconds]
supersandro2000 has joined #nixos-borg
evanjs has joined #nixos-borg
evanjs has quit [Remote host closed the connection]
evanjs has joined #nixos-borg
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-borg
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-borg
cole-h has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-borg
orivej has quit [Ping timeout: 256 seconds]
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-borg
orivej has joined #nixos-borg
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-borg
cole-h has joined #nixos-borg
orivej has quit [Ping timeout: 240 seconds]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-borg
cole-h has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-borg
cole-h has joined #nixos-borg
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-borg