Commit Graph

1360 Commits (ff8a50cb02c261f12e020e5995d51a5dff7e41ed)

Author SHA1 Message Date
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
informatic f1d5c737e8 matrix: upgrade postgres on 0x3c instance, update synapse
Change-Id: Ieaa9f98b808a372f963994a0284361b20bb836f1
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1857
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-30 21:16:09 +00:00
informatic eea0e5efdd kube/postgres: support resources specification, implement graceful shutdown
Change-Id: Iaecf827a43422bd4c59b06e771273624c764f6b3
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1856
Reviewed-by: informatic <informatic@hackerspace.pl>
2024-01-30 21:15:15 +00:00
informatic 63fb77f6e3 matrix: bump 0x3c to matrix-ng on synapse v1.71.0
This is the last release before postgres upgrade. Disable generic worker
routes for now since ones in the config don't match ones supported by
synapse v1.71.0

Change-Id: Iddf1b09f6ffc9434aec3915f06752a97218966f6
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1827
Reviewed-by: implr <implr@hackerspace.pl>
2024-01-30 21:15:15 +00:00
palid c3fe3cbf13 personal: add palworld server
Change-Id: I6cedb8a7e3b8ae049a6ba5a0772bf5569c273bcc
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1883
2024-01-30 19:44:18 +00:00
implr 655db5e3c6 ops/machines: bump dcr01s22 to newer nixpkgs
I know the comments are wrong, I'll clean them up once we get rid of the
old nixpkgs fetch completely.

Change-Id: Ia64d2d0908fc834cb976afbb415c8d1283433a38
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1865
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-24 19:24:15 +00:00
patryk de83f4904f cluster/machines: replace disk in dcr01s22
Change-Id: I22fefc9ff68295e33ab0a1f26ab2aeb02fb75210
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1854
Reviewed-by: q3k <q3k@hackerspace.pl>
Reviewed-by: implr <implr@hackerspace.pl>
2024-01-24 18:51:09 +00:00
patryk a84e9bb884 cluster/machines: replace disk in dcr01s24
Change-Id: I144f23c571267543568a1bd132aea5a8a75db8f2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1853
Reviewed-by: q3k <q3k@hackerspace.pl>
Reviewed-by: implr <implr@hackerspace.pl>
2024-01-24 18:51:09 +00:00
patryk 86d9b23743 cluster/kube/k0.libsonnet: add s3 bucket for inventory
Change-Id: I44f3ab787e751abd7558e6e91eccb25fc0e5101b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1844
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-24 18:51:09 +00:00
voltar13 98ca98a11a site: Update address
Change-Id: I74eefe4e2451ca54edb272905dad393f1db9fed0
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1864
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-24 16:49:27 +00:00
palid 18aec0cba4 inventory: add current inventory implementation
feat: migrate statics and media to s3

Change-Id: I54df88ac288f0b436c852fb62fd60b6f5b4fd4bc
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1845
Reviewed-by: radex <radex@hackerspace.pl>
2024-01-22 20:51:02 +00:00
viq 30a563c49f ops/monitoring/lib/cluster.libsonnet: scrape based on annotations
This adds automatic scraping of pods and services based on presence of
annotations:
- prometheus.io/scrape
- prometheus.io/port
- prometheus.io/path

Change-Id: I1c1afecc75c30278889de1f6ca0b17da69997295
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1850
Reviewed-by: implr <implr@hackerspace.pl>
2024-01-19 22:02:40 +00:00
informatic 4e46d5017a cluster/kube: fix common missing namespace-admin permissions
Change-Id: I6ee4ede0b4e9db80559c009a1e86fbd2721f3d05
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1841
Reviewed-by: radex <radex@hackerspace.pl>
2024-01-18 23:47:20 +00:00
informatic a090225125 matrix: adjust for cluster changes, fix evaluation
Change-Id: I11eae24a073df4f2893a2a371c4c142dd1017d50
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1826
Reviewed-by: radex <radex@hackerspace.pl>
2024-01-18 23:47:09 +00:00
q3k 13ed756399 site: deploy
Change-Id: I348c81e8001770eee071034528a9843c6062ee9f
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1852
Reviewed-by: radex <radex@hackerspace.pl>
2024-01-18 16:37:39 +00:00
voltar13 05717112b8 site: Add PIT call to action
additionally:
* add simple fade out via transition API.

Change-Id: I8a512893d465782392ba17429eb390745ebe6684
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1846
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-16 19:43:05 +00:00
implr 5b388946e4 app/mastodon: give web and sidekiq more memory
Change-Id: I7506ffcbeedbf50eeaf789235a006b4b0b3bb985
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1851
Reviewed-by: q3k <q3k@hackerspace.pl>
2024-01-16 10:54:44 +00:00
q3k dacb77828d *: run buildifier
Change-Id: I4da53918e23ab5bb878ad47cfbfcf416e7b1660b
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1848
Reviewed-by: palid <palid@hackerspace.pl>
2024-01-15 13:48:24 +00:00
q3k 960b434b46 workspace: add buildifier
To run: `bazel run //:buildifier`

To be done: document and automate

Change-Id: I7631e45915d61d2b95b0d8b0d893d0e1de2ccbed
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1847
Reviewed-by: palid <palid@hackerspace.pl>
2024-01-15 13:48:24 +00:00