4
0
Fork 2
mirror of https://gerrit.hackerspace.pl/hscloud synced 2025-03-25 18:34:52 +00:00
Find a file
radex 53f4a7dfc3 cluster/kube: move pki imports to cluster.libsonnet
This will allow affected libsonnets to be reused for k1

Change-Id: I30e7dfd6c391e479270c78f8a245d6f330e65027
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/2124
Reviewed-by: informatic <informatic@hackerspace.pl>
2025-01-14 17:47:32 +00:00
.devcontainer *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
.vscode devcontainer: initial vscode devcontainer setup 2025-01-06 11:48:00 +00:00
app kube: fix broken jsonnets 2025-01-14 15:53:59 +00:00
bgpwtf *: bump prodimage to noble, deploy 2025-01-14 16:31:16 +00:00
bzl bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
cluster cluster/kube: move pki imports to cluster.libsonnet 2025-01-14 17:47:32 +00:00
dc bazel: rename io_bazel_rules_go to rules_go 2025-01-11 20:40:37 +00:00
devtools *: bump prodimage to noble, deploy 2025-01-14 16:31:16 +00:00
doc kube: standardize on omitting replicas: 1 2025-01-11 16:45:33 +00:00
games *: migrate to rules_oci, fix cross-compilation 2025-01-11 21:31:45 +00:00
gcp tools/secretstore.py: add radex's key 2025-01-08 00:51:59 +00:00
go *: add more OWNERS 2025-01-12 14:43:33 +00:00
hswaw *: bump prodimage to noble, deploy 2025-01-14 16:31:16 +00:00
kube kube: standardize on omitting replicas: 1 2025-01-11 16:45:33 +00:00
nix/readtree go/workspace: implement EvalHscloudNix 2023-06-19 22:23:52 +00:00
ops machines/snowflake: bump nixpkgs to 24.11 2025-01-12 23:00:09 +00:00
personal bazel: rename io_bazel_rules_go to rules_go 2025-01-11 20:40:37 +00:00
third_party hswaw/site: migrate to go embed 2025-01-11 20:40:37 +00:00
tools bazel: rename io_bazel_rules_go to rules_go 2025-01-11 20:40:37 +00:00
.bazelrc *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
.bazelversion *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
.gitignore Add bazel error log to .gitignore 2021-03-21 22:25:09 +01:00
.gitreview *: add .gitreview 2024-10-31 20:46:44 +00:00
BUILD bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
CEMETERY.md hswaw/voucherchecker: bring back to the living in personal/q3k 2024-10-20 11:35:29 +00:00
ci_presubmit.sh bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
COPYING Update COPYING 2020-10-10 15:59:10 +00:00
default.nix *: bump bazel version, bump nixpkgs, add prebuilt container image 2025-01-11 20:40:37 +00:00
env.fish *: do not require env.sh 2021-10-17 21:21:58 +00:00
env.sh env.sh: do not set CC=clang in nix(os) 2023-10-14 11:51:39 +00:00
go.mod bazel: fix broken clustercfg, prodaccess 2025-01-12 08:36:40 +00:00
go.sum bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
hackdoc.toml devtools/hackdoc: init 2020-04-08 20:03:12 +02:00
MODULE.bazel bazel: fix broken clustercfg, prodaccess 2025-01-12 08:36:40 +00:00
MODULE.bazel.lock bazel: fix broken clustercfg, prodaccess 2025-01-12 08:36:40 +00:00
OWNERS *: add radex to owners 2025-01-05 21:06:52 +00:00
README.md devcontainer: initial vscode devcontainer setup 2025-01-06 11:48:00 +00:00
shell.nix bazel: migrate to bzlmod 2025-01-11 20:40:37 +00:00
WORKSPACE *: bump prodimage to noble, deploy 2025-01-14 16:31:16 +00:00

hscloud is the main monorepo of the Warsaw Hackerspace infrastructure code.

Getting started

See //doc/codelabs for tutorials on how to use hscloud.

If you want to browse the source of hscloud in a web browser, use cs.hackerspace.pl.

Initial setup: //doc/codelabs/getting-started/bazel-go.md

Initial bazel build for tools: bazelisk run //tools:install

For additional documentation go to //cluster

VSCode support

hscloud supports simpler setup and working with its source via dev containers. After opening the hscloud directory in VSCode, you should see a notification in the bottom right corner with suggested extensions. Currently the only suggested extension is the Dev Containers extension which allows you for one-click build of hscloud repository, without having to figure out all of its dependencies.

After building the container you should be able to create a new terminal from the vscode instance. It will be connected to the docker image which already has all the necessary tools built and included into your environment/PATH.

If you want some other help, talk to q3k, informatic or your therapist.

Directory Structure

Directories you should care about:

  • app: external services that we host that are somewhat universal: matrix, mastodon, etc.
  • bgpwtf: code related to our little ISP
  • cluster: code related to our Kubernetes cluster (k0.hswaw.net)
  • dc: code related to datacenter automation
  • devtools: code related to developer tooling, like gerrit or hackdoc
  • doc: high-level documentation that doesn't fit anywhere else, ie. codelabs
  • hswaw: Warsaw Hackerspace specific/internal services. The line between this and app is unfortunately blurry.
  • personal: user's personal (experimental) directories
  • kube, go: code specific to languages but general to the whole of hscloud

Licensing

Unless noted otherwise, code in hscloud is licensed under the BSD 0-clause license - see COPYING.