Commit graph

59 commits

Author SHA1 Message Date
zowoq
9af99fa175 nixpkgs-update: run github fetcher every 6 hours
sometimes seems to be a bit flaky, run at shorter interval to compensate
2025-03-03 07:06:18 +00:00
zowoq
fcdf829b44 nixpkgs-update: drop recommendedZstdSettings = false
not enabled by default in srvos
2025-02-27 03:32:57 +00:00
zowoq
b90a577268 nixpkgs-update: pin nixpkgs-review 2025-01-07 03:00:05 +00:00
zowoq
782800e2a9 nixpkgs-update: use tools from $PATH 2025-01-07 03:00:05 +00:00
zowoq
263a805c38 nixpkgs-update: add another worker 2024-12-20 00:36:49 +00:00
zowoq
6528e6f959 nixpkgs-update: use harmonia for cache instead of cachix 2024-12-19 00:05:55 +00:00
zowoq
9795fb35a0 update network-online target
b2e99477cd
2024-12-18 23:04:03 +00:00
zowoq
e38de320b9 nixpkgs-update: filter updates 2024-12-05 03:32:43 +00:00
zowoq
c029c3d453 nixpkgs-update: add fetch-repology script 2024-12-05 03:32:43 +00:00
zowoq
77ed21e32b nixpkgs-update: add queue 2024-12-01 00:45:32 +00:00
zowoq
6b90e2b18b build02/nixpkgs-update: fix nix 2.24 2024-11-28 00:11:42 +00:00
zowoq
6ee4a1c4d5 use systemd unit name attribute 2024-11-14 03:56:00 +00:00
zowoq
e37d6f9f6c nixpkgs-update: various
- remove response escaping

- add NIXPKGS_UPDATE_BIN, WORKER_NAME to worker env
2024-11-04 00:34:28 +00:00
zowoq
ca0f1c1ab5 nixpkgs-update: move worker to bash script 2024-11-04 00:34:28 +00:00
zowoq
a06d843d5c 'toString inputs' -> 'inputs' 2024-10-29 00:05:15 +00:00
zowoq
39ccc57735 Revert "build02/nixpkgs-update: disable repology fetcher"
This reverts commit 4aedab3604.
2024-10-14 03:43:50 +00:00
zowoq
01c2beb7b4 modules/nixos: add nginx
- set worker_processes / worker_cpu_affinity to auto, enable pcre_jit

- enable ktls

- set a default virtualHost for a 404 and use it for reuseport

- set enableACME, forceSSL by default, disable for localhost

- set robots header and file
2024-10-08 23:48:11 +00:00
zowoq
9d6e3792c1 build02/nixpkgs-update: fix fetch-updatescript 2024-09-22 08:03:05 +00:00
zowoq
4aedab3604 build02/nixpkgs-update: disable repology fetcher 2024-08-06 23:27:34 +00:00
zowoq
92c55595d0 format tree 2024-07-24 10:27:26 +00:00
zowoq
1fb6b7b4e2 Revert "build02/nixpkgs-update: add another worker"
This reverts commit 6991dc3f4b.

ofborg seems worse the last couple of weeks
2024-07-13 03:17:44 +00:00
zowoq
044dd2f6bc build02/nixpkgs-update: remove extra github_token symlink 2024-05-22 05:49:47 +00:00
zowoq
35a3e29a20 build02/nixpkgs-update: disable nginx recommendedZstdSettings 2024-05-21 01:15:55 +00:00
zowoq
6991dc3f4b build02/nixpkgs-update: add another worker 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
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
415bdb8e1b build02/nixpkgs-update: delete old logs daily, run backup after delete 2024-04-15 01:22:19 +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
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
dc6490e416 build02/nixpkgs-update: add another worker 2024-03-17 00:36:30 +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
c03246f531 add wants to services using network-online.target
c2853e2588
2024-01-22 03:39:59 +00:00
zowoq
d38a4d1076 build02/nixpkgs-update: add another worker 2023-12-10 23:11:11 +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