at 23.11-beta 9.2 kB view raw
1# This jobset defines the main NixOS channels (such as nixos-unstable 2# and nixos-14.04). The channel is updated every time the ‘tested’ job 3# succeeds, and all other jobs have finished (they may fail). 4 5{ nixpkgs ? { outPath = (import ../lib).cleanSource ./..; revCount = 56789; shortRev = "gfedcba"; } 6, stableBranch ? false 7, supportedSystems ? [ "aarch64-linux" "x86_64-linux" ] 8, limitedSupportedSystems ? [ "i686-linux" ] 9}: 10 11let 12 13 nixpkgsSrc = nixpkgs; # urgh 14 15 pkgs = import ./.. {}; 16 17 removeMaintainers = set: if builtins.isAttrs set 18 then if (set.type or "") == "derivation" 19 then set // { meta = builtins.removeAttrs (set.meta or {}) [ "maintainers" ]; } 20 else pkgs.lib.mapAttrs (n: v: removeMaintainers v) set 21 else set; 22 23in rec { 24 25 nixos = removeMaintainers (import ./release.nix { 26 inherit stableBranch; 27 supportedSystems = supportedSystems ++ limitedSupportedSystems; 28 nixpkgs = nixpkgsSrc; 29 }); 30 31 nixpkgs = builtins.removeAttrs (removeMaintainers (import ../pkgs/top-level/release.nix { 32 inherit supportedSystems; 33 nixpkgs = nixpkgsSrc; 34 })) [ "unstable" ]; 35 36 tested = 37 let 38 onFullSupported = x: map (system: "${x}.${system}") supportedSystems; 39 onAllSupported = x: map (system: "${x}.${system}") (supportedSystems ++ limitedSupportedSystems); 40 onSystems = systems: x: map (system: "${x}.${system}") 41 (pkgs.lib.intersectLists systems (supportedSystems ++ limitedSupportedSystems)); 42 in pkgs.releaseTools.aggregate { 43 name = "nixos-${nixos.channel.version}"; 44 meta = { 45 description = "Release-critical builds for the NixOS channel"; 46 maintainers = with pkgs.lib.maintainers; [ eelco ]; 47 }; 48 constituents = pkgs.lib.concatLists [ 49 [ "nixos.channel" ] 50 (onFullSupported "nixos.dummy") 51 (onAllSupported "nixos.iso_minimal") 52 (onSystems ["x86_64-linux" "aarch64-linux"] "nixos.amazonImage") 53 (onFullSupported "nixos.iso_plasma5") 54 (onFullSupported "nixos.iso_gnome") 55 (onFullSupported "nixos.manual") 56 (onSystems ["x86_64-linux"] "nixos.ova") 57 (onSystems ["aarch64-linux"] "nixos.sd_image") 58 (onFullSupported "nixos.tests.acme") 59 (onSystems ["x86_64-linux"] "nixos.tests.boot.biosCdrom") 60 (onSystems ["x86_64-linux"] "nixos.tests.boot.biosUsb") 61 (onFullSupported "nixos.tests.boot-stage1") 62 (onFullSupported "nixos.tests.boot.uefiCdrom") 63 (onFullSupported "nixos.tests.boot.uefiUsb") 64 (onFullSupported "nixos.tests.chromium") 65 (onFullSupported "nixos.tests.containers-imperative") 66 (onFullSupported "nixos.tests.containers-ip") 67 (onSystems ["x86_64-linux"] "nixos.tests.docker") 68 (onFullSupported "nixos.tests.ecryptfs") 69 (onFullSupported "nixos.tests.env") 70 71 # Way too many manual retries required on Hydra. 72 # Apparently it's hard to track down the cause. 73 # So let's depend just on the packages for now. 74 #(onFullSupported "nixos.tests.firefox-esr") 75 #(onFullSupported "nixos.tests.firefox") 76 # Note: only -unwrapped variants have a Hydra job. 77 (onFullSupported "nixpkgs.firefox-esr-unwrapped") 78 (onFullSupported "nixpkgs.firefox-unwrapped") 79 80 (onFullSupported "nixos.tests.firewall") 81 (onFullSupported "nixos.tests.fontconfig-default-fonts") 82 (onFullSupported "nixos.tests.gitlab") 83 (onFullSupported "nixos.tests.gnome") 84 (onFullSupported "nixos.tests.gnome-xorg") 85 (onSystems ["x86_64-linux"] "nixos.tests.hibernate") 86 (onFullSupported "nixos.tests.i3wm") 87 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSimple") 88 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvolDefault") 89 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvolEscape") 90 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvols") 91 (onSystems ["x86_64-linux"] "nixos.tests.installer.luksroot") 92 (onSystems ["x86_64-linux"] "nixos.tests.installer.lvm") 93 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBootFat") 94 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBoot") 95 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleLabels") 96 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleProvided") 97 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleUefiSystemdBoot") 98 (onSystems ["x86_64-linux"] "nixos.tests.installer.simple") 99 (onSystems ["x86_64-linux"] "nixos.tests.installer.swraid") 100 (onSystems ["x86_64-linux"] "nixos.tests.installer.zfsroot") 101 (onSystems ["x86_64-linux"] "nixos.tests.nixos-rebuild-specialisations") 102 (onFullSupported "nixos.tests.ipv6") 103 (onFullSupported "nixos.tests.keymap.azerty") 104 (onFullSupported "nixos.tests.keymap.colemak") 105 (onFullSupported "nixos.tests.keymap.dvorak") 106 (onFullSupported "nixos.tests.keymap.dvorak-programmer") 107 (onFullSupported "nixos.tests.keymap.neo") 108 (onFullSupported "nixos.tests.keymap.qwertz") 109 (onFullSupported "nixos.tests.latestKernel.login") 110 (onFullSupported "nixos.tests.lightdm") 111 (onFullSupported "nixos.tests.login") 112 (onFullSupported "nixos.tests.misc") 113 (onFullSupported "nixos.tests.mutableUsers") 114 (onFullSupported "nixos.tests.nat.firewall") 115 (onFullSupported "nixos.tests.nat.standalone") 116 (onFullSupported "nixos.tests.networking.scripted.bond") 117 (onFullSupported "nixos.tests.networking.scripted.bridge") 118 (onFullSupported "nixos.tests.networking.scripted.dhcpOneIf") 119 (onFullSupported "nixos.tests.networking.scripted.dhcpSimple") 120 (onFullSupported "nixos.tests.networking.scripted.link") 121 (onFullSupported "nixos.tests.networking.scripted.loopback") 122 (onFullSupported "nixos.tests.networking.scripted.macvlan") 123 (onFullSupported "nixos.tests.networking.scripted.privacy") 124 (onFullSupported "nixos.tests.networking.scripted.routes") 125 (onFullSupported "nixos.tests.networking.scripted.sit") 126 (onFullSupported "nixos.tests.networking.scripted.static") 127 (onFullSupported "nixos.tests.networking.scripted.virtual") 128 (onFullSupported "nixos.tests.networking.scripted.vlan") 129 (onFullSupported "nixos.tests.networking.networkd.bond") 130 (onFullSupported "nixos.tests.networking.networkd.bridge") 131 (onFullSupported "nixos.tests.networking.networkd.dhcpOneIf") 132 (onFullSupported "nixos.tests.networking.networkd.dhcpSimple") 133 (onFullSupported "nixos.tests.networking.networkd.link") 134 (onFullSupported "nixos.tests.networking.networkd.loopback") 135 # Fails nondeterministically (https://github.com/NixOS/nixpkgs/issues/96709) 136 #(onFullSupported "nixos.tests.networking.networkd.macvlan") 137 (onFullSupported "nixos.tests.networking.networkd.privacy") 138 (onFullSupported "nixos.tests.networking.networkd.routes") 139 (onFullSupported "nixos.tests.networking.networkd.sit") 140 (onFullSupported "nixos.tests.networking.networkd.static") 141 (onFullSupported "nixos.tests.networking.networkd.virtual") 142 (onFullSupported "nixos.tests.networking.networkd.vlan") 143 (onFullSupported "nixos.tests.systemd-networkd-ipv6-prefix-delegation") 144 (onFullSupported "nixos.tests.nfs3.simple") 145 (onFullSupported "nixos.tests.nfs4.simple") 146 (onSystems ["x86_64-linux"] "nixos.tests.oci-containers.podman") 147 (onFullSupported "nixos.tests.openssh") 148 (onFullSupported "nixos.tests.pantheon") 149 (onFullSupported "nixos.tests.php.fpm") 150 (onFullSupported "nixos.tests.php.httpd") 151 (onFullSupported "nixos.tests.php.pcre") 152 (onFullSupported "nixos.tests.plasma5") 153 (onSystems ["x86_64-linux"] "nixos.tests.podman") 154 (onFullSupported "nixos.tests.predictable-interface-names.predictableNetworkd") 155 (onFullSupported "nixos.tests.predictable-interface-names.predictable") 156 (onFullSupported "nixos.tests.predictable-interface-names.unpredictableNetworkd") 157 (onFullSupported "nixos.tests.predictable-interface-names.unpredictable") 158 (onFullSupported "nixos.tests.printing-service") 159 (onFullSupported "nixos.tests.printing-socket") 160 (onFullSupported "nixos.tests.proxy") 161 (onFullSupported "nixos.tests.sddm.default") 162 (onFullSupported "nixos.tests.shadow") 163 (onFullSupported "nixos.tests.simple") 164 (onFullSupported "nixos.tests.sway") 165 (onFullSupported "nixos.tests.switchTest") 166 (onFullSupported "nixos.tests.udisks2") 167 (onFullSupported "nixos.tests.xfce") 168 (onFullSupported "nixpkgs.emacs") 169 (onFullSupported "nixpkgs.jdk") 170 ["nixpkgs.tarball"] 171 172 # Ensure that nixpkgs-check-by-name is available in all release channels and nixos-unstable, 173 # so that a pre-built version can be used in CI for PR's on the corresponding development branches. 174 # See ../pkgs/test/nixpkgs-check-by-name/README.md 175 (onSystems ["x86_64-linux"] "nixpkgs.tests.nixpkgs-check-by-name") 176 ]; 177 }; 178}