add actions and jobs for automatic updates #38

Merged
clan-bot merged 11 commits from actions into main 2023-07-28 12:03:45 +00:00
Owner
No description provided.
DavHau added 6 commits 2023-07-26 18:50:45 +00:00
DavHau force-pushed actions from 9a97c39888 to badf3fb01d 2023-07-26 18:51:36 +00:00 Compare
Mic92 reviewed 2023-07-27 08:59:47 +00:00
@ -0,0 +35,4 @@
self.packages.${pkgs.system}.job-flake-update
];
script = ''
cd /run/job-flake-update
Owner

You can use serviceConfig.WorkingDirectory instead.

You can use serviceConfig.WorkingDirectory instead.
DavHau marked this conversation as resolved
Mic92 reviewed 2023-07-27 09:00:47 +00:00
@ -0,0 +23,4 @@
GIT_AUTHOR_NAME = "Clan Merge Bot";
GIT_COMMITTER_NAME = "Clan Merge Bot";
GIT_AUTHOR_EMAIL = "clan-bot@git.clan.lol";
GIT_COMMITTER_EMAIL = "clan-bot@git.clan.lol";
Owner

HOME = "/run/job-flake-update";
REPO_DIR = "/run/job-flake-update/repo";

HOME = "/run/job-flake-update"; REPO_DIR = "/run/job-flake-update/repo";
DavHau marked this conversation as resolved
DavHau changed title from add actions and jobs for automatic updates to WIP: add actions and jobs for automatic updates 2023-07-27 09:00:56 +00:00
Mic92 reviewed 2023-07-27 09:01:21 +00:00
@ -0,0 +38,4 @@
cd /run/job-flake-update
mkdir -p home
export HOME=$(realpath home)
export REPO_DIR=$HOME/repo
Owner

If you move environment variables as suggested above, you can use ExecStart on self.packages.${pkgs.system}.job-flake-update instead of having to generate a wrapper script

If you move environment variables as suggested above, you can use ExecStart on self.packages.${pkgs.system}.job-flake-update instead of having to generate a wrapper script
DavHau marked this conversation as resolved
Mic92 reviewed 2023-07-27 09:02:02 +00:00
@ -0,0 +32,4 @@
};
path = [
self.packages.${pkgs.system}.job-flake-update
self.packages.${pkgs.system}.job-flake-update
Owner

Twice?

Twice?
DavHau marked this conversation as resolved
DavHau force-pushed actions from badf3fb01d to 7c424f56ba 2023-07-28 11:26:27 +00:00 Compare
DavHau force-pushed actions from 7c424f56ba to 4f3184ba73 2023-07-28 11:27:06 +00:00 Compare
DavHau changed title from WIP: add actions and jobs for automatic updates to add actions and jobs for automatic updates 2023-07-28 11:27:36 +00:00
DavHau force-pushed actions from 4f3184ba73 to 3eefa127fb 2023-07-28 12:01:48 +00:00 Compare
clan-bot was assigned by DavHau 2023-07-28 12:03:36 +00:00
clan-bot merged commit 376038e7c7 into main 2023-07-28 12:03:45 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: clan/clan-infra#38
No description provided.