1
0
Fork 0
Commit Graph

961 Commits (9848e7e15f73226d56d3b5b3f7cbf173d7abb2c6)

Author SHA1 Message Date
q3k 0ec06d7b75 ops: update deploy instructions to include profile set
This is necessary for the NixOS EFI boot machinery to pick up the new
derivation when switching to it, otherwise the machine will not boot
into the newly switched configuration.

Change-Id: I8b18956d2afeea09c38462f09a00c345cf86f80d
2021-04-18 18:13:33 +00:00
q3k c3ca29512a app/matrix: update mautrix image
The old image disappearified from their registry:

httpReaderSeeker: failed open: content at https://dock.mau.dev/v2/tulir/mautrix-telegram/manifests/sha256:dc95be8f9cd7c226686bcd8be52872cdc20de6751b5eb9f10c6db87ec478b1ca not found: not found

This is the current latest image. Production (at least
matrix.hackerspace.pl) has been updated.

Change-Id: I754b13f08b569e717295fb48d36c0e6544438aa4
2021-04-10 11:15:31 +00:00
q3k 3df9d0c082 personal/q3k/shipstuck: free! for now.
Change-Id: Ie4125396a328b5bb05dea88b6d49d79360221905
2021-03-29 14:26:08 +00:00
q3k ec1aa355fe personal/q3k/shipstuck: fix caching log (why did go let me do this?)
Change-Id: I1c299af41e0bccd33b2a180602a1b6c5d942ffc8
2021-03-29 13:40:59 +00:00
q3k a4ae66b4ac personal/q3k/shipstuck: add TOWED
Change-Id: I3348fc0730a66c3c64df00f6d3051656bf12e587
2021-03-29 13:38:45 +00:00
q3k e9c56b581f personal/q3k/shipstuck: science
Change-Id: I382004def6a490e5bfc8a9e8b30b6d9890b633b0
2021-03-28 20:05:10 +00:00
q3k 99b91b11f1 cluster/k0/admitomatic: add .hswaw.net to hswaw-prod namespace
This was preventing certificate refresh in the hswaw-prod mirko ingress.

Change-Id: I14b18b642a3948a9864e2d9a90b2a2b2c145b9b1
2021-03-28 17:34:34 +00:00
q3k 5da0494b3b personal/q3k/shipstuck: fix time of incident
istheshipstillstuck.com is wrong!

Change-Id: Ie0c7c29d97f620f294a307e950e4d590fbca1e79
2021-03-27 16:37:22 +00:00
q3k 5c1ab3c62d personal/q3k/shipstuck: fix detection
Change-Id: I888eaa95c0012830219bd06fd4d16e66204e2e1d
2021-03-27 15:58:16 +00:00
q3k 772a133ca1 bgpwtf/invoice: render SP/GTU codes on invoices
Change-Id: I2f47595c67ae0c945fa680b394cb7d5212cd389a
2021-03-27 15:58:03 +00:00
q3k 3d116b2952 personal/q3k: door^Wship stuck
Change-Id: I189fc13971d46790634804c3fa1b54e2c4788273
2021-03-27 15:44:15 +00:00
q3k 7967ca177b cluster/certs: update k0 certs
This leaves us with the next set of expiring certs in September 2021.

Fixes b/36.

Change-Id: I536497626c0dd3807fccf28d4b61e5e531cf8d9c
2021-03-27 12:19:25 +00:00
q3k c8b14e75d7 dc/hbj11/flasher: fix build
Change-Id: Ic59ad67ab0cf1a5a1c5c83a03936868ad3c89c2f
2021-03-27 12:19:00 +00:00
q3k 41b882d053 cluster: remove bc01n03 certs/secrets
Decomissioned node, noticed while rolling over certs in b/36.

Change-Id: Ia386ff846998c52799662179c325b24e78f2eca8
2021-03-27 12:18:56 +00:00
q3k ef3d7b89e0 dc/hbj11/flasher: fix manufacturer name
Apparently, at least parts of the M610 (eg. iDRAC) attempt to index
exact bytes from the FRU EEPROM instead of parsing it, and thus were
parsing our FRU's manufacturer/product name wrong. This fixes that.

Change-Id: I18d62ea79df7b7bf30cec3251da2c32d25b73507
2021-03-25 18:55:34 +00:00
q3k d73dc0e253 Merge "cluster/k0: add dns crdb user" 2021-03-25 18:22:07 +00:00
q3k 2e8d24b84a cluster/kube: bump nginx-ingress-controller, backport openssl 1.1.1k
This fixes CVE-2021-3450 and CVE-2021-3449.

Deployed on prod:

$ kubectl -n nginx-system exec nginx-ingress-controller-5c69c5cb59-2f8v4 -- openssl version
OpenSSL 1.1.1k  25 Mar 2021

Change-Id: I7115fd2367cca7b687c555deb2134b22d19a291a
2021-03-25 18:16:13 +00:00
q3k aa131447e5 Merge "cluster/crdb: make init job 'idempotent'" 2021-03-25 17:43:14 +00:00
q3k 1632aaee04 dc/hbj11: link to public WebI2C instance
Change-Id: I0d7092314dcc9aed488e1ffdf3d51566848e3fff
2021-03-23 15:54:17 +00:00
q3k 56c262f2b6 devtools/hackdoc: serve JS with correct mimetype
This allows us to serve rich content from hackdoc, eg. hbj11's
webflaser.

Change-Id: Ife83888d864db0b2eddf3a50b0129be0172aad8a
2021-03-23 15:50:51 +00:00
ar a025e63263 Add bazel error log to .gitignore
Change-Id: I73212500b9a812141b54e2664aa112a3a408061c
2021-03-21 22:25:09 +01:00
q3k f4d02581f6 doc/codelabs: fix typo in checking-out.md
Change-Id: I9729d984974a930630b51657ce5f345fd0f512f7
2021-03-21 14:16:34 +01:00
q3k 9305e31725 doc/codelabs/: fix broken commands in your-first-change
Change-Id: I7b3f35eb71d72f2a44fb12ec3a441404ea607b8c
2021-03-21 14:13:18 +01:00
q3k 2fd9019f15 doc/codelabs: add getting-started/checking-out
Change-Id: I64d6be74194a902601fd2ff6121b7232353ec8ed
2021-03-21 14:05:48 +01:00
q3k 5de0b32e3b devtools/ci/remote-cache: init
This is a first pass at a Bazel remote cache. It notably does not yet do
any authentication, upload limits or garbage collection.

We won't be deploying it to prod until these are done.

Change-Id: I70a89dbe8b3ec933b2ce82e234a969e8337ba1d9
2021-03-20 13:15:18 +00:00
q3k 87801be432 third_party/go: add minio client lib
This adds github.com/minio/minio-go, a library that can be used to
access S3-like storage, eg. our own radosgw. It's significantly lighter
than the entire Go AWS SDK, and seems to also be more idiomatic than it.

Change-Id: I1e18c7665b58480fb72e789692aa7f37816cd28f
2021-03-20 12:05:34 +00:00
q3k 162fcc328d Merge "devtools/gerrit: backport reviewiers column fix to 3.3.2" 2021-03-18 19:54:47 +00:00
q3k 146c99e58e devtools/gerrit: backport reviewiers column fix to 3.3.2
Gerrit 3.3.1 seems to have introduced a bug which makes the reviewers
column in the dashboard entry: https://bugs.chromium.org/p/gerrit/issues/detail?id=13899

This adds an override of gerrit.war to our Docker containers. The .war
is pulled over HTTP. It has been manually built by q3k from a source
checkout. The details on how this was done are in the WORKSPACE
http_file archive.

Once 3.3.3 lands we should get rid of it.

Change-Id: I8b64103cb87d8b185ff35165695a18cb19fea523
2021-03-18 19:51:33 +00:00
q3k 5d2a70ac92 bgpwtf/machines: add netboot.xyz to bootstrap
This allows us to selectively boot some DC machines into netboot.xyz for
testing.

Change-Id: I5713b220ee986c3584fc68efaa7540bbe99680ba
2021-03-18 19:22:41 +00:00
q3k a0332a75a0 ops/machines: pin edge01.waw to its current version of nixpkgs
Stopgap until we finish b/3, need to deploy some changes on it without
rebooting into newer nixpkgs.

Change-Id: Ic2690dfcb398a419338961c8fcbc7e604298977a
2021-03-18 19:22:41 +00:00
q3k bf266c6aaf cluster/k0: add dns crdb user
In preparation for running PowerDNS on k0.

Change-Id: I853c7465a6a32d02628fa6cfdeb445eb9937b3be
2021-03-17 21:49:00 +00:00
q3k 3b8935378a cluster/crdb: make init job 'idempotent'
This enables its redeployment with a newer crdb image.

Change-Id: If039992674f401af53738c80d22cc2ca2818fe00
2021-03-17 21:48:30 +00:00
q3k 64de7afe32 cluster/kube/k0: fix syntax errors
This happened in 793ca1b3 and slipped past review.

Change-Id: Ie31f0e1ec03d6e4545d6683b21f528550bf4ef9f
2021-03-17 21:47:51 +00:00
q3k 408d544898 devtools/gerrit: attempt to deploy theme
This doesn't entirely work, as we need to use PolyGerrit 3 compatible
theme injection.

Change-Id: I13305a4774028bdb92c1449ddb461b59ce8ae82f
2021-03-17 21:17:04 +00:00
q3k ee3c90cbf0 Merge changes Iac1fdee4,I73a5beaf
* changes:
  gerrit: bump to 3.3.2
  WORKSPACE: bump rules_docker
2021-03-17 20:46:26 +00:00
q3k 25c53fc048 hswaw/oodviewer: fix links from index
Change-Id: I98a9c96d0971a922264bd37175bed882b6b702d8
2021-03-16 20:35:32 +00:00
q3k 7871502f26 Merge "shell.nix: add binutils and gcc" 2021-03-12 11:37:25 +00:00
q3k cf1ec27fd5 Merge "cluster/kube: limit OSDs in ceph-waw3 to 8GB RAM" 2021-03-12 10:03:13 +00:00
q3k dd692217c1 gerrit: bump to 3.3.2
Deployed to prod.

Change-Id: Iac1fdee4ec22e6a6d92ff31ab5535a43cfbcffb1
2021-03-11 23:31:28 +00:00
q3k 7849e8a2af WORKSPACE: bump rules_docker
This fixes a bazel_tools incompatibility with Bazel 3.x.

Change-Id: I73a5beafe03b1d8e68a1fee794961146a2f10c52
2021-03-11 23:30:52 +00:00
q3k dce10bae86 shell.nix: add binutils and gcc
Fixes b.hswaw.net/33

Change-Id: Iadeb4157f4271ad684b6c2603d734cb0c098238d
2021-03-11 23:17:21 +00:00
q3k 5e695e8f9b hswaw/oodviewer: init
This brings oodviewer into k0.

oodviewer started as a py2/flask script running on q3k's personal infra,
which is now being turned down.

This is a rewrite of that script into similarly mediocre Go, conforming
to the exact same mediocre JSON API and spartan HTML interface.

This also deploys it into k0 in the oodviewer-prod namespace. It's
already running, but the 'oodviewer.q3k.me' TTL has to expire before it
begins handling traffic.

Change-Id: Ieef1b0f8f0c60e6fa5dbe7701e0a07a4257f99ce
2021-03-07 16:57:02 +01:00
q3k be3adb9e09 hswaw/oodviewer: fix OWNERS
Change-Id: I9229323b411a387b05b93519408a270127183d1f
2021-03-07 14:47:10 +00:00
q3k 51f0b9aa1c hswaw/oodviewer: OWNERS
Change-Id: I2b7708be962b6465cf640be4e27b6443af136213
2021-03-07 14:45:20 +00:00
q3k 793ca1b3b2 cluster/kube: limit OSDs in ceph-waw3 to 8GB RAM
Each OSD is connected to a 6TB drive, and with the good ol' 1TB storage
-> 1GB RAM rule of thumb for OSDs, we end up with 6GB. Or, to round up,
8GB.

I'm doing this because over the past few weeks OSDs in ceph-waw3 have
been using a _ton_ of RAM. This will probably not prevent that (and
instead they wil OOM more often :/), but it at will prevent us from
wasting resources (k0 started migrating pods to other nodes, and running
full nodes like that without an underlying request makes for a terrible
draining experience).

We need to get to the bottom of why this is happening in the first
place, though. Did this happen as we moved to containerd?

Followup: b.hswaw.net/29

Already deployed to production.

Change-Id: I98df63763c35017eb77595db7b9f2cce71756ed1
2021-03-07 00:09:58 +00:00
q3k 3ba5c1b591 *: docs pass
Change-Id: I87ca80d3f7728ed407071468ac233e6ad4574929
2021-03-06 22:21:28 +00:00
q3k c0d9ea081f hackdoc: deploy
Change-Id: I2d1661212f906cc431a47a372b2e52a6be2e07f4
2021-03-06 22:21:28 +00:00
q3k 7dda1b51ce Merge "hackdoc: link to cs instead of gitweb" 2021-03-06 22:17:34 +00:00
q3k d774a7153b Merge "hackdoc: when redirecting, skip ref if default" 2021-03-06 22:17:26 +00:00
q3k a5691b54cc Merge "games/valheim: allow patryk@ and palid@ to administer valheim namespace" 2021-03-06 22:17:05 +00:00