mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-10 09:10:29 +02:00
Add complete codesearch role with zoekt implementation. Zoekt provides disk-based sharded indexing that avoids OOM issues on 8GB systems, with per-package .zoekt shard files and automatic discovery. - Implement fetch-sources script that clones archlinux/packaging/state to determine current package list and versions, then downloads PKGBUILDs and upstream sources from GitLab with parallel job support and idempotent re-runs - Add zoekt-webserver systemd service for search frontend - Add zoekt-index service/timer for incremental index generation - Configure nginx reverse proxy to port 6070 with TLS - Set up firewall rules for HTTP/HTTPS and monitoring access Architecture: - codesearch-extract.timer: Daily fetch trigger - codesearch-extract.service: Runs fetch-sources to download sources - codesearch-index.timer: Runs every 5 minutes after extraction - codesearch-index.service: Builds zoekt shards - codesearch-webserver.service: Serves search UI from disk shards Fixes: infrastructure#808 Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
16 lines
337 B
YAML
16 lines
337 B
YAML
ipv4_address: "167.235.227.32"
|
|
ipv4_netmask: "/32"
|
|
ipv6_address: "2a01:4f8:c014:7725::1"
|
|
ipv6_netmask: "/64"
|
|
ipv4_gateway: "172.31.1.1"
|
|
ipv6_gateway: "fe80::1"
|
|
system_disks:
|
|
- /dev/sda
|
|
|
|
enable_zram_swap: true
|
|
|
|
sshd_tcp_forwarding: "no"
|
|
|
|
wireguard_address: 10.0.0.21
|
|
wireguard_public_key: "Ppvl71KFkcpJ90109pe+zZ1EN6KgWHSpmpfRjWO5zAc="
|