Florian Klink
60390c81dc
Merge pull request #72603 from flokli/ceph-tmpfiles
...
nixos/ceph: run unprivileged, use state directories, handle non-initialized clusters without config switch
2019-11-11 13:42:54 +01:00
c0bw3b
8d3ef32135
nixos/libvirtd: install /etc/ethertypes
...
Fix #58200
2019-11-11 11:42:16 +01:00
Florian Klink
848399f448
Merge pull request #72390 from flokli/bump-opensmtpd
...
opensmtpd: 6.4.2p1 -> 6.6.1p1
2019-11-11 01:56:24 +01:00
worldofpeace
ea288463db
Merge pull request #73136 from worldofpeace/port-sddm-test
...
nixosTests.sddm: port to python
2019-11-10 23:06:21 +00:00
worldofpeace
8cf9315425
Merge pull request #73135 from worldofpeace/port-lightdm-test
...
nixosTests.lightdm: port to python
2019-11-10 23:05:51 +00:00
Markus Kowalewski
9b28dbd36a
nixos/slurm: convert test from perl to python
2019-11-10 23:07:08 +01:00
Markus Kowalewski
472e165b56
nixos/slurm: add option for external slurmdbd.conf
...
Slurmdbd requires a password database which is stored in slurmdbd.conf.
A seperate config file avoids that the password ends up in the nix store.
Slurmdbd does 19.5 does not support MySQL socket conections.
Adapated the slurm test to provide username and password.
2019-11-10 21:28:09 +01:00
Samuel Dionne-Riel
40f7a343e1
Merge pull request #72751 from c00w/sd_image_hydra
...
sd-image: Add the compressed file path for hydra.
2019-11-10 13:44:52 -05:00
Maximilian Bosch
d75c296dc2
roundcube: 1.3.10 -> 1.4.0
...
https://roundcube.net/news/2019/11/09/roundcube-1.4.0-released
* `curl` cmd in the test can fail as roundcube returns a http/401 if
unauthorized (and we're explicitly requesting the login form). By
checking if the `persistent_login` plugin is loaded, the assertion is
still valid)
* Use `$argv[0]` to determine install path in the installer script. I'm
not exactly sure why, but it seems as `__DIR__` now resolves symlinks
which breaks the installer if roundcube is in a `buildEnv` with
third-party plugins.
2019-11-10 18:41:26 +01:00
Izorkin
d35ba101c5
samba: remove redundant dependency on network.target
...
This reverts commit 679d5e8bd5
.
Services samba-smbd, samba-nmbd and samba-winbind are part of
samba.target, which already has an After=network.target
2019-11-10 20:03:00 +03:00
Markus Kowalewski
8219a3b713
nixos/slurm: fix X11 with spank module
...
* Fix path in module for slurm to find plugstack.conf
* Fix configure flags so that slurm can be compiled
without internal X11 support (required for spank-x11).
2019-11-10 14:04:54 +01:00
Aaron Andersen
d2d009f4a6
Merge pull request #73080 from flokli/nixos-samba-python-tmpfiles
...
nixos/samba: use tmpfiles, port test to python
2019-11-09 21:05:50 -05:00
Daniel Kuehn
1972904fc6
nixos/ceph: Clarify comments in tests and add source reference for the bootstraping method
2019-11-09 23:35:30 +01:00
worldofpeace
488e6b7a23
Merge pull request #73059 from flokli/nixos-test-port-tinydns
...
nixos/tinydns: port test to python
2019-11-09 21:53:07 +00:00
worldofpeace
6783fdd561
Merge pull request #71416 from worldofpeace/gnome3-sound-theme
...
nixos/gnome3: add sound-theme-freedesktop
2019-11-09 21:33:49 +00:00
worldofpeace
4f2daa7b29
nixosTests.xmonad: port to python
2019-11-09 15:24:41 -05:00
worldofpeace
b2fc25fe3c
nixosTests.sddm: port to python
2019-11-09 15:20:20 -05:00
worldofpeace
1132f037a1
nixosTests.lightdm: port to python
2019-11-09 15:14:56 -05:00
Peter Hoeg
954e234b98
nixos/haproxy: support hot-reload without dropping packets
2019-11-09 10:11:57 -08:00
Florian Klink
ffd0060869
nixos/ceph: use ConditionPathExists to delay ceph daemon start
...
This prevents services to be started before they're initialized, and
renders the `systemd.targets.ceph.wantedBy = lib.mkForce [];` hack in
the vm tests obsolete - The config now starts up ceph after a reboot,
too.
Let's take advantage of that, crash all VMs, and boot them up again.
2019-11-09 16:13:13 +01:00
Florian Klink
67e0777f62
nixos/ceph: run unprivileged, use StateDirectory and tmpfiles, don't pass extraServiceConfig
...
Don't pass user and group to ceph, and rely on it to drop ceps, but let
systemd handle running it as the appropriate user.
This also inlines the extraServiceConfig into the makeService function,
as we have conditionals depending on daemonType there anyways.
Use StateDirectory to create directories in
/var/lib/ceph/${daemonType}/${clusterName}-${daemonId}.
There previously was a condition on daemonType being one of mds,mon,rgw
or mgr. We only instantiate makeServices with these types, and "osd" was
special.
In the osd case, test examples suggest it'd be in something like
/var/lib/ceph/osd/ceph-${cfg.osd0.name} - so it's not special at all,
but exactly like the pattern for the others.
During initialization, we also need these folders, before the unit is
started up. Move the mkdir -p commands in the vm tests to the line
immediately before they're required.
2019-11-09 16:02:53 +01:00
Florian Klink
64c9c08302
nixos/ceph: create /etc/ceph and /var/lib/ceph via tmpfiles
...
We seem to be relying on those being present during runtime anyways.
2019-11-09 15:27:45 +01:00
Thomas Tuegel
8e639f142f
Merge pull request #71986 from mtetreault/mte/plymouth-improvements
...
plymouth: Add extra config field
2019-11-09 08:17:14 -06:00
Lorenzo Manacorda
412f6a967d
wireguard: add creation and destination namespaces
...
The two new options make it possible to create the interface in one namespace
and move it to a different one, as explained at https://www.wireguard.com/netns/ .
2019-11-09 11:59:14 +01:00
Red Davies
62e421fbb2
nixos/httpd: module fixes enableUserDir (attendum to #72789 )
2019-11-09 00:53:56 +00:00
Silvan Mosberger
3022fde292
Merge pull request #71576 from ShaRose/patch-1
...
nixos/dnsdist: Add CAP_NET_BIND_SERVICE to AmbientCapabilities
2019-11-09 00:07:09 +01:00
Florian Klink
ece9c41343
nixos/samba: port test to python
2019-11-08 23:30:09 +01:00
Florian Klink
18f9cfa1c0
nixos/samba: update module to use tmpfiles, remove samba-setup service
2019-11-08 23:25:55 +01:00
Florian Klink
3928e7f6b1
Merge pull request #73063 from minijackson/shiori-things
...
shiori: update modSha256, update test to python, do more tests
2019-11-08 23:06:06 +01:00
Florian Klink
cced569cac
Merge pull request #73049 from flokli/fix-redis-merge
...
nixos/redis: fix merging
2019-11-08 22:13:54 +01:00
worldofpeace
1d3da3befc
Merge pull request #73060 from flokli/nixos-test-port-powerdns
...
nixos/powerdns: port test to python
2019-11-08 20:48:34 +00:00
worldofpeace
9cc610c576
Merge pull request #73057 from flokli/nixos-test-port-smokeping
...
nixos/smokeping: port test to python
2019-11-08 20:47:40 +00:00
worldofpeace
0c6853c727
Merge pull request #73056 from flokli/nixos-test-port-pppd
...
nixos/pppd: port test to python
2019-11-08 20:47:05 +00:00
worldofpeace
80de79c816
Merge pull request #73046 from curiousleo/patch-1
...
nixos/tests: correct arguments to get_unit_info
2019-11-08 17:40:30 +00:00
Minijackson
26acc9e63d
nixos/tests: add shiori to all-tests.nix
2019-11-08 18:17:08 +01:00
Minijackson
4029748015
nixos/jellyfin: port test to python ( #72828 )
2019-11-08 18:03:40 +01:00
Minijackson
725168064d
nixos/shiori: port test to python, do more tests
2019-11-08 17:54:49 +01:00
Florian Klink
caac0964bb
nixos/tinydns: port test to python
2019-11-08 17:26:34 +01:00
Florian Klink
cbd9e9e01f
nixos/tinydns: order service after network.target
...
In cases where you boot up really quickly (like in the VM test on a
non-busy host), tinydns might want to bind before the loopback interface
is fully up. Order tinydns after network.target to fix that.
2019-11-08 17:26:34 +01:00
Florian Klink
b0e081549e
nixos/powerdns: port test to python
2019-11-08 17:19:23 +01:00
Florian Klink
85bf23bb12
nixos/smokeping: port test to python
...
cc #72828
2019-11-08 17:13:48 +01:00
Florian Klink
24b540d3ce
nixos/pppd: port test to python
2019-11-08 17:11:11 +01:00
Silvan Mosberger
9fe4e06812
nixos/systemd: Allow unit options to have multiple equal defs ( #73024 )
...
E.g. this allows
systemd.services.<name?>.serviceConfig.DynamicUser =
mkMerge [ true true ];
2019-11-08 15:45:44 +00:00
Florian Klink
6303131eb9
nixos/redis: fix merging
...
https://github.com/NixOS/nixpkgs/pull/71584 did merging without mkMerge.
cc @jtojnar
2019-11-08 15:38:06 +01:00
Florian Klink
1c5bfddbc9
nixos/opensmtpd: convert test to python
2019-11-08 15:19:43 +01:00
Florian Klink
e349b6e0fe
nixos/opensmtpd: refactor to use tmpfiles to set up spool directories
2019-11-08 15:05:18 +01:00
Leonhard Markert
c7becac738
nixos/tests: correct arguments to get_unit_info
2019-11-08 15:01:42 +01:00
Florian Klink
dd439bc01f
Merge pull request #72935 from marijanp/port-tests-python
...
Port tests to Python
2019-11-08 14:50:04 +01:00
Florian Klink
cbb8b6d40a
Merge pull request #72897 from JohnAZoidberg/python-port-cassandra-test
...
nixos/cassandra: Port test to python
2019-11-08 14:41:22 +01:00
Marijan Petricevic
5854aaf680
nixos/tests: improve get_unit_info expressiveness on failure
2019-11-08 11:20:54 +01:00
Peter Hoeg
d2f083160f
Merge pull request #65971 from jb55/zoneminder-fix
...
zoneminder: fix nginx config
2019-11-08 17:05:27 +08:00
worldofpeace
b53e773220
Merge pull request #73004 from philandstuff/patch-1
...
ssh-agent: fix syntax problem from #71139
2019-11-08 04:13:58 +00:00
Matthew Bauer
c403d66b85
Merge pull request #71825 from AIDEA775/fix/zsh-syntax-highlighting
...
nixos/zsh-syntax-highlighting: Fix highlighting when ohMyZsh is enabled
2019-11-07 17:29:57 -05:00
Matthew Bauer
43c940f2d4
Merge pull request #70886 from allgreed/add-vbox-docs-hint
...
[Docs] Add a hint on Virtualbox machine setup
2019-11-07 17:24:14 -05:00
Philip Potter
ce7d4e40f0
ssh-agent: fix syntax problem from #71139
...
Oops, in #71139 a missing `+` broke things quite badly. Thanks @lzorkin for the
report and @mebubo for diagnosing the problem.
2019-11-07 22:13:18 +00:00
Matthew Bauer
03f8acabc8
Merge pull request #71408 from f--t/fix/x11-services
...
Fix nixos x11 service logging for ssdm and xmonad
2019-11-07 17:03:52 -05:00
Daniel Schaefer
25c2506095
nixos/cassandra: Port test to python
2019-11-07 22:40:15 +01:00
worldofpeace
1e7ddf233a
Merge pull request #72943 from marijanp/port-test-driver-python
...
Port remaining test-driver functions to python
2019-11-07 20:23:27 +00:00
Marek Mahut
1a65fc1041
Merge pull request #72887 from 1000101/master
...
Port tests to Python
2019-11-07 19:57:50 +01:00
worldofpeace
6ed6d1af6a
Merge pull request #72947 from tfc/boot-test-port-fix
...
Boot test port fix
2019-11-07 17:32:43 +00:00
Bjørn Forsman
2c09cfc097
nixos-rebuild: add explicit option to enable (remote) sudo
...
Add --use-remote-sudo option. When set, remote commands will be prefixed
with 'sudo'. This allows using sudo remotely _without_ having to use
sudo locally (when using --build-host/--taget-host).
2019-11-07 17:03:12 +01:00
WilliButz
d7b18bcb37
Merge pull request #72904 from WilliButz/nixosTests/port-to-python
...
nixos/tests: port some tests to python (loki, grafana, pgjwt, initrd-ssh, exporters)
2019-11-07 16:14:17 +01:00
worldofpeace
65b2a768bb
Merge pull request #72979 from worldofpeace/more-gnome-installed-test-cleanup
...
More gnome installed test cleanup
2019-11-07 14:34:28 +00:00
worldofpeace
4dc696be90
Merge pull request #72525 from r-ryantm/auto-update/gcab
...
gcab: 1.2 -> 1.3
2019-11-07 13:52:48 +00:00
worldofpeace
9693d3922b
all-tests.nix: remove gjs.nix
2019-11-07 08:09:26 -05:00
worldofpeace
9b99912d82
nixosTests.libgdata: port to python, move to installed-tests
2019-11-07 08:07:51 -05:00
Jan Tojnar
e253d015a1
gcab: run & install tests
...
also add nixosTests.installed-tests.gcab for running the installed tests
2019-11-07 14:07:19 +01:00
Marijan Petricevic
2c3785a6ae
nixos/docker-edge: port test to python
2019-11-07 14:06:40 +01:00
worldofpeace
75a8cd9930
all-tests.nix: remove libxmlb
2019-11-07 08:03:58 -05:00
worldofpeace
85251b3c24
nixosTests.libxmlb: port to python
2019-11-07 08:02:33 -05:00
WilliButz
426b467af8
nixos/tests/prometheus-exporters: port to python
2019-11-07 11:30:55 +01:00
WilliButz
34755fb5e4
nixos/tests/grafana: port to python
2019-11-07 11:30:54 +01:00
WilliButz
9a7101c999
nixos/tests/initrd-ssh: port to python
2019-11-07 11:30:02 +01:00
WilliButz
336bffae6d
nixos/tests/pgjwt: port to python
2019-11-07 11:30:02 +01:00
WilliButz
ff4e86f4a5
nixos/tests/loki: port to python
2019-11-07 11:30:01 +01:00
Marijan
f04daa6f38
nixos/dnscrypt-proxy: port test to python
2019-11-07 10:55:15 +01:00
Marijan
dd188ae2dc
nixos/couchdb: port test to python
2019-11-07 10:55:15 +01:00
Marijan
bf816e44c4
nixos/documize: port test to python
2019-11-07 10:55:15 +01:00
Marijan
e2c20c6230
nixos/docker: port test to python
2019-11-07 10:55:15 +01:00
Marijan
3695e600cc
nixos/cjdns: port test to python
2019-11-07 10:55:15 +01:00
Marijan
30d1dfef4b
nixos/cloud-init: port test to python
2019-11-07 10:55:15 +01:00
Marijan
e05f546f3a
nixos/cfssl: port test to python
2019-11-07 10:51:04 +01:00
Marijan
63cb143801
nixos/certmgr: port test to python
2019-11-07 10:51:04 +01:00
Marijan
349c14f950
nixos/cadvisor: port test to python
2019-11-07 10:51:04 +01:00
Marijan
2f7199af21
nixos/caddy: port test to python
2019-11-07 10:51:04 +01:00
Jacek Galowicz
52ee1026b0
nixos/test: Handle undecodable bytes
...
This threw exceptions in boot menus
2019-11-07 10:00:39 +01:00
worldofpeace
3780b9e69c
Merge pull request #72835 from tfc/nixos-integration-test-ports
...
Nixos integration test ports
2019-11-07 01:05:36 +00:00
worldofpeace
a46c78142e
Merge pull request #72860 from worldofpeace/port-gnome3y-tests
...
Port gnome3 like tests to python and udisks2
2019-11-07 00:43:58 +00:00
worldofpeace
d7c8ad7d69
nixosTests.flatpak: fix eval
...
optionalPackages are deprecated.
2019-11-06 19:18:28 -05:00
worldofpeace
eee5986ac3
nixos/tests: add gnome-installed-tests with builder function
...
The test script is also ported to python.
2019-11-06 19:18:28 -05:00
worldofpeace
ceec19f682
nixosTests.udisks2: port to python
2019-11-06 19:18:28 -05:00
worldofpeace
7d331eae2e
nixosTests.packagekit: port to python
2019-11-06 19:18:28 -05:00
worldofpeace
7c716705fd
Merge pull request #72369 from worldofpeace/corefonts-drop
...
nixos/fontconfig-ultimate: remove
2019-11-07 00:13:14 +00:00
Aaron Andersen
c22e76e450
Merge pull request #71605 from aanderse/redmine-cleanup
...
redmine: drop 3.4.x package, 4.0.4 -> 4.0.5
2019-11-06 18:02:48 -05:00
Silvan Mosberger
d34194badd
nixos/networkmanager: fix merging options ( #72916 )
...
nixos/networkmanager: fix merging options
2019-11-06 23:34:40 +01:00
Marijan
9915a8ca45
nixos/tests: implemented python test-driver version of forwardPort
2019-11-06 22:43:37 +01:00
Marijan
01f79dfc9e
nixos/tests: implemented python test-driver version of dumpTTYContents
2019-11-06 22:43:37 +01:00
Aaron Andersen
dec234f986
Merge pull request #72789 from aanderse/httpd-again
...
nixos/httpd: module cleanup
2019-11-06 16:04:38 -05:00
Jacek Galowicz
cf138b4e6b
nixos/tests: Fix subprocess launch call for VM monitor
...
This crashed in the create-script case
2019-11-06 21:48:08 +01:00
Jan Tojnar
894fdfaf1f
nixos/networkmanager: fix merging options
...
Incorrect merging of modules resulted in dhcpcd being enabled causing flaky network connection.
https://github.com/NixOS/nixpkgs/pull/64364
Fixing it uncovered an infinite recursion from the same commit, previously masked by the incorrect merge.
We can just drop the `mkDefault` for `networking.wireless.enable` as it is already `false` by default.
Closes: https://github.com/NixOS/nixpkgs/issues/72416
2019-11-06 21:26:03 +01:00