Fork 0
Commit Graph

17 Commits (6e10e46f96875ef15a1e1588e9b03d4f1f6b42a5)

Author SHA1 Message Date
implr 2281b5b618 env.sh: force CC=clang if present
Change-Id: I2369f4ad357b079c2525b7e4cea6d0178aca4c69
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1630
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-10-08 16:53:01 +00:00
q3k 0f8e5a2132 *: do not require env.sh
This removes the need to source env.{sh,fish} when working with hscloud.

This is done by:

 1. Implementing a Go library to reliably detect the location of the
    active hscloud checkout. That in turn is enabled by
    BUILD_WORKSPACE_DIRECTORY being now a thing in Bazel.
 2. Creating a tool `hscloud`, with a command `hscloud workspace` that
    returns the workspace path.
 3. Wrapping this tool to be accessible from Python and Bash.
 4. Bumping all users of hscloud_root to use either the Go library or
    one of the two implemented wrappers.

We also drive-by replace tools/install.sh to be a proper sh_binary, and
make it yell at people if it isn't being ran as `bazel run

Finally, we also drive-by delete cluster/tools/nixops.sh which was never used.

Change-Id: I7873714319bfc38bbb930b05baa605c5aa36470a
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1169
Reviewed-by: informatic <informatic@hackerspace.pl>
2021-10-17 21:21:58 +00:00
q3k f1dc4d87d8 env.sh: remove hscloud_nixos
This is not used anymore.

Change-Id: Ic69cd2a9889a992086feb3b55aeec6268c152824
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1165
Reviewed-by: q3k <q3k@hackerspace.pl>
2021-10-16 21:24:40 +00:00
patryk 30f9d03106 WORKSPACE: Shuffle things around to fix tools build on macOS
Change-Id: I281c1209620e9f3a017718fda1401d1ead9c52a4
2020-06-05 23:37:34 +02:00
informatic 2259437930 env: fix missing hscloud_nixos export
Change-Id: I1887a06908e8b50926288d4cd9c9a820dd795ae0
2020-03-21 23:44:10 +01:00
q3k c5a77b8f81 env/tools: fix NixOS detection, maybe
Change-Id: Ifa4c1c53ed918f67e68e190709edc417d0d3b4d6
2020-02-17 23:04:35 +01:00
q3k 1663e0e93b tools: move cluster-specific stuff to cluster/tools
Change-Id: I1813bb221d1bff0d6067eceb84d23510face60ff
2019-07-21 14:26:51 +00:00
q3k de061801db *: k0.hswaw.net somewhat working 2019-01-13 21:14:02 +01:00
q3k f2a812b9fd *: bazelify 2019-01-13 17:51:34 +01:00
q3k b0b0f3f278 k8s: regenerate kube-node certs with FQDN SAN 2019-01-13 13:32:19 +01:00
q3k 711c4a9c1a secrets: re-encode for inf, nuke secrets/plain 2019-01-13 00:02:10 +01:00
q3k ee7c1aa389 k8s: add apiserver and serviceaccounts certs 2019-01-12 23:56:17 +01:00
q3k 52c87186fa k8s: deploy k8s certs 2019-01-12 22:30:41 +01:00
Serge Bazanski 492e91aca1 env.sh: fix certs 2018-12-23 02:24:36 +01:00
Serge Bazanski 9ec50e360e env.sh: nicer niceness 2018-12-23 01:40:28 +01:00
Serge Bazanski a5be0d8384 env.sh: implement prod cert generation 2018-12-23 01:35:07 +01:00
q3k c6fd662d4b begin docker-composing 2018-11-01 22:39:01 +01:00