tvl-depot/ops
Vincent Ambo 9204b58f15 feat(automatic-gc): robust way to disable automatic-gc
We just had a minor incident where apparently our build cache for the
critical security fix was deleted by automatic-gc (which I had stopped
manually) being reenabled by an unrelated whitby deploy.

This adds a new mechanism where by touching a file called
`/run/stop-automatic-gc` the GC can be prevented from running.

We might want to configure an occasional alert or something if this
file exists, so we don't forget about it when we are using it.

Change-Id: I041e57e24b2b684696164a2d516581d7f5696ef0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11326
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
2024-03-31 21:44:26 +00:00
..
besadii fix(ops/besadii): error formatting 2024-01-03 17:03:41 +00:00
buildkite fix(ops/buildkite): set default_branch explicitly 2023-02-01 17:25:06 +00:00
deploy-whitby refactor(deploy-whitby): use nvd instead of nix-diff 2022-01-13 08:14:00 +00:00
dns chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
gerrit-autosubmit chore(ops/gerrit-autosubmit): clean up warnings & clippy lints 2024-01-03 20:28:56 +00:00
gerrit-tvl fix(gerrit-tvl): Use only one build filter 2022-05-28 13:39:58 +00:00
glesys fix(ops/glesys): add more magic skip_flags, use endpoints.s3 2024-02-24 09:47:52 +00:00
journaldriver chore(ops/journaldriver): bump cargo dependencies 2023-11-12 22:52:12 +00:00
keycloak chore(ops/keycloak): drop oauth2-proxy client 2023-07-01 23:35:13 +00:00
kontemplate style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
machines feat(aspen/system): Add lusca 2024-03-31 19:32:14 +00:00
modules feat(automatic-gc): robust way to disable automatic-gc 2024-03-31 21:44:26 +00:00
mq_cli style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
pipelines chore: move protoCheck into extraStep of //nix/bufCheck 2024-03-15 11:55:54 +00:00
posix_mq.rs style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
secrets chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
terraform refactor(ops/terraform/deploy-nixos): argstr -> argstr_json 2024-03-26 19:04:14 +00:00
users feat(ops/users): add a proper user for espes 2024-02-20 05:58:54 +00:00
yandex-base-image chore(ops): move yandex-base-image to //ops and bake in keys 2023-10-08 18:13:49 +00:00
yandex-cloud-rs chore(ops/yandex-cloud-rs): bump API definitions to 2023-09-04 2023-09-12 12:57:15 +00:00
nixos.nix fix(ops/nixos): Don't use the store path for depot 2024-02-21 06:11:02 +00:00