tvl-depot/users/flokli/nixos
Florian Klink e4adca0880 feat(users/flokli/nixos/archeology-ec2): automate bucket log parsing
This adds a `parse-bucket-logs.{service,timer}`, running once every
night at 3AM UTC, figuring out the last time it was run and parsing
bucket logs for all previous days.

It invokes the `archeology-parse-bucket-logs` script to produce
a .parquet file with the bucket logs in `s3://nix-cache-log/log/` for
that day (inside a temporary directory), then on success uploads the
produced parquet file to
`s3://nix-archeologist/nix-cache-bucket-logs/yyyy-mm-dd.parquet`.

Change-Id: Ia75ca8c43f8074fbaa34537ffdba68350c504e52
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10011
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
2023-11-12 16:46:06 +00:00
..
archeology refactor(users/flokli): move common stuff to archeology profile 2023-10-30 12:15:35 +00:00
archeology-ec2 feat(users/flokli/nixos/archeology-ec2): automate bucket log parsing 2023-11-12 16:46:06 +00:00
profiles feat(users/flokli/archeology): add awscli, htop, kitty terminfo 2023-10-30 12:15:36 +00:00
.envrc feat(users/flokli/nixos): add direnv support 2023-10-30 14:32:18 +00:00
.skip-subtree feat(users/flokli/nixos): init archeology 2023-10-29 16:31:35 +00:00
default.nix feat(users/flokli/nixos): add direnv support 2023-10-30 14:32:18 +00:00