Commit Graph

1378 Commits (master)

Author SHA1 Message Date
informatic c1b7fe4ce5 hswaw/paperless: fix signed document ingest
Change-Id: I6abc7ebab9a3026710f3908e5eeb0e765df0b932
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1941
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-04-19 15:56:11 +00:00
ar d055238030 h/m/customs: dhcp updates for printers
Moved voron static ip allocation to wired ethernet.
Added entries for Czechu's prusa mini which will be staying here for a
few months at least.
Removed oki allocation.
Added entries for new kyocera.
Kodak SBC upgrade -> new mac.

Change-Id: I503f2c1cffa913543102ee4d91a16548f9126d2d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1947
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-04-11 19:28:09 +00:00
ar aa4b72e50e h/m/customs: migration from isc-dhcp4 to kea
Kea configuration added in its own file for general cleanness.
Migrated only lan and bms subnets; others appear to be legacy leftovers.
IP reservations migrated as-is; "one-liner" for that in comments.
Hopefully legacy "bootp" is not actually needed as that's behind a
paywall.
Generated config tested using `kea-dhcp4 -tT -c ./generated/dhcp4.conf`
Drive-by fix for checkinator to keep it working with old config with no
DHCP_SERVER config key.
Added myself to OWNERS as I'm making frequent changes here recently, and
vuko is absent.

Change-Id: I5d5dd71ab4fd3fb498bd8bc95428984b3b08f092
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1943
Reviewed-by: q3k <q3k@hackerspace.pl>
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-03-24 14:05:42 +00:00
ar 1bcaa97d87 hswaw/checkinator: implement support for kea dhcp server
Also bump version number and fix typo in README.

Change-Id: I116ef706d99df4ace70ccceefc6a23d41fd1adb6
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1942
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-03-20 16:31:53 +00:00
informatic 0aec638400 hswaw/machines/sound: spejsiot-polycom service, use full pulseaudio
Change-Id: Ia41ff02bf217a7116b4be87450723a7bbd549c0b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1909
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-03-14 19:00:08 +00:00
informatic 7b3a2f1820 hswaw/machines/printmaster: bring back legacy content, labelmaker redirect
Change-Id: I193b0a3e1161bc200c94cd9cda2b56bbd5855d53
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1922
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-03-14 18:59:51 +00:00
informatic c1a8c2dfd6 app/matrix: bump synapse, riot, mediarepo, coturn...
Change-Id: Ib1cedd7b679ea8091c03565b3bd85306fa891782
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1912
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-03-07 22:47:08 +00:00
informatic ebae01636e shell: fix colmena run
Somehow SHELL variable from host was still kept in pure shell.

This should prevent colmena deploys failing when host is built against
libc newer than the one in our fhsuserenv.

Change-Id: Ia98e35e71d8d3a0ae2920a18ff2fe6a2e8ed2d53
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1910
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-03-07 22:47:01 +00:00
ar e9965d38f5 h/m/customs: static ip + dns for kodak and voron 3d printers
Change-Id: Ifb200fb703dc3180bd4d7c4efa9c4138e5d434fc
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1921
Reviewed-by: informatic <informatic@hackerspace.pl>
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-03-07 16:20:04 +00:00
informatic cebcddfbfa hswaw/paperless: bump to v2.5.4
Change-Id: I2da532b06587344b0faf3d8028dc0e7796f9769a
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1911
Reviewed-by: radex <radex@hackerspace.pl>
2024-03-01 21:17:16 +00:00
ar 2589ce6e82 h/m/customs: ulogd pcap logrotate compression fix
Misunderstood the logrotate.conf manual and somehow missed lack of the
"delaycompress" option in the output. "compress" needs to be specified
explicitly, despite the presence of other compression-related options,
and nix configuration generator requires "true", not "null", for entries
with no options to be present in output.

Change-Id: Ibe0c41a4b657ff598b2a0613f1ff6fe67f20ca3b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1908
Reviewed-by: q3k <q3k@hackerspace.pl>
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-28 07:02:10 +00:00
informatic c8d1d51c11 hswaw/machines/printmaster: cups server box
Change-Id: Ibf75d9bad789521bfab77fb17017b20030deed52
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1894
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-28 06:55:45 +00:00
ar d63ed67aa7 h/m/customs: compress connection logs
We need to keep a year's worth of connection logs for legal reasons, and
in uncompressed form they took around 170G, but only around 25G
compressed, while rootfs on the machine is a bit over 180G.

Also a drive-by build fix for laserproxy which also removes a workaround
that (IMHO) introduced more problems than it solved.

Change-Id: If91224b0c3bc5ccdd096f0c722e82dbe4de29b95
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1907
Reviewed-by: informatic <informatic@hackerspace.pl>
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-25 10:35:22 +00:00
q3k 51788262af mastodon: bump to 4.2.7
Change-Id: Ic2e51449e801b5446ebd0bd0e7af2d6f8cbf4f13
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1906
Reviewed-by: ar <ar@hackerspace.pl>
2024-02-18 23:52:41 +00:00
q3k a6f2ccf344 mastodon: bump to 4.2.6
Change-Id: Ib849b360888988eeb3fab10b10779e2204aef147
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1904
Reviewed-by: ar <ar@hackerspace.pl>
2024-02-16 11:35:49 +00:00
q3k faf8a41a83 ops/k0: bump runc to 1.1.12 (CVE-2024-21626)
Change-Id: I204f0a296b600143da43b8c8e34d70d4dcb1b8aa
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1903
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-08 12:03:49 +00:00
q3k 1b3774b584 ops: remove reference to non-existent machine
Change-Id: I0d4ea1a0d99f7b177a3fe526a7f435ea6b161bb7
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1902
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-08 12:03:49 +00:00
radex 7bde2d4f0c hswaw/labelmaker: deploy OG labelmaker
Change-Id: Ibe0e334f1c5faabeba14c8dce1afabe6a8095d4e
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1901
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-07 22:06:54 +00:00
informatic ff8a50cb02 ops: colmena integration
Change-Id: I18b9218f2c29a84f7fa769e1a9f561a4385578ca
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1757
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-07 18:12:12 +00:00
viq 9340a3933d Playing around with gethomepage
Change-Id: I96e69f31eb90c017500ee5450b06e30bb9e068da
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1882
2024-02-06 19:58:40 +00:00
palid 6c6fda3076 walne: bump deps to properly re-deploy
Change-Id: I56d5a8b058586f02aabf1b395243339c754a6bc1
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1899
Reviewed-by: radex <radex@hackerspace.pl>
2024-02-04 15:56:20 +00:00
radex a4411e57e2 devtools/sourcegraph: migrate away from mirko.libsonnet
Change-Id: I842db50b49a5fbcc11e13d250e88c0d6bfc068be
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1769
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 14:26:03 +00:00
radex bf4ba488e5 devtools/depotview: migrate away from mirko.libsonnet
Change-Id: I4ef6e2872e22dff4c3b57e801f8c86b69880835e
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1761
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 14:25:57 +00:00
radex db8d90216b hswaw/teleimg: migrate away from mirko.libsonnet
Change-Id: I173b48832ebb1cc187ff2020c78d4ec0748e3a98
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1794
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 14:25:11 +00:00
radex 56b2e04106 kube: migrate devtools/hackdoc from mirko.libsonnet to new hspki.libsonnet
Change-Id: I28bd444d729c2f18fe2b7e44ef120c867f541351
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1751
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 14:25:06 +00:00
radex ec11a8173e kube/redis: explicit version and storage class, clean up
By forcing version to be explicit, we encourage users to pick the latest version when they first deploy, or to upgrade to latest from the old 5.0.4.

Also, non-existent storage class default is removed in favor of explicitly asking for storageClassName.

Change-Id: Ibf9113eae4c2be20bf273c7536176b42fac52256
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1796
Reviewed-by: q3k <q3k@hackerspace.pl>
Reviewed-by: radex <radex@hackerspace.pl>
2024-02-04 14:23:06 +00:00
radex ef3100332d hswaw/labelmaker: add jspaint
Change-Id: Iae72a5ba9d023803944502ce7416a408c1f55077
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1897
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-04 13:59:58 +00:00
informatic 4628133cb0 hswaw/machines/customs: expose printmaster cups behind beyondspace
Change-Id: I017d239aa891ebd63a097fdc476f33d506a99f60
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1893
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 13:59:05 +00:00
informatic 9abf3e7623 hswaw/machines/customs: add printmaster-ng
Change-Id: I1c3fe78d0800afa432bedaa9299739570e4323f4
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1892
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-04 13:59:05 +00:00
radex d87267112b hswaw: add labelmaker/method-draw
Change-Id: Idaf8d38f488d593d0eb47356c21fd559b29768cf
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1895
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-04 13:58:57 +00:00
q3k 9e35c36065 mastodon: bump to 4.2.5
Change-Id: Ieddb860467611187b551076c1b09f4b0e8c87938
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1891
Reviewed-by: ar <ar@hackerspace.pl>
2024-02-03 14:23:51 +00:00
vibe f2d0ef2218 Add vibe97 demo project
Change-Id: I4fbe25a3c5117e300a8f277069f40ee3bd066f4b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1822
2024-02-03 13:17:23 +00:00
radex fd505b8154 cluster/kube: add labelmaker namespace and dns
Change-Id: I3f2651e2c9528db50f81abb4d3876fa79c6ef3a0
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1896
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-02 18:23:52 +00:00
radex 1333a525cd hswaw: add printservant
Change-Id: Ia972cf7daedef87a7bba62ab2962b369c241d80d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1890
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-02 18:12:15 +00:00
informatic 9ebbf6d2ba hswaw/machines/customs: implement inventory redirect
Change-Id: I1ae6f829aaf7a6de4f21a93303e8703bdadebdbd
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1885
Reviewed-by: palid <palid@hackerspace.pl>
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-02-01 23:24:14 +00:00
informatic 0f88591885 hswaw/machines/customs: fix nftables rules eval
Change-Id: I69ca01a1c6c7695ee9371563235edda8b3ed652f
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1884
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-02-01 23:24:14 +00:00
radex 1dd60c3fbd cluster/kube: add printservant namespace
Change-Id: I514a41ffe52c42377370b1b3b43c8679edf23cc6
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1889
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-31 19:24:11 +00:00
radex cbc91bfa79 app/inventory: add labelmaker
Change-Id: Iec74829c796865a11df67333eb9a9e3f1ca9d6ce
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1886
Reviewed-by: palid <palid@hackerspace.pl>
2024-01-31 13:11:18 +00:00
palid ff6fc9f609 postgres: fix duplicated fields
Change-Id: I05fc798f1a94630efe337888c6ee51547b7f6807
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1888
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-31 13:10:55 +00:00
palid ea1d153a68 personal: fix palworld server envs
Change-Id: I7a3af66dad7d95caadd4778d4dd04ac65eca7a7b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1887
2024-01-31 13:03:46 +00:00
implr 7ab03b1083 ops/machines: bump dcr01s24 to newer nixpkgs, drop old pkg pin
Dropped bc01n02 as it's long gone.

Change-Id: I9aa83d33e47466ed24a3938cb1ef3e1fee42e545
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1881
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-30 22:20:39 +00:00
q3k 939eaaaccb *: enable nogo (go linter)
Also fix a bunch of small issues in our codebase, whoops.

This is ran automatically on `bazel build`.

Change-Id: If49ba956b4e2380344a765c30cd84ab760fc4c68
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1849
Reviewed-by: palid <palid@hackerspace.pl>
2024-01-30 22:03:50 +00:00
vuko 2ea09a804d customs: add doorman-proxy
Change-Id: Ia1825d99a490116b0e539d051ea0e83c561fa28d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1819
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-30 21:49:10 +00:00
vuko c17bf90b5f customs: add bms network
Change-Id: I9dfc32d85fc0097316541b0146824f2f0dccc166
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1818
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-30 21:49:10 +00:00
informatic a51e754022 app/codehosting: enable indexer, actions and notifications, disable footer identifiers
Change-Id: I1063748a9647f70623a8bf5f1ecec55ddeb6a8d1
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1782
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-30 21:16:33 +00:00
informatic 9e4382506b app/codehosting: use code.hackerspace.pl as canonical name
Change-Id: Ifdad75922bec45b8626b8fcbd14951fc2c64c879
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1687
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-30 21:16:33 +00:00
informatic 3a3b425ddf app/codehosting: forgejo deployment
Change-Id: Icfe6e0b17932a3248e1bdb807f431c59c48430de
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1685
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-30 21:16:33 +00:00
informatic f1dbac29a1 matrix.0x3c.pl: migrate to native oidc support
Change-Id: I1c0f0561e78cb3c8bf60a279d8959d97cb27806e
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1860
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-30 21:16:09 +00:00
informatic 3325214147 matrix: bump synapse, element-web, telegram, mmr
Change-Id: Ia66cd31590f9936c04735e1b2889f588e02d8534
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1859
Reviewed-by: implr <implr@hackerspace.pl>
2024-01-30 21:16:09 +00:00
informatic a8bd2faae2 matrix/telegram: workaround for broken mautrix-telegram
Change-Id: I79e4ff0513f3f2fc25fdf655942627655f1b4900
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1858
Reviewed-by: implr <implr@hackerspace.pl>
2024-01-30 21:16:09 +00:00