4
0
Fork 2
mirror of https://gerrit.hackerspace.pl/hscloud synced 2024-12-05 16:00:20 +00:00
Find a file
Serge Bazanski 97b5cd7b58 go: re-do the entire thing
This is a mega-change, but attempting to split this up further is
probably not worth the effort.

Summary:

1. Bump up bazel, rules_go, and others.
2. Switch to new go target naming (bye bye go_default_library)
3. Move go deps to go.mod/go.sum, use make gazelle generate from that
4. Bump up Python deps a bit

And also whatever was required to actually get things to work - loads of
small useless changes.

Tested to work on NixOS and Ubuntu 20.04:

   $ bazel build //...
   $ bazel test //...

Change-Id: I8364bdaa1406b9ae4d0385a6b607f3e7989f98a9
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1583
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-22 21:50:19 +00:00
app go: re-do the entire thing 2023-09-22 21:50:19 +00:00
bgpwtf go: re-do the entire thing 2023-09-22 21:50:19 +00:00
bzl go: re-do the entire thing 2023-09-22 21:50:19 +00:00
cluster go: re-do the entire thing 2023-09-22 21:50:19 +00:00
dc go: re-do the entire thing 2023-09-22 21:50:19 +00:00
devtools go: re-do the entire thing 2023-09-22 21:50:19 +00:00
doc doc: improve cluster/user docs, make it more discoverable 2023-09-22 20:44:48 +00:00
games go: re-do the entire thing 2023-09-22 21:50:19 +00:00
gcp secretstore: add implr 2019-05-18 00:15:25 +02:00
go go: re-do the entire thing 2023-09-22 21:50:19 +00:00
hswaw go: re-do the entire thing 2023-09-22 21:50:19 +00:00
kube *: post-certmanager manifests update 2023-06-19 21:20:44 +00:00
nix/readtree go/workspace: implement EvalHscloudNix 2023-06-19 22:23:52 +00:00
ops cluster/clustercfg: rewrite it in Go 2023-06-19 22:23:52 +00:00
personal go: re-do the entire thing 2023-09-22 21:50:19 +00:00
third_party go: re-do the entire thing 2023-09-22 21:50:19 +00:00
tools go: re-do the entire thing 2023-09-22 21:50:19 +00:00
.bazelrc go: re-do the entire thing 2023-09-22 21:50:19 +00:00
.bazelversion go: re-do the entire thing 2023-09-22 21:50:19 +00:00
.gitignore Add bazel error log to .gitignore 2021-03-21 22:25:09 +01:00
BUILD go: re-do the entire thing 2023-09-22 21:50:19 +00:00
ci_presubmit.sh ci_presubmit: don't rely on tools/install.sh and hscloud_root 2021-10-16 21:24:47 +00:00
COPYING Update COPYING 2020-10-10 15:59:10 +00:00
default.nix go: re-do the entire thing 2023-09-22 21:50:19 +00:00
env.fish *: do not require env.sh 2021-10-17 21:21:58 +00:00
env.sh *: do not require env.sh 2021-10-17 21:21:58 +00:00
go.mod go: re-do the entire thing 2023-09-22 21:50:19 +00:00
go.sum go: re-do the entire thing 2023-09-22 21:50:19 +00:00
hackdoc.toml devtools/hackdoc: init 2020-04-08 20:03:12 +02:00
OWNERS OWNERS += implr 2020-07-30 22:52:58 +02:00
README.md doc/codelabs: add getting-started/checking-out 2021-03-21 14:05:48 +01:00
shell.nix go: re-do the entire thing 2023-09-22 21:50:19 +00:00
WORKSPACE go: re-do the entire thing 2023-09-22 21:50:19 +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.

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, covid-formity, 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.