Commit graph

116 commits

Author SHA1 Message Date
zowoq
6991dc3f4b build02/nixpkgs-update: add another worker 2024-05-14 23:12:27 +00:00
zowoq
07547aa0a7 build02: bump zfs_arc_max to 24GB 2024-05-14 23:12:27 +00:00
zowoq
29ccc15750 serve logs on nixpkgs-update-logs.nix-community.org 2024-05-14 09:32:14 +00:00
zowoq
cf0190c937 editorconfig fixes 2024-05-09 22:40:20 +00:00
zowoq
6884ff9b39 build02/nixpkgs-update: add supervisor-test 2024-04-21 03:26:33 +00:00
zowoq
1acf75b6d9 build02/nixpkgs-update: unpin supervisor python 2024-04-21 03:26:33 +00:00
zowoq
80696ea408 build02/nixpkgs-update: remove extra cachix symlink 2024-04-17 23:23:10 +00:00
zowoq
f372a7f4fd build02/nixpkgs-update: use fetchTarball for updatescript fetcher
this is similar to how the github fetcher works

also update mkFetcher CacheDirectory
2024-04-17 23:23:10 +00:00
zowoq
ded8e19b95 build02/nixpkgs-update: use sops path for API_TOKEN_FILE 2024-04-17 23:23:10 +00:00
zowoq
a7c9172d97 build02/nixpkgs-update: set oneshot for nixpkgs-update-delete-old-logs
follow up from 415bdb8e1b
2024-04-16 00:54:34 +00:00
zowoq
d31c569094 build02: set zfs_arc_max 2024-04-15 23:49:06 +00:00
zowoq
415bdb8e1b build02/nixpkgs-update: delete old logs daily, run backup after delete 2024-04-15 01:22:19 +00:00
zowoq
11b9311b73 build02: switch to zfs 2024-04-08 04:37:21 +00:00
zowoq
efa30f63a3 build02/nixpkgs-update: reenable updatescript fetcher 2024-03-31 01:23:33 +00:00
zowoq
83c69172b0 build02/nixpkgs-update: reenable github fetcher
- update nixpkgs-update-github-releases
2024-03-31 01:23:33 +00:00
zowoq
5604d4aca9 build02/nixpkgs-update: disable github and updatescript fetchers 2024-03-30 05:23:26 +00:00
zowoq
29218765cf build02/nixpkgs-update: reduce workers to four 2024-03-25 02:34:05 +00:00
zowoq
0e64360c21 build02/nixpkgs-update: reuse worker nixpkgs repo for updatescript 2024-03-25 00:05:22 +00:00
zowoq
47d6de1f1b build02/nixpkgs-update/gitconfig: use ssh for push 2024-03-21 22:20:56 +00:00
zowoq
2744fbee43 Revert "build02: switch to btrfs"
This reverts commit 487138275c.
2024-03-21 16:39:15 +00:00
zowoq
506e83b78c build02/nixpkgs-update: update github fetcher
- add python deps to service path instead of using shell.nix from upstream repo

- drop unneeded NIX_PATH

- update nixpkgs-update-github-releases
2024-03-18 06:04:03 +00:00
zowoq
487138275c build02: switch to btrfs 2024-03-18 01:56:26 +00:00
zowoq
dc6490e416 build02/nixpkgs-update: add another worker 2024-03-17 00:36:30 +00:00
zowoq
7babebd1bb format tree 2024-03-07 03:10:19 +00:00
zowoq
665119c2ea build02/nixpkgs-update: use systemd schedule instead of a sleep
allows us to see how long it runs for and if it ever fails

- remove `multi-user.target`, caused services to be activated on every auto-upgrade switch

- also change `nixpkgs-update-delete-done` to every 12 hours
  had previously been running on every hour due to the hourly auto-upgrade switch
2024-03-06 22:50:12 +00:00
zowoq
0ea33daf18 build02/nixpkgs-update: github-token-with-username: use token from nix-infra-bot
`github-token-with-username` is only used for `nixpkgs-update-fetch-github`
2024-02-24 23:56:20 +00:00
zowoq
62adc18cf2 build02/nixpkgs-update: run fetchers every 12 hours
also add a sleep to ensure network is accessible
2024-02-12 03:03:57 +00:00
zowoq
8c8f5bbf91 build02/nixpkgs-update: remove worker logs older than 3 months 2024-02-12 03:03:48 +00:00
zowoq
447c09ed4b build02/nixpkgs-update: fix nixpkgs-update-delete-old-logs service 2024-02-04 11:07:45 +00:00
zowoq
4b8e915bc3 build02/nixpkgs-update: add more workers 2024-02-04 10:51:26 +00:00
zowoq
880b79dfba build02/nixpkgs-update: remove logs older than 18 months 2024-02-04 10:51:13 +00:00
zowoq
68fc7e762a build02/nixpkgs-update: reduce timeout to six hours 2024-02-04 10:51:02 +00:00
zowoq
eaf745de2a Revert "build02: run optimise store weekly"
This reverts commit 9d5ab7f7ec.
2024-01-23 22:57:12 +00:00
zowoq
c03246f531 add wants to services using network-online.target
c2853e2588
2024-01-22 03:39:59 +00:00
zowoq
9d5ab7f7ec build02: run optimise store weekly 2024-01-21 22:45:44 +00:00
Ryan Hendrickson
6de26b616a build02/nixpkgs-update: scramble order of new jobs 2024-01-18 03:52:21 +00:00
zowoq
149ab64725 build01,build02,build03: remove hostId 2023-12-19 05:11:48 +00:00
zowoq
4143922c6b build02: switch to new hardware 2023-12-13 05:53:33 +00:00
zowoq
d38a4d1076 build02/nixpkgs-update: add another worker 2023-12-10 23:11:11 +00:00
zowoq
7d06814c71 rotate cachix token 2023-12-09 04:21:37 +00:00
zowoq
c5315f3624 modules/nixos/zfs -> hosts/build02
only used on this host
2023-12-09 00:16:00 +00:00
zowoq
324831e148 build02: remove cachix secret key 2023-12-08 00:05:59 +00:00
zowoq
46281b8640 format tree 2023-12-07 03:15:11 +00:00
zowoq
b917a32aae build02: remove hercules 2023-12-02 03:37:48 +00:00
zowoq
2a72d56e9a refactor cachix secrets
each of these are only used on single host so they don't need to be shared
2023-11-16 21:29:45 +00:00
Ryan Hendrickson
3c99cb3eeb build02/nixpkgs-update: add timeout for workers 2023-11-11 16:58:55 +00:00
Ryan Hendrickson
2c61389d6c build02/nixpkgs-update: make socat more patient
This may address the intermittent ConnectionResetErrors we're seeing
from the supervisor. By default, socat will terminate its connection to
one side half a second after the other side closes; if the supervisor is
taking more than half a second to respond, this results in dropped jobs.
Bumping this timeout to five seconds should help.
2023-10-15 06:00:26 +00:00
Ryan Hendrickson
dafde52722 build02/nixpkgs-update: quiet the git command in updatescript fetcher 2023-10-09 11:41:49 +00:00
Ryan Mulligan
3c49f178df build02: nixpkgs-update: before running the updatescript fetcher, pull latest nixpkgs
Why
===
* The updatescript was not getting the latest information

What changed
===
* Before finding updatescripts to run, update nixpkgs
2023-10-08 19:32:31 +00:00
Ryan Hendrickson
20cd2e4226 build02/nixpkgs-update: replace fifo with supervisor service 2023-10-07 17:42:21 +00:00