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
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
zowoq
60465ac54c
build02/nixpkgs-update: on-abort -> on-failure
...
Co-authored-by: Ryan Hendrickson <ryan.hendrickson@alum.mit.edu>
2023-10-01 21:45:31 +00:00
Jörg Thalheim
e3f12024b5
Update hosts/build02/nixpkgs-update.nix
2023-08-31 22:31:01 +00:00
Ryan Hendrickson
35e918b008
build02/nixpkgs-update: tee worker stdout and stderr to log files
2023-08-31 22:31:01 +00:00
zowoq
9f921e27c5
modules: refactor cachix secrets, watch-store
...
move cachix related files into directory
2023-07-01 22:08:15 +00:00
zowoq
5e5678ec15
build0*: move into /hosts
2023-06-01 01:04:53 +00:00