1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/nixos/modules/services
Maximilian Bosch bd5324c4fc
hydra: 2020-02-06 -> 2020-03-{24,27}
Upgrades Hydra to the latest master/flake branch. To perform this
upgrade, it's needed to do a non-trivial db-migration which provides a
massive performance-improvement[1].

The basic ideas behind multi-step upgrades of services between NixOS versions
have been gathered already[2]. For further context it's recommended to
read this first.

Basically, the following steps are needed:

* Upgrade to a non-breaking version of Hydra with the db-changes
  (columns are still nullable here). If `system.stateVersion` is set to
  something older than 20.03, the package will be selected
  automatically, otherwise `pkgs.hydra-migration` needs to be used.

* Run `hydra-backfill-ids` on the server.

* Deploy either `pkgs.hydra-unstable` (for Hydra master) or
  `pkgs.hydra-flakes` (for flakes-support) to activate the optimization.

The steps are also documented in the release-notes and in the module
using `warnings`.

`pkgs.hydra` has been removed as latest Hydra doesn't compile with
`pkgs.nixStable` and to ensure a graceful migration using the newly
introduced packages.

To verify the approach, a simple vm-test has been added which verifies
the migration steps.

[1] https://github.com/NixOS/hydra/pull/711
[2] https://github.com/NixOS/nixpkgs/pull/82353#issuecomment-598269471
2020-03-28 23:33:25 +01:00
..
admin nixos/oxidized: add missing slash to PIDFile path 2020-01-06 16:58:54 +01:00
amqp treewide: fix redirected urls 2020-01-22 11:26:22 +01:00
audio nixos/alsa: replace list by attrset in environment.etc 2020-02-14 01:17:18 +01:00
backup Merge pull request #72060 from lopsided98/sanoid-init 2020-02-10 01:28:41 +01:00
cluster nixos/kubernetes: allow configuring cfssl API server SANs 2020-01-18 23:39:21 -08:00
computing folding@home: 6.02 -> 7.5.1 2020-03-14 13:01:26 -07:00
continuous-integration hydra: 2020-02-06 -> 2020-03-{24,27} 2020-03-28 23:33:25 +01:00
databases nixos/mysql: fix service so it works with mysql80 package 2020-03-20 20:54:17 -04:00
desktops nixos/rigel: Fix evaluation 2020-03-26 19:29:08 -04:00
development nixos/jupyter: Fix documentation example for jupyter.kernels (#56415) 2020-01-31 15:30:02 +01:00
editors treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
games nixos/openarena: fix service's binary name 2019-11-24 16:55:20 +01:00
hardware nixos/tlp: revamp 2020-02-27 09:58:51 -08:00
logging treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
mail Merge pull request #76739 from symphorien/mail_plugins 2020-03-12 22:44:23 +01:00
misc Remove unused 'rogue' service 2020-03-24 15:25:20 +01:00
monitoring nixos/netdata: fix permissions for perf.plugin 2020-03-23 12:24:49 +03:00
network-filesystems Merge pull request #75922 from tadfisher/kbfs-fixes 2020-01-28 19:13:40 -05:00
networking nixos/supplicant: Don't *stop* supplicant on machine resume. Fixes #51582 2020-03-20 11:08:34 -04:00
printing treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
scheduling treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
search solr: drop 7.x series 2020-01-18 08:50:35 -05:00
security fail2ban: fix firewall warning 2020-03-22 18:11:36 +01:00
system treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
torrent nixos/transmission: Allow others to read the directory 2020-02-24 08:03:21 +01:00
ttys treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
wayland nixos/cage: move ConditionPathExists to service config 2020-03-09 00:47:49 +01:00
web-apps Merge pull request #82929 from zimbatm/nixos-gerrit 2020-03-26 12:47:15 +01:00
web-servers Merge pull request #81891 from emilazy/nginx-use-mozilla-tls-config 2020-03-06 14:30:28 +00:00
x11 Merge pull request #80066 from worldofpeace/mate-upstream 2020-03-23 13:37:10 -04:00