deploying & testing muneem today

This commit is contained in:
Anish Lakhwara 2022-12-01 14:49:22 +10:00
parent 5690a4f557
commit 089c042b7e

View file

@ -5,8 +5,8 @@
# scrappy script that requires muneem be cloned to /home/anish/usr/muneem # scrappy script that requires muneem be cloned to /home/anish/usr/muneem
# you also gotta setup .envrc and add all the secrets there lol # you also gotta setup .envrc and add all the secrets there lol
# muneem needs secrets, and internet access to install dependencies, havent figured that out with nix yet # muneem needs secrets, and internet access to install dependencies, havent figured that out with nix yet
# muneem also depends on jdk11, but that's only to install dependencies, run `bb -m dhyan.main` once before installing this script # muneem also depends on jdk11, but that's only to install dependencies, run `bb -m muneem.main` once before installing this script
# If you've updated muneem, you'll want to cd to /home/anish/usr/dhyan and run git pull # If you've updated muneem, you'll want to cd to /home/anish/usr/muneem and run git pull
systemd.services.muneem = { systemd.services.muneem = {
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
path = with pkgs; [ path = with pkgs; [
@ -17,7 +17,7 @@
chromedriver chromedriver
chromium chromium
]; ];
startAt = "Tue *03:00:00"; startAt = "Thu *03:00:00";
script = '' script = ''
cd /home/anish/usr/muneem cd /home/anish/usr/muneem
source .envrc source .envrc
@ -30,6 +30,6 @@
systemd.timers.muneem = { systemd.timers.muneem = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
partOf = [ "muneem.service" ]; partOf = [ "muneem.service" ];
timerConfig.OnCalendar = [ "Tue *03:00:00" ]; timerConfig.OnCalendar = [ "Thu *03:00:00" ];
}; };
} }