clean up
All checks were successful
build nixos-runner / build (push) Successful in 11m15s

This commit is contained in:
Jeffrey C. Ollie 2024-09-10 01:20:48 -05:00
parent 797dff20ed
commit 4e61a0d3fc
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -206,15 +206,6 @@
executable = true;
destination = "/bin/maintenance";
};
# script = pkgs.writeShellScript "maintenance" ''
# CURL_OPTIONS="--fail --silent --show-error --max-time 10 --retry 5 --output /dev/null"
# ${pkgs.curl}/bin/curl $CURL_OPTIONS http://webserver.healthchecks.svc/ping/$MAINTENANCE_CHECK_UUID/start
# ${self.packages.${system}.healthchecks}/app/manage.py prunenotifications
# ${self.packages.${system}.healthchecks}/app/manage.py pruneusers
# ${self.packages.${system}.healthchecks}/app/manage.py prunetokenbucket
# ${self.packages.${system}.healthchecks}/app/manage.py pruneflips
# ${pkgs.curl}/bin/curl $CURL_OPTIONS http://webserver.healthchecks.svc/ping/$MAINTENANCE_CHECK_UUID
# '';
in
pkgs.dockerTools.buildLayeredImage (
pkgs.lib.attrsets.recursiveUpdate baseImage {