Compare commits

..

2 commits

Author SHA1 Message Date
a1ace67cbd feat(infra): add S3 declarative buckets
Some checks are pending
lint / check (push) Waiting to run
Check meta / check_meta (push) Successful in 19s
Check meta / check_dns (push) Successful in 18s
Check meta / check_meta (pull_request) Successful in 16s
Check meta / check_dns (pull_request) Successful in 16s
build configuration / build_and_cache_compute01 (pull_request) Successful in 1m28s
build configuration / build_and_cache_geo01 (pull_request) Successful in 1m13s
build configuration / build_and_cache_storage01 (pull_request) Successful in 1m23s
build configuration / build_and_cache_rescue01 (pull_request) Successful in 1m25s
build configuration / build_and_cache_geo02 (pull_request) Successful in 1m6s
build configuration / build_and_cache_krz01 (pull_request) Successful in 2m3s
lint / check (pull_request) Successful in 25s
build configuration / build_and_cache_bridge01 (pull_request) Successful in 1m10s
build configuration / build_and_cache_web02 (pull_request) Successful in 1m19s
build configuration / build_and_cache_vault01 (pull_request) Successful in 1m26s
build configuration / build_and_cache_web01 (pull_request) Successful in 1m47s
A very simple basic support for it, which requires a S3 admin token.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-10-10 16:45:26 +02:00
adf9fb7287 feat(infra): introduce Terranix
This requires the support for monorepo-terraform-state.s3.dgnum.eu being
available.

`.credentials/` is age-encrypted using only my key for now until we
figure out the right mechanism.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-10-10 16:45:26 +02:00
2 changed files with 1 additions and 3 deletions

View file

@ -67,7 +67,6 @@ let
commitizen.enable = true;
};
};
terranixConfig = import "${sources.terranix}/core" {
inherit pkgs;
strip_nulls = true;
@ -78,7 +77,6 @@ in
{
inherit terranixConfigFile terranixConfig;
nodes = builtins.mapAttrs (
host: { site, ... }: "${host}.${site}.infra.dgnum.eu"
) (import ./meta/nodes.nix);

View file

@ -12,7 +12,7 @@
bucket = "monorepo-terraform-state";
key = "state";
# It's just a dumb Garage server, don't try to be smart.
# It's just a dump Garage server, don't try to be smart.
skip_credentials_validation = true;
skip_region_validation = true;
skip_requesting_account_id = true;