Commit Graph

6479 Commits

Author SHA1 Message Date
Thomas Gerbet
85f15277d0 etcd: switch to etcd_3_5 2023-05-28 08:04:43 +10:00
rnhmjoj
ea0b4a694a
nixos/test/networking: test unusual interface names 2023-05-27 19:19:37 +02:00
Victor Freire
fca068a558 nixos/tests/legit: init 2023-05-27 16:20:05 +00:00
Raito Bezarius
69bb0f94de nixos/nginx: first-class PROXY protocol support
PROXY protocol is a convenient way to carry information about the
originating address/port of a TCP connection across multiple layers of
proxies/NAT, etc.

Currently, it is possible to make use of it in NGINX's NixOS module, but
is painful when we want to enable it "globally".
Technically, this is achieved by reworking the defaultListen options and
the objective is to have a coherent way to specify default listeners in
the current API design.
See `mkDefaultListenVhost` and `defaultListen` for the details.

It adds a safeguard against running a NGINX with no HTTP listeners (e.g.
only PROXY listeners) while asking for ACME certificates over HTTP-01.

An interesting usecase of PROXY protocol is to enable seamless IPv4 to
IPv6 proxy with origin IPv4 address for IPv6-only NGINX servers, it is
demonstrated how to achieve this in the tests, using sniproxy.

Finally, the tests covers:

- NGINX `defaultListen` mechanisms are not broken by these changes;
- NGINX PROXY protocol listeners are working in a final usecase
  (sniproxy);
- uses snakeoil TLS certs from ACME setup with wildcard certificates;

In the future, it is desirable to spoof-attack NGINX in this scenario to
ascertain that `set_real_ip_from` and all the layers are working as
intended and preventing any user from setting their origin IP address to
any arbitrary, opening up the NixOS module to bad™ vulnerabilities.

For now, it is quite hard to achieve while being minimalistic about the
tests dependencies.
2023-05-26 19:48:26 +02:00
Ryan Lahfa
435237d641
Merge pull request #233350 from GrahamDennis/grahamdennis/testing-networks
nixos/qemu-vm: add option for named network interfaces
2023-05-26 15:57:01 +02:00
Alyssa Ross
a92bc576b1
nixos/stage-1: support bind mounts of files
On my system, / is tmpfs, and /etc/machine-id is bind mounted from
/persist.
2023-05-26 13:26:48 +00:00
Henri Menke
7d621d6be5
nixos/shadowsocks: wait for nginx to prevent race condition 2023-05-26 11:24:21 +02:00
Weijia Wang
9b6c126355
Merge pull request #234116 from chkno/nar-serve-fix
nixos/tests/nar-serve: Fix
2023-05-26 11:43:24 +03:00
Pol Dellaiera
371b4c3eb7
nixos/code-server: init tests 2023-05-26 09:51:33 +02:00
Scott Worley
8dcfb6853c nixos/tests/nar-serve: Fix 2023-05-25 19:10:22 -07:00
Yaya
931a1b97f7 nixos/tests/sftpgo: init 2023-05-25 22:46:15 +02:00
Sandro
e29207b95a
Merge pull request #231630 from OPNA2608/fix/mir_keyboard_missing
mir: Pull patch to fix evdev device misses
2023-05-25 21:40:42 +02:00
Will Fancher
fe43923a70
Merge pull request #229767 from mberndt123/mberndt123/stratis-rootfs
nixos/stratis: initrd support for stratis root volumes
2023-05-25 14:06:31 -04:00
ajs124
4f64a5c141 nixosTests.apparmor: fix expected.rules
was probably broken by recent-ish stdenv work
2023-05-24 19:17:29 +02:00
ajs124
2d63374a29 nixosTests.apparmor: fix after 5252e85595 2023-05-24 18:39:31 +02:00
zowoq
7a697fefe2 nixosTests.etcd-cluster: update name 2023-05-24 14:14:05 +10:00
zowoq
3865e5f46e nixosTests.etcd-cluster: fix test
match changes in 25f3323d60
2023-05-24 14:14:05 +10:00
Graham Dennis
93502aa3b1 nixos/qemu-vm: add option for named network interfaces
Adds a new option to the virtualisation modules that enables specifying explicitly named network interfaces in QEMU VMs.
The existing `virtualisation.vlans` option is still supported for cases where the name of the network interface is irrelevant.
2023-05-24 08:54:20 +10:00
Matthias Berndt
feb5a3cdcd remove unneeded import 2023-05-23 14:56:49 +02:00
Alexander Sieg
5ade08168a
outline: add nixos test 2023-05-23 12:03:39 +02:00
0x4A6F
afad0c152b
Merge pull request #214428 from mweinelt/frigate-init
frigate: init at 0.12.0
2023-05-22 18:29:37 +02:00
Ryan Lahfa
2e1e1f8765
Merge pull request #231502 from SuperSandro2000/portunus-openldap
nixos/portunus: use openldap compiled with libxcrypt-legacy
2023-05-22 18:20:52 +02:00
Naïm Favier
7b28ea6783
Merge pull request #233377 from ncfavier/revert-226088
Revert "nixos/syncthing: use rfc42 style settings"
2023-05-22 16:35:04 +02:00
Martin Weinelt
c7ad6560b0
nixos/tests/frigate: init
Starts a frigate instance with a dummy video stream provided by ffmpeg.

Co-Authored-By: fleaz <mail@felixbreidenstein.de>
2023-05-22 16:29:55 +02:00
Will Fancher
636e03bef3
Merge pull request #232533 from nikstur/systemd-repart-create-root
nixos/systemd-repart: enable creating root partition
2023-05-22 09:13:00 -04:00
ajs124
b6ec248dd4
Merge pull request #233007 from LeSuisse/varnish73-init
varnish73: init at 7.3.0
2023-05-22 12:48:33 +02:00
Naïm Favier
d5e090d2d8
Revert "nixos/syncthing: use rfc42 style settings"
This reverts commit 32866f8d58.
This reverts commit 40a2df0fb0.
This reverts commit 4762932601.
2023-05-22 10:29:52 +02:00
Ryan Lahfa
0e662e669a
Merge pull request #227642 from Flakebi/powerdns-admin2
powerdns-admin: 0.3.0 -> 0.4.1
2023-05-22 09:30:24 +02:00
Nick Cao
cf577b1ef8
Merge pull request #232828 from Luflosi/update/apfsprogs
apfsprogs: unstable-2023-03-21 -> unstable-2023-05-16
2023-05-21 23:51:46 -06:00
Flakebi
1a13b4c0f9
powerdns-admin: 0.3.0 -> 0.4.1
- Fix with flask-migrate 4+
- Update to 0.4.1
- Improve the test to check that using the database works
2023-05-22 00:39:58 +02:00
Sandro Jäckel
00000006e9
nixos/tests: init portunus 2023-05-21 23:56:02 +02:00
Martin Weinelt
f113e06f0f
Merge pull request #233245 from teutat3s/zhf/fix-prometheus-exporter-domain
nixosTests.prometheus-exporters.domain fix test
2023-05-21 22:05:56 +02:00
figsoda
611def187a
Merge pull request #233151 from Misterio77/headscale-better-test
nixos/tests/headscale: test improvements
2023-05-21 14:30:09 -04:00
Sandro
a74a4a2f32
Merge pull request #232534 from teutat3s/zhf/fix-prometheus-exporter-jitsi
jitsi-videobridge: refactor broken `apis` option to `colibriRestApi`
2023-05-21 18:43:59 +02:00
Martin Weinelt
84229fb9cb
Merge pull request #233247 from teutat3s/zhf/fix-prometheus-exporter-statsd
nixosTests.prometheus-exporters.statsd fix test
2023-05-21 17:47:07 +02:00
teutat3s
810268b853
nixosTests.prometheus-exporters.statsd fix test 2023-05-21 17:10:44 +02:00
pennae
727086540f
Merge pull request #233238 from emilylange/username-change
maintainers: rename indeednotjames to emilylange
2023-05-21 17:07:05 +02:00
teutat3s
998819a01a
nixosTests.prometheus-exporters.domain fix test 2023-05-21 16:47:12 +02:00
emilylange
b0e7f7f5db
maintainers: rename indeednotjames to emilylange 2023-05-21 16:01:35 +02:00
teutat3s
cb81bd9340
jitsi-videobridge: refactor broken apis option to
colibriRestApi

Refactor option to use jvb.conf and convert to boolean. Using the CLI
argument broke a while ago and is deprecated by upstream since 2021:
https://github.com/jitsi/jitsi-videobridge/pull/1738/files#diff-d9f589d2aae1673693461d7c3b9214324201ca1f43db63a3c773d4acfc52bc81

This fixes the currently broken test:
nixosTests.prometheus-exporters.jitsi
2023-05-21 15:31:14 +02:00
Gabriel Fontes
d18612fa7c
nixos/tests/headscale: test improvements
The test covers actual headscale+tailscale usage now.
2023-05-21 01:37:06 -03:00
Ryan Lahfa
07a84e229f
Merge pull request #232890 from nevivurn/feature/fix-fcitx5-test
nixosTests.fcitx5: unbreak, add rest of CJK
2023-05-20 17:54:51 +02:00
Robert Scott
04547deb91
Merge pull request #232884 from teutat3s/zhf/prometheus-exporters-json-test
nixosTests.prometheus-exporters.json: fix test script
2023-05-20 15:51:59 +01:00
Thomas Gerbet
16c6122a88 varnish73: init at 7.3.0
https://varnish-cache.org/releases/rel7.3.0.html
2023-05-20 13:49:24 +02:00
figsoda
202699c918 nixos/tests: fix typos 2023-05-19 22:31:04 -04:00
Martin Weinelt
ee68357205
nixos/tests/home-assistant: Don't test matter
It is affected by the OpenSSL 1.1 EOL and removing it makes hydra build
this test again.
2023-05-20 00:31:07 +02:00
Yongun Seong
3be52dc1db
nixosTests.fcitx5: unbreak, add rest of CJK 2023-05-20 05:21:02 +09:00
teutat3s
1d556fd9f3
nixosTests.prometheus-exporters.json: fix test script
Upstream changed the config format in https://github.com/prometheus-community/json_exporter/pull/146
2023-05-19 21:49:55 +02:00
nikstur
ef80e11032 nixos/systemd-repart: enable creating root partition 2023-05-19 15:54:55 +02:00
Luflosi
2e3134c536
apfsprogs: build apfs-snap
Build the apfs-snap tool, which was added some time ago.
Also add a NixOS test for it.
2023-05-19 14:35:06 +02:00
Alyssa Ross
aedc462e8b nixosTests.mailman: init 2023-05-19 12:03:41 +02:00
Matthias Berndt
cb410a8c59 Merge remote-tracking branch 'upstream/master' into mberndt123/stratis-rootfs 2023-05-17 21:47:19 -04:00
Anderson Torres
c637afe9c1
Merge pull request #229030 from atorres1985-contrib/with-lib-is-bad
With lib is bad: removes `with lib;` occurrences - part I
2023-05-17 20:24:46 -03:00
Martin Weinelt
a919e81dbf
Merge pull request #231512 from n0emis/zammad-5.4.1
zammad: 5.1.1 -> 5.4.1
2023-05-17 18:36:29 +02:00
Naïm Favier
40a2df0fb0
nixos/syncthing: fixup #226088 2023-05-17 16:53:01 +02:00
Ember Keske
8c5087c1f6 zammad: link test in passthru.tests 2023-05-17 16:06:50 +02:00
Matthias Berndt
92814241a8 improve stratis initrd support
it is now possible to supply a stratis pool uuid
for every filesystem, and if that filesystem
is required for boot, the relevant pool will be
started in the initramfs.
2023-05-16 22:48:36 -04:00
Mikaela Allan
9b47ad6682
nixos/config/swap: check failure in swap file test 2023-05-16 10:48:53 -04:00
Sandro
efb55108b3
Merge pull request #231435 from drupol/openvscode-server/systemd-service 2023-05-16 14:14:29 +02:00
Doron Behar
9b0a03fc88
Merge pull request #226088 from Xyz00777/master
nixos/syncthing: applied rfc42 and added some additional options
2023-05-16 13:29:36 +03:00
Martin Weinelt
d38127eb13
Merge pull request #232017 from NickCao/mjolnir
mjolnir: 1.5.0 -> 1.6.4, build with mkYarnPackage
2023-05-16 01:37:54 +02:00
OPNA2608
447657c2de mir: Pull patch to fix evdev device misses 2023-05-15 22:40:29 +02:00
Pol Dellaiera
cce7cdd293
nixosTests.openvscode-server: init 2023-05-15 21:48:08 +02:00
Florian
391b059c1d
nixosTests.pgadmin4: increase test coverage (#229632)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-05-15 17:04:22 +02:00
Nick Cao
3c0f0d84a8
nixosTests.mjolnir: unbreak 2023-05-15 22:36:26 +08:00
Sandro
5bb17df552
Merge pull request #231705 from ambroisie/add-vikunja-port 2023-05-15 15:27:31 +02:00
Xyz00777
32866f8d58 nixos/syncthing: use rfc42 style settings 2023-05-15 14:38:56 +02:00
nikstur
46dfed6010 nixos/tests/rshim: init 2023-05-15 14:09:28 +02:00
Ryan Lahfa
5a7e90bc95
Merge pull request #228801 from NixOS/make-disk-image-faster
nixos/lib/make-disk-image: do not compile a full arch QEMU to convert images
2023-05-15 13:24:08 +02:00
Ryan Lahfa
8c4a3f67b5
Merge pull request #228956 from tensor5/pam-zfs-key
nixos/pam: enable unlocking ZFS home dataset
2023-05-15 11:42:30 +02:00
Ryan Lahfa
fa06a3b646
Merge pull request #230888 from Misterio77/nextcloud-createlocally-optin
nixos/nextcloud: default createLocally to false
2023-05-15 09:28:15 +02:00
Nicola Squartini
56e894b0b1 nixos/pam: add test for ZFS home dataset unlocking 2023-05-15 09:22:42 +02:00
Ryan Lahfa
e3bd7faa18
Merge pull request #226830 from Janik-Haag/birdwatcher
birdwatcher: init at 2.2.4, alice-lg: init at 6.0.0, nixos/birdwatcher: init, nixos/alice-lg: init
2023-05-15 08:42:10 +02:00
Janik H
40136a1f7f nixos/birdwatcher: init 2023-05-15 02:52:06 +02:00
Janik H
8ed86700a2 nixos/alice-lg: init 2023-05-15 02:52:06 +02:00
Jörg Thalheim
3007746b3f
Merge pull request #231473 from B4dM4n/eval-config-pass-system
treewide: pass system argument to eval-config.nix
2023-05-14 20:13:12 +01:00
Ryan Lahfa
d4028c3eb6
Merge pull request #231870 from teutat3s/zhf/prometheus-exporter-wireguard
nixosTests.prometheus-exporters.wireguard: fix test script
2023-05-14 20:53:23 +02:00
Ryan Lahfa
285330f081
Merge pull request #230153 from mklca/swap-encrypt-enhancement
nixos/config/swap: improve randomEncrytion
2023-05-14 19:01:56 +02:00
Ryan Lahfa
1ee11b8a31
Merge pull request #231283 from nikstur/filesystems-erofs
nixos/filesystems: init erofs
2023-05-14 18:54:37 +02:00
teutat3s
b3915bd5e2
nixosTests.prometheus-exporters.wireguard: fix test script
A newline in the public key breaks the test script, stripping it out
fixes the test.
2023-05-14 18:01:58 +02:00
Gabriel Fontes
f9f76529cd
nixos/nextcloud: default createLocally to false 2023-05-14 12:09:50 -03:00
Ryan Lahfa
8ef486b60e
Merge pull request #207194 from RaitoBezarius/pixelfed-module
pixelfed: init at 0.11.5, module, tests
2023-05-14 17:09:19 +02:00
K900
95f0fe369b nixos/tests/nfs/simple: remove shutdown time check for now
Regressed in latest kernels, but seems less critical than
the channels being stuck for a week.
2023-05-14 10:16:16 +03:00
figsoda
7064ad5a6e nixosTests.nzbget: fix deprecation warning 2023-05-13 20:05:06 -04:00
Bruno BELANYI
b981ba288c nixos/vikunja: test 'port' option 2023-05-13 18:01:36 +01:00
github-actions[bot]
51e24f4508
Merge master into staging-next 2023-05-13 12:01:05 +00:00
Bobby Rong
ea11a3977f
Merge pull request #231378 from FedericoSchonborn/budgie-plugins
Add `budgiePlugins` set, init `budgie-user-indicator-redux` at 1.0.1
2023-05-13 17:08:10 +08:00
github-actions[bot]
0b21b8d8a6
Merge master into staging-next 2023-05-13 06:01:08 +00:00
Nick Cao
a221f15b84
Merge pull request #231371 from Misterio77/update-headscale-test
nixos/tests/headscale: update test
2023-05-13 10:07:59 +08:00
Anderson Torres
aec8dddef7 nixos/tests/gitlab.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
6955c0c03b nixos/tests/yabar.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
21b0935d38 nixos/tests/xss-lock.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
9fe5926b15 nixos/tests/uptime-kuma.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
de2927e336 nixos/tests/tor.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
07b75a58e1 nixos/tests/systemd-timesyncd.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
bef35b3b88 nixos/tests/sudo.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres
5f00f1f49c nixos/tests/sonarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
1b26f82eed nixos/tests/readarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
2f459bb0c4 nixos/tests/radarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
cb47374b5e nixos/tests/prowlarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
a8790192f3 nixos/tests/polaris.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
8cc0632c46 nixos/tests/please.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
4e9cdcb64e nixos/tests/ombi.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
196debcf29 nixos/tests/odoo.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
56934ebec4 nixos/tests/oci-containers.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
98f5064884 nixos/tests/nzbhydra2.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
757b9f1be6 nixos/tests/noto-fonts.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres
2e4a81b23a nixos/tests/n8n.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
aa7d79c0f6 nixos/tests/mpv.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
ca916d0f61 nixos/tests/misc.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
13dc33c7ac nixos/tests/miniflux.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
6351703280 nixos/tests/lidarr.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
9f34f195e1 nixos/tests/libreddit.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
80042b4cd3 nixos/tests/komga.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
67fd24d509 nixos/tests/jirafeau.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
cb95162f89 nixos/tests/jackett.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
081a3c1fbe nixos/tests/iftop.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres
9bdb3ee175 nixos/tests/hadoop/hdfs.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
49483ab768 nixos/tests/esphome.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
1792f2c61c nixos/tests/doh-proxy-rust.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
18d90beb1a nixos/tests/doas.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
a137b4161d nixos/tests/couchdb.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
5ee5e4bb46 nixos/tests/common/auto.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
334b168990 nixos/tests/common/acme/server/default.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
ba6bc92d5e nixos/tests/cadvisor.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
6d1287bb75 nixos/tests/bazarr.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
a4af083f62 nixos/tests/atuin.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres
5252e85595 nixos/tests/apparmor.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
5202b74305 nixos/tests/3proxy.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
75a76768fe nixos/tests/xautolock.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
f872db7aed nixos/tests/ulogd.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
714180048b nixos/tests/redis.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
70e8a86b2b nixos/tests/pantheon.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
d1a2a4cbcc nixos/tests/hibernate.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
3002c44f48 nixos/tests/gnome.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
ca96a578a5 nixos/tests/gnome-xorg.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
b51ac3bd4c nixos/tests/gnome-flashback.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
defe899239 nixos/tests/fluidd.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres
4e18039449 nixos/tests/convos.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres
7aa945d949 nixos/tests/cinnamon.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres
87586867d6 nixos/tests/calibre-web.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres
b5a6dff664 nixos/tests/budgie.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres
047734d8e6 nixos/tests/boot-stage1.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres
dc5919aa58 nixos/tests/quake3.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres
5bba43ec57 nixos/tests/nfs/kerberos.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres
d87f1b8c9f nixos/tests/hardened.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
nikstur
fa09e0a3c7 nixos/filesystems: init erofs
Enable using an erofs filesystem as one of the filesystems needed to
boot the system. This is useful for example in image based deployments
where the Nix store is mounted read only.
[erofs](https://docs.kernel.org/filesystems/erofs.html) offers multiple
benefits over older filesystems like squashfs. Skip fsck.erofs because
it is still experimental.
2023-05-12 19:55:32 +02:00
Fabian Möller
c51fe112cc
treewide: pass system argument to eval-config.nix
Calling `eval-config.nix` without a `system` from a Nix flake fails with
`error: attribute 'currentSystem' missing` since #230523. Setting
`system = null` removes the use of `currentSystem` and instead uses the
value from the `nixpkgs` module.
2023-05-12 14:56:23 +02:00
github-actions[bot]
30ae8398a9
Merge master into staging-next 2023-05-12 12:01:26 +00:00
Martin Weinelt
dc8f1bfe48
Merge pull request #231255 from Ma27/fix-vrf-test
nixos/tests/systemd-networkd-vrf: fix build & clean up
2023-05-12 12:47:54 +02:00
Federico Damián Schonborn
7da8045e7e
budgiePlugins.budgie-analogue-clock-applet: rename from budgie.budgie-analogue-clock-applet
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-05-11 21:09:54 -03:00
github-actions[bot]
84352fc449
Merge master into staging-next 2023-05-12 00:01:57 +00:00
Gabriel Fontes
e74d936730
nixos/tests/headscale: update test
Version 0.19.0 renamed 'namespace' to 'user'
https://github.com/juanfont/headscale/blob/main/CHANGELOG.md#0190-2023-01-29
2023-05-11 19:31:02 -03:00
Martin Weinelt
3c09f66193
Merge pull request #231096 from kai-tub/vector/add-pkg-opt
vector: add `package` Option
2023-05-11 22:10:20 +02:00
github-actions[bot]
b9c14e0e61
Merge master into staging-next 2023-05-11 18:01:13 +00:00
Kai Norman Clasen
3142dd9827 nixosTests.vector: fix race condition 2023-05-11 19:45:47 +02:00
Ilan Joselevich
e4298360d4
Merge pull request #231310 from Kranzes/harmonia
nixos/tests/harmonia: check if settings work
2023-05-11 19:23:10 +03:00
Robert Hensing
5c3e59b6d6
Merge pull request #230523 from hercules-ci/fast-nixos-test-eval
Fast nixos test eval
2023-05-11 17:34:46 +02:00
Ilan Joselevich
64d505e227
nixos/tests/harmonia: check if settings work 2023-05-11 18:03:14 +03:00
Robert Hensing
16e3647337 nixos/all-tests: Enable readOnlyPkgs by default for runTest
Most tests are not affected by this because they use the `handleTest`
function instead.
2023-05-11 16:36:49 +02:00
Robert Hensing
f659db7ba2 nixos/testing: Add node.pkgs option
By factoring out this logic, it's easier for other projects to make
use of it this optimization too (and do it correctly).
2023-05-11 16:24:00 +02:00
Robert Hensing
d0b0f9e441 nixosTests.acme: Use a read-only pkgs
This speeds up evaluation by a factor 2.

Ballpark figures from my machine:

```
$ time nix-build nixos/release.nix -A tests.acme
/nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme
/nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme

real    1m28.142s
user    1m7.474s
sys     0m7.932s

$ time nix-build nixos/release.nix -A tests.acme
/nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme
/nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme

real    0m38.235s
user    0m33.814s
sys     0m2.283s

```
2023-05-11 16:24:00 +02:00
Robert Hensing
b213791e7e nixos/all-tests.nix: Add readOnlyPkgs module 2023-05-11 16:24:00 +02:00
Robert Hensing
f212785e1e
Merge pull request #231246 from yayayayaka/gitlab-test-fix-warning
nixosTests.gitlab: Use module system based runner
2023-05-11 15:13:08 +02:00
Robert Hensing
8b2d1e4554
nixos/tests/gitlab.nix: Document running it
`nix-build $file` is not possible anymore, so this helps both newcomers and old hands.
It's documented in the manual, but that's far away.
2023-05-11 14:31:21 +02:00
github-actions[bot]
387f5d9a5f
Merge master into staging-next 2023-05-11 12:01:42 +00:00
ajs124
89f2a7f6ee
Merge pull request #231105 from helsinki-systems/upd/mariadb
mariadb: 10.4.29, 10.5.20, 10.6.13, 10.10.4, 10.11.3
2023-05-11 12:49:48 +02:00
Maximilian Bosch
501d0a65d4
nixos/tests/systemd-networkd-vrf: clean up
* Removed unused variables
* Deduplicate config for `node{1..3}`
2023-05-11 11:07:54 +02:00
Maximilian Bosch
8ccfd7a659
nixos/tests/systemd-networkd-vrf: fix build
For this round of ZHF: #230712
Failing Hydra build: https://hydra.nixos.org/build/219234565

Not sure why this a problem now and not in the past, but routes to
the corresponding `/24`-subnet are only configured if addresses are
specified with the correct CIDR.
2023-05-11 11:04:56 +02:00
Yaya
439625d5d5 nixosTests.gitlab: Use module system based runner 2023-05-11 07:31:13 +00:00
github-actions[bot]
079dc4c27d
Merge master into staging-next 2023-05-11 00:02:13 +00:00
Ilan Joselevich
a8eea70935
Merge pull request #231113 from Kranzes/harmonia
nixos/harmonia: adjust module and test to upstream, harmonia: 0.6.3 -> 0.6.4
2023-05-11 00:37:41 +03:00
ajs124
6db7450827 nixos/installer/grub1: remove 2023-05-10 21:51:26 +02:00
Ilan Joselevich
7ecf20b490
nixos/harmonia: adjust module and test to upstream 2023-05-10 22:28:03 +03:00
ajs124
81244087ab nixosTests.mysql-replication: fix deprecation warning 2023-05-10 18:22:41 +02:00
Ryan Lahfa
fe7b996d66
Merge pull request #230857 from s1341/bugfix_pam_sssd
nixos/pam: Allow password changing via sssd
2023-05-10 16:56:47 +02:00
Sandro
84b4373d8c
Merge pull request #230550 from Mic92/harmonia 2023-05-10 16:55:06 +02:00
Jörg Thalheim
76ffeaf06c nixos/harmonia: init service 2023-05-10 14:52:31 +02:00
Luflosi
220a0f4ca3
nixos/tests/aaaaxy: fix test
It got broken by 5c0aa81909.
The fix is to use a real X server instead of xvfb-run.
2023-05-10 14:45:01 +02:00
github-actions[bot]
71874015ba
Merge master into staging-next 2023-05-10 12:01:10 +00:00
Jörg Thalheim
e758377984
Merge pull request #230926 from bachp/geth-test-zhf
nixos/geth: fix failing test
2023-05-10 07:23:24 +01:00
Pierre Bourdon
ac4abaa9d5
nixos/tests/nginx: fix etag test flakiness 2023-05-10 05:01:50 +02:00
Pascal Bach
301ec4c067 nixos/geth: fix failing test
Run authrpc on different ports for main and testnet to avoid collision.
2023-05-09 20:35:28 +02:00
github-actions[bot]
b5b52a946a
Merge staging-next into staging 2023-05-09 18:02:32 +00:00
s1341
d5fd433208 nixos/test/sssd-ldap: do new login on a different VT 2023-05-09 18:51:47 +03:00
Martin Weinelt
daf7d8861f
Merge pull request #230871 from IndeedNotJames/nixos-tests-2047mb
nixosTests.gitea,nixosTests.forgejo,nixosTests.wiki-js: fix test on `i686-linux`
2023-05-09 17:22:32 +02:00
s1341
73811d22bb nixos/test/sssd-ldap: nixpkgs-fmt 2023-05-09 18:13:09 +03:00
IndeedNotJames
260ddac146
nixosTests.wiki-js: fix test on i686-linux
Fail pattern:
1. Unsuspecting `qemu-kvm` notice:
```
server # qemu-kvm: at most 2047 MB RAM can be simulated
```

2. Hard fail
```
    self.shell.send(out_command.encode())
BrokenPipeError: [Errno 32] Broken pipe
```

(Took me a while to consider those lines are related)
2023-05-09 15:22:35 +02:00
IndeedNotJames
0cbeb283cf
nixosTests.gitea,nixosTests.forgejo: fix test on i686-linux
Fail pattern:
1. Unsuspecting `qemu-kvm` notice:
```
server # qemu-kvm: at most 2047 MB RAM can be simulated
```

2. Hard fail
```
    self.shell.send(out_command.encode())
BrokenPipeError: [Errno 32] Broken pipe
```

(Took me a while to consider those lines are related)
2023-05-09 15:21:53 +02:00
Martin Weinelt
558b23afe3
Merge pull request #230844 from pennae/mosquitto-test-fix
nixos/mosquitto: use networkd for tests
2023-05-09 14:57:30 +02:00
s1341
20d707c8c4 nixos/test/sssd-ldap: make tests actually check login, password change 2023-05-09 13:46:17 +03:00
pennae
5f5b5a76b9 nixos/mosquitto: use networkd for tests
the non-networkd backend does not wait for slaac to finish (ie, ipv6
addresses coming out of tentative state), and that breaks the mosquitto
bind_interface test slightly. if slaac takes too long the test will run
into mosquitto restart limits and fail.
2023-05-09 11:41:17 +02:00
Janne Heß
20e186b7e2
nixos/mariadb: Fix test on i686
RocksDB is not built on that platform and the .so is missing
2023-05-09 09:15:52 +02:00
Matthias Berndt
8aa320b4c2 address code review issues 2023-05-08 23:18:55 +02:00
github-actions[bot]
54295bf976
Merge staging-next into staging 2023-05-08 18:02:09 +00:00
Alyssa Ross
ecc1ec2c72 llvmPackages_latest: move to aliases.nix
Because llvmPackages_latest is used in Nixpkgs, by quite a few
packages, it's difficult to keep it up to date, because updating it
requires some level of confidence that every package that uses it is
going to keep working after the update.  The result of this is that
llvmPackages_latest is not updated, and so we end up in the situation
that "latest" is two versions older than the latest version we
actually provide.  This is confusing and unexpected.

"But won't this end up fragmenting our LLVM versions, if every package
previously using _latest is separately pinned to LLVM 14?", I hear you
ask.  No.  That fragmentation is already happening, even with an
llvmPackages_latest, because packages that actually require the
_latest_ version of LLVM (15/16), have already been decoupled from
llvmPackages_latest since it hasn't been upgraded.  So like it or not,
we can't escape packages depending on specific recent LLVMs.  The only
real fix is to get better at keeping the default LLVM up to
date (which I'm reasonably confident we're getting into a better
position to be feasibly better able to do).

So, unless we want to double down on providing a confusingly named
"llvmPackages_latest" attribute that refers to some arbitrary LLVM
version that's probably not the latest one (or even the latest one
available in Nixpkgs), we only have two options here: either we don't
provide such an attribute at all, or we don't use it in Nixpkgs so we
don't become scared to bump it as soon as we have a new LLVM available.
2023-05-08 13:05:33 +00:00
github-actions[bot]
4532c723ec
Merge staging-next into staging 2023-05-08 00:02:49 +00:00
Sandro
6197953fb6
Merge pull request #207106 from autrimpo/gonic-module
nixos/gonic: init
2023-05-08 01:28:24 +02:00
Michal Koutenský
8118e3de43 nixos/gonic: init 2023-05-07 22:43:23 +02:00
Ilan Joselevich
6a751fe806
Merge pull request #227765 from zhaofengli/darling
darling: init at unstable-2023-05-02
2023-05-07 22:29:02 +03:00