at 24.11-pre 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 ? [ ] 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; [ ]; 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_plasma6") 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 # FIXME: broken by QEMU 8.2.3 upgrade, reenable when fixed 86 # Upstream issue: https://gitlab.com/qemu-project/qemu/-/issues/2321 87 # (onSystems ["x86_64-linux"] "nixos.tests.hibernate") 88 (onFullSupported "nixos.tests.i3wm") 89 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSimple") 90 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvolDefault") 91 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvolEscape") 92 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvols") 93 (onSystems ["x86_64-linux"] "nixos.tests.installer.luksroot") 94 (onSystems ["x86_64-linux"] "nixos.tests.installer.lvm") 95 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBootZfs") 96 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBootFat") 97 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBoot") 98 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleLabels") 99 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleProvided") 100 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleUefiSystemdBoot") 101 (onSystems ["x86_64-linux"] "nixos.tests.installer.simple") 102 (onSystems ["x86_64-linux"] "nixos.tests.installer.swraid") 103 (onSystems ["x86_64-linux"] "nixos.tests.installer.zfsroot") 104 (onSystems ["x86_64-linux"] "nixos.tests.nixos-rebuild-specialisations") 105 (onFullSupported "nixos.tests.ipv6") 106 (onFullSupported "nixos.tests.keymap.azerty") 107 (onFullSupported "nixos.tests.keymap.colemak") 108 (onFullSupported "nixos.tests.keymap.dvorak") 109 (onFullSupported "nixos.tests.keymap.dvorak-programmer") 110 (onFullSupported "nixos.tests.keymap.neo") 111 (onFullSupported "nixos.tests.keymap.qwertz") 112 (onFullSupported "nixos.tests.latestKernel.login") 113 (onFullSupported "nixos.tests.lightdm") 114 (onFullSupported "nixos.tests.login") 115 (onFullSupported "nixos.tests.misc.default") 116 (onFullSupported "nixos.tests.mutableUsers") 117 (onFullSupported "nixos.tests.nat.firewall") 118 (onFullSupported "nixos.tests.nat.standalone") 119 (onFullSupported "nixos.tests.networking.scripted.bond") 120 (onFullSupported "nixos.tests.networking.scripted.bridge") 121 (onFullSupported "nixos.tests.networking.scripted.dhcpOneIf") 122 (onFullSupported "nixos.tests.networking.scripted.dhcpSimple") 123 (onFullSupported "nixos.tests.networking.scripted.link") 124 (onFullSupported "nixos.tests.networking.scripted.loopback") 125 (onFullSupported "nixos.tests.networking.scripted.macvlan") 126 (onFullSupported "nixos.tests.networking.scripted.privacy") 127 (onFullSupported "nixos.tests.networking.scripted.routes") 128 (onFullSupported "nixos.tests.networking.scripted.sit") 129 (onFullSupported "nixos.tests.networking.scripted.static") 130 (onFullSupported "nixos.tests.networking.scripted.virtual") 131 (onFullSupported "nixos.tests.networking.scripted.vlan") 132 (onFullSupported "nixos.tests.networking.networkd.bond") 133 (onFullSupported "nixos.tests.networking.networkd.bridge") 134 (onFullSupported "nixos.tests.networking.networkd.dhcpOneIf") 135 (onFullSupported "nixos.tests.networking.networkd.dhcpSimple") 136 (onFullSupported "nixos.tests.networking.networkd.link") 137 (onFullSupported "nixos.tests.networking.networkd.loopback") 138 # Fails nondeterministically (https://github.com/NixOS/nixpkgs/issues/96709) 139 #(onFullSupported "nixos.tests.networking.networkd.macvlan") 140 (onFullSupported "nixos.tests.networking.networkd.privacy") 141 (onFullSupported "nixos.tests.networking.networkd.routes") 142 (onFullSupported "nixos.tests.networking.networkd.sit") 143 (onFullSupported "nixos.tests.networking.networkd.static") 144 (onFullSupported "nixos.tests.networking.networkd.virtual") 145 (onFullSupported "nixos.tests.networking.networkd.vlan") 146 (onFullSupported "nixos.tests.systemd-networkd-ipv6-prefix-delegation") 147 (onFullSupported "nixos.tests.nfs4.simple") 148 (onSystems ["x86_64-linux"] "nixos.tests.oci-containers.podman") 149 (onFullSupported "nixos.tests.openssh") 150 (onFullSupported "nixos.tests.pantheon") 151 (onFullSupported "nixos.tests.php.fpm") 152 (onFullSupported "nixos.tests.php.httpd") 153 (onFullSupported "nixos.tests.php.pcre") 154 (onFullSupported "nixos.tests.plasma5") 155 (onSystems ["x86_64-linux"] "nixos.tests.podman") 156 (onFullSupported "nixos.tests.predictable-interface-names.predictableNetworkd") 157 (onFullSupported "nixos.tests.predictable-interface-names.predictable") 158 (onFullSupported "nixos.tests.predictable-interface-names.unpredictableNetworkd") 159 (onFullSupported "nixos.tests.predictable-interface-names.unpredictable") 160 (onFullSupported "nixos.tests.printing-service") 161 (onFullSupported "nixos.tests.printing-socket") 162 (onFullSupported "nixos.tests.proxy") 163 (onFullSupported "nixos.tests.sddm.default") 164 (onFullSupported "nixos.tests.shadow") 165 (onFullSupported "nixos.tests.simple") 166 (onFullSupported "nixos.tests.sway") 167 (onFullSupported "nixos.tests.switchTest") 168 (onFullSupported "nixos.tests.udisks2") 169 (onFullSupported "nixos.tests.xfce") 170 (onFullSupported "nixpkgs.emacs") 171 (onFullSupported "nixpkgs.jdk") 172 (onSystems ["x86_64-linux"] "nixpkgs.mesa_i686") # i686 sanity check + useful 173 [ 174 "nixpkgs.tarball" 175 "nixpkgs.release-checks" 176 ] 177 ]; 178 }; 179}