Commit Graph

15541 Commits

Author SHA1 Message Date
Jacek Galowicz
5d91b29e0d nixosTests.openldap: port test to python 2019-12-04 16:22:26 +01:00
Jacek Galowicz
15f105d41f nixosTests.ldap: port integration test to python 2019-12-04 16:22:13 +01:00
Florian Klink
746a888f86
Merge pull request #74898 from tfc/nixos-test-retry
nixos/test: Use retry() in all looping functions that need timeouts
2019-12-04 16:18:42 +01:00
Christian Kauhaus
8d36536c2e Rewrite test script
Thanks to @flokli and @tfc
2019-12-04 11:25:12 +01:00
Andrew Dunham
c37902dfd1 nixosTests.gvisor: add test for gvisor and gvisor as a Docker runtime 2019-12-03 23:55:24 -08:00
Matthew Harm Bekkema
f83a83f964 upower: load config from /etc
In the process of making UPower.conf customizable (#73968), it came up
that UPower doesn't load its config from /etc by default.

The UPower derivation is modified to make it load its config from /etc
at runtime, but still install the default config to its nix store path
as before.

The UPower module is modified to put the config in /etc.
2019-12-04 12:26:30 +11:00
Matthew Harm Bekkema
aecfea098e nixos/upower: Allow customization of UPower.conf
Documentation of options and default values taken from the upstream
UPower.conf. The documentation was modified slightly to make more sense
when displayed on https://nixos.org/nixos/options.html.

A copy of upstream UPower.conf can be found here:
https://cgit.freedesktop.org/upower/tree/etc/UPower.conf?id=28bd86c181e2510ef6a1dc7cfa26f97803698a79
2019-12-04 12:26:30 +11:00
Florian Klink
b7c19e1b91
Merge pull request #74866 from x123/x123-test-tiddlywiki
nixos/tests/tiddlywiki: port to python
2019-12-04 01:05:00 +01:00
Florian Klink
49f3d9203a
Merge pull request #74913 from paumr/master
improved nginx.basicAuthFile description
2019-12-04 01:03:45 +01:00
Florian Klink
f7a232297a
Merge pull request #74938 from x123/x123-i3wm-test-to-python
nixos/tests/i3wm: port to python
2019-12-04 00:50:31 +01:00
Florian Klink
c7d0ee722d
Merge pull request #74082 from flokli/nixos-test-port-gocd
nixosTest.gocd-{agent,server}: port to python
2019-12-04 00:35:56 +01:00
Florian Klink
b62c02ce04 nixosTests.gocd-agent: mark as broken 2019-12-04 00:35:07 +01:00
x123
b6d5e3844f nixos/tests/i3wm: port to python 2019-12-03 21:51:26 +01:00
x123
c0d5332ab3 remove duplicate test in tiddlywiki 2019-12-03 17:18:59 +01:00
Jacek Galowicz
a16695578b nixos/pam-oath-login: Port test to python 2019-12-03 17:06:04 +01:00
Jacek Galowicz
e05ae69904 nixos/test: Use retry() in all looping functions that need timeouts 2019-12-03 16:59:43 +01:00
Jan Tojnar
77b605546c
Merge branch 'staging-next' into staging 2019-12-03 16:52:44 +01:00
Eelco Dolstra
946c5fb8f7
Tweag releaase notes 2019-12-03 15:09:55 +01:00
Eelco Dolstra
56588e9eaa
Merge pull request #74850 from davidak/PRETTY_NAME
nixos/version: PRETTY_NAME in /etc/os-release uses the release now
2019-12-03 15:08:52 +01:00
paumr
5a1c15da12 improved nginx.basicAuthFile description 2019-12-03 14:05:46 +01:00
Mario Rodas
93ff0446ca
Merge pull request #66089 from servalcatty/v2ray
v2ray: init at 4.21.3
2019-12-03 04:42:50 -05:00
x123
2ad9a627de nixos/tests/tiddlywiki: port to python 2019-12-03 00:20:01 +01:00
Florian Klink
9159afd459
Merge pull request #74839 from raboof/installNetworkingNote
Spell out you need to enable wifi explicitly at install time
2019-12-02 23:24:02 +01:00
Florian Klink
f8218178f7 nixosTests.gocd-server: port to python 2019-12-02 23:13:09 +01:00
Florian Klink
46daafa269 nixosTest.gocd-agent: port to python 2019-12-02 23:13:09 +01:00
x123
362e377154 nixos/tests/xrdp: port to python 2019-12-02 22:20:36 +01:00
Sarah Brofeldt
218fe53e24 nixos/gitea: Add srhb as maintainer 2019-12-02 21:45:06 +01:00
Sarah Brofeldt
1573102a89 nixos/gitea: Fix startup 2019-12-02 21:45:06 +01:00
Florian Klink
fdb65314fc
Merge pull request #74759 from mmilata/openarena-python-test
nixosTests.openarena: port to python
2019-12-02 20:29:04 +01:00
Florian Klink
9144d84a60
Merge pull request #74762 from mmilata/mediawiki-python-test
nixosTests.mediawiki: port to python
2019-12-02 20:28:31 +01:00
Florian Klink
85a345327f
Merge pull request #74764 from mmilata/radicale-python-test
nixosTests.radicale: port to python
2019-12-02 20:27:51 +01:00
davidak
0ba3761ba8 nixos/version: PRETTY_NAME in /etc/os-release uses the release now instead of full version
to be more suitable for presentation to the user
2019-12-02 20:04:44 +01:00
worldofpeace
5350db96e2
Merge pull request #74838 from jtojnar/pantheon-debug
nixos/pantheon fix GNOME_SESSION_DEBUG conflict
2019-12-02 18:05:41 +00:00
Arnout Engelen
89ed88f86f Spell out you need to enable wifi explicitly at install time 2019-12-02 17:50:22 +01:00
Jan Tojnar
9129616919
nixos/pantheon fix GNOME_SESSION_DEBUG conflict
When session debugging was enabled in GNOME but not in Pantheon

	{
	  services.xserver = {
	    desktopManager.pantheon = {
	      enable = true;
	    };
	    desktopManager.gnome3 = {
	      enable = true;
	      debug = true;
	    };
	  };
	}

it caused a conflict:

	error: The option `environment.sessionVariables.GNOME_SESSION_DEBUG' has conflicting definitions, in `<nixpkgs/nixos/modules/services/x11/desktop-managers/pantheon.nix>' and `<nixpkgs/nixos/modules/services/x11/desktop-managers/gnome3.nix>'.
2019-12-02 17:25:24 +01:00
Daniël de Kok
02553c114d rl-2003: mention the removal of dump1090's internal web server 2019-12-02 14:47:19 +01:00
Jörg Thalheim
7ee6319745
nixosTests.matomo: port to python (#74756)
nixosTests.matomo: port to python
2019-12-02 05:48:00 +00:00
Dima
c25d4abc21 release-notes: adding pango font loading deprecation 2019-12-02 02:32:05 +01:00
worldofpeace
15951cba08
Merge pull request #63607 from rnhmjoj/remove-obex
nixos/bluetooth: don't install obex tools by default
2019-12-01 22:50:47 +00:00
rnhmjoj
40d4c3c93e
nixos/plasma5: install obex tools when bluetooth is enabled 2019-12-01 22:52:58 +01:00
Martin Milata
0168f41d70 nixosTests.moinmoin: port to python 2019-12-01 16:45:36 +01:00
Florian Klink
da3a320d13
Merge pull request #74077 from 7c6f434c/add-test-driver-py-copy-from-vm
Add test driver py copy from vm
2019-12-01 13:56:23 +01:00
Jörg Thalheim
7e6718e425
nixosTests.predictable-interface-names: port to python (#74765)
nixosTests.predictable-interface-names: port to python
2019-12-01 10:40:29 +00:00
Janne Heß
e42036ee0e nixos/gitea: Sandbox the systemd service 2019-12-01 10:18:48 +01:00
Martin Milata
8d6bcf80a2 nixosTests.predictable-interface-names: python 2019-12-01 03:16:34 +01:00
Martin Milata
be911515eb nixosTests.radicale: port to python 2019-12-01 03:05:39 +01:00
Martin Milata
268062198d nixosTests.mediawiki: port to python 2019-12-01 02:44:49 +01:00
Jan Tojnar
d7cdd6b090
Merge pull request #74760 from NixOS/revert-74715-baloo/no-x-libs/polkit
Revert "environment.noXlibs: do not pull gobject-introspection"
2019-12-01 02:34:11 +01:00
Jörg Thalheim
eabf256408
Merge pull request #74513 from Mic92/ferm
nixos/ferm: port test to python
2019-12-01 01:27:56 +00:00
Jörg Thalheim
282ecd233d
nixosTests.nat: port to python (#74754)
nixosTests.nat: port to python
2019-12-01 01:25:12 +00:00
Jan Tojnar
32b8c88ce4
Revert "environment.noXlibs: do not pull gobject-introspection"
gobject-introspection has nothing to do with graphical systems or GNOME, it is needed for language bindings like Python.

This reverts commit d757135c05
2019-12-01 02:16:04 +01:00
Martin Milata
8f6bea4ae9 nixosTests.openarena: port to python 2019-12-01 01:34:37 +01:00
Jan Tojnar
8cbc862b83
dconf: move to top-level 2019-12-01 01:01:40 +01:00
Martin Milata
1a5d3070ac nixosTests.matomo: port to python 2019-12-01 00:50:55 +01:00
Martin Milata
33ab6997cd nixosTests.nat: port to python 2019-12-01 00:20:28 +01:00
Matthew Bauer
f97746ba27
Merge pull request #74715 from baloo/baloo/no-x-libs/polkit
environment.noXlibs: do not pull gobject-introspection
2019-11-30 13:32:29 -06:00
Domen Kožar
0f799bd8a4
Revert "nixos/switch-to-configuration: restart changed socket units"
This reverts commit 89806e9536.

See #74626
2019-11-30 13:46:57 +01:00
Arthur Gautier
d757135c05 environment.noXlibs: do not pull gobject-introspection 2019-11-29 16:57:45 -08:00
Alex Guzman
752b8688b5 nixos/roon-server: fix broken user generation
Didn't notice this till I tried removing my custom roon user from the one I was testing with. There's not a 'groups' option for users, only group (primary group) and extraGroups. Use these.
 (#68337)
2019-11-29 23:50:10 +01:00
rnhmjoj
1598f3d257
nixos/bluetooth: don't install obex tools by default 2019-11-29 21:08:58 +01:00
Renaud
e37e7b413c
Merge pull request #72987 from rnhmjoj/dnschain
nixos/dnschain: use forwardZonesRecurse in pdns-recursor
2019-11-29 19:56:21 +01:00
Christian Kauhaus
918c2ca01a Remove networking.hostConf option
This PR is part of the networking.* namespace cleanup. We feel that
networking.hostConf is rarely used and provides little value compared to
using environment.etc."host.conf" directly.

Provide sensible default: multi on
2019-11-29 12:08:34 +01:00
Oleksii Filonenko
085766fd63 nixosTests.netdata: port to python 2019-11-28 22:23:36 +01:00
Jörg Thalheim
189a345e22
nixos/ferm: port test to python
related to #72828
2019-11-28 16:50:51 +00:00
Florian Klink
4e8c2f08b0
Merge pull request #74048 from ckauhaus/ssmtp-named-ssmtp
ssmtp: use services.ssmtp not networking.defaultMailServer
2019-11-28 16:32:50 +01:00
Andreas Rammhold
059faab65a
Merge pull request #73803 from andir/buildRustCrate-lib-output
buildRustCrate: add lib output
2019-11-28 15:36:45 +01:00
Andreas Rammhold
3c6a33e049
Merge pull request #74177 from jtojnar/neard
nixos/neard: init
2019-11-28 07:53:32 +01:00
Aaron Andersen
5988940ca7
Merge pull request #73577 from helsinki-systems/matomo-consistency
matomo: Fix consistency check
2019-11-27 18:07:20 -05:00
Aaron Andersen
a568a03674
Merge pull request #73872 from filalex77/modules/services/hardware/bluetooth/ini-generator
nixos/bluetooth: add support for INI generator
2019-11-27 18:02:20 -05:00
Maximilian Bosch
a9a271792d
nixos/ndppd: port test to python test-driver 2019-11-27 20:22:16 +01:00
Serval
899d38170c
v2ray: fixups and change to buildGoModule 2019-11-28 02:10:37 +08:00
Robin Gloster
bf12ddebe8
Merge pull request #74254 from tfc/nixos-test-ejabberd
nixos/ejabberd: Port test to python
2019-11-27 17:38:45 +01:00
Robin Gloster
236b928a61
Merge pull request #74313 from filalex77/nixosTests.kernel-python
nixosTests.kernel-*: port to python
2019-11-27 17:34:30 +01:00
Robin Gloster
39022bc3e7
Merge pull request #74218 from tfc/nixos-test-containers-python-port
Nixos test containers python port
2019-11-27 17:28:07 +01:00
Robin Gloster
470f29cdd2
Merge pull request #74312 from filalex77/nixosTests.memcached-python
nixosTests.memcached: port to python
2019-11-27 17:11:13 +01:00
Oleksii Filonenko
af0f948c9e
nixosTests.memcached: port to python 2019-11-27 12:02:24 +02:00
Maximilian Bosch
6225fc5303
nixos/nextcloud: port tests to python test-driver 2019-11-27 10:51:21 +01:00
misuzu
823d6698bb nixos/3proxy: note about htpasswd 2019-11-27 11:01:48 +02:00
Jacek Galowicz
9de0a8a7b3 nixos/containers-imperative: Port test to python 2019-11-27 09:13:02 +01:00
Jacek Galowicz
07802f4d20 nixos/containers-ip: Test both ipv4 and ipv6 in the same script 2019-11-27 09:13:02 +01:00
Oleksii Filonenko
a610202cb6
nixosTests.kernel-*: port to python 2019-11-27 10:02:58 +02:00
worldofpeace
1b5df99e7a
Merge pull request #70295 from worldofpeace/mutter-eglstreams
Mutter eglstreams
2019-11-27 05:29:58 +00:00
Maximilian Bosch
88a40abc92
nixos/iftop: port test to python test-driver 2019-11-26 22:29:27 +01:00
Maximilian Bosch
696b44013e
nixos/xss-lock: port test to python test-driver
Also refactored the test script to have different subtests for different
configurations.
2019-11-26 21:58:30 +01:00
Dima
0541d071af samba3, fusesmb: removing
Samba 3 has been discontinued since Q1/2015. So I think it's time
to just wipe it from the pkgs. FuseSMB is pretty much abandoned,
upstream does not exist and it's also not as useful as it used to
be anyways.
2019-11-26 19:56:16 +01:00
Maximilian Bosch
bf39cf8518
Merge pull request #74123 from filalex77/nixosTests.rabbitmq-python
nixosTests.rabbitmq: port to python
2019-11-26 19:37:29 +01:00
Robin Gloster
83b14e578f
Merge pull request #74198 from WilliButz/fix/nginx-exporter-startup
nixos/prometheus-exporters: fix nginx exporter startup
2019-11-26 17:37:23 +01:00
Andreas Rammhold
958358d1ff
Merge pull request #74275 from talyz/fix-rl-2003
rl-2003: Fix typo
2019-11-26 17:14:00 +01:00
talyz
86223aade7 rl-2003: Fix typo
Fix a typo introduced in a06529b7ad which prevents the manual from building.
2019-11-26 17:04:59 +01:00
Robin Gloster
c33110db9e
Merge pull request #73299 from toonn/wpa_supplicant-unit-start-bonding
nixos/wpa_supplicant: fix unit-start script
2019-11-26 16:48:48 +01:00
worldofpeace
406efdb934 nixosTests.pantheon: don't check bob username
From looking at
* https://hydra.nixos.org/build/107447356
it appears the subtest fails at this exact step.
OCR in the testing driver has been notoriously
flaky, so let's just match alice's user description.
This does have the downside of not verifying the
appearence of other user cards, which was an
issue with the greeter in the past.
2019-11-26 09:24:42 -05:00
Andreas Rammhold
1b748554d5
buildRustCrate: add lib output
This cuts down the dependency tree on some rust builds where a crate not
just exposes a binary but also a library. `$out/lib` contained a bunch
of extra support files that among other information carry linker flags
(including the full path to link-time dependencies). Worst case this led
to some binary outputs depending on the full build closure of rust
crates.

Moving all the `$out/lib` files to `$lib/lib` solves this nicely.

`lib` might be a bit weird here as they are most of the time just rlib
files (rust libraries). Those are essential only required during
compilation but they can also be shared objects (like with traditional
C-style packages). Which is why I went with `lib` for the new output.

One of the caveats we are running into here is that we do not (always)
know ahead of time of a crate produces just a library or just a binary.
Cargo allows for some ambiguity regarding whether or not a crate
provides one, two, … binaries and libraries as it's outputs. Ideally we
would be able to rely on the `crateType` entirely but so far that isn't
the case. More work on that area might show how difficult that actually
is.
2019-11-26 15:05:01 +01:00
worldofpeace
ebce2e0c68
Merge pull request #72584 from andir/homeInPath-false
nixos: default `environment.homeBinInPath` to false
2019-11-26 12:33:22 +00:00
Domen Kožar
634096c503
Merge pull request #73871 from mayflower/socket-activation-fix
nixos/switch-to-configuration: restart changed socket units
2019-11-26 13:28:48 +01:00
Andreas Rammhold
a06529b7ad
nixos: default environment.homeBinInPath to false
This is a more sane default since we do not magically (without opt-in)
pull in binaries from `~/bin`. That is not really an expected behavior
for many users. Users that still want that behavior can now just flip
that switch.
2019-11-26 12:44:12 +01:00
Christian Kauhaus
dd87e9eb4d ssmtp: use services.ssmtp.* options
This PR is part of the networking.* namespace cleanup.

ssmtp used to be configured via `networking.defaultMailServer` which is
sort of misleading since it provides options only for ssmtp. Other
dumb mail relays like nullmailer have always been living under
services.

The intent of this PR is to align ssmtp's options with those of similar
services. Specifically, two renames have been done:

* Rename `networking.defaultMailHost` to `services.ssmtp`.
* Rename `directDelivery` to `enable` because this is what it basically does.
2019-11-26 11:08:44 +01:00
WilliButz
adc5ae70bf
nixos/prometheus-exporters: fix nginx exporter startup
When nginx is enabled on the same host the nginx exporter is,
the exporter needs to start after nginx.
2019-11-26 10:11:12 +01:00
Jacek Galowicz
4e89f75ca6 nixos/containers-bridge: Port test to python 2019-11-26 10:06:06 +01:00
Jacek Galowicz
76605b2127 nixos/ejabberd: Port test to python 2019-11-26 10:03:34 +01:00
Jacek Galowicz
ab374b3056 nixos/containers-tmpfs: Port test to python 2019-11-25 22:20:14 +01:00
Jacek Galowicz
da39d2be5a nixos/containers-reloadable: Port test to python 2019-11-25 22:20:14 +01:00
Jacek Galowicz
e4abed35be nixos/containers-hosts: Port test to python 2019-11-25 21:57:46 +01:00
Jacek Galowicz
acb53c777c nixos/containers-ephemeral: Port test to python 2019-11-25 21:57:27 +01:00
Florian Klink
b16ddb977d
Merge pull request #73140 from worldofpeace/port-pantheon-test
nixosTests.pantheon: port to python
2019-11-25 21:08:25 +01:00
Florian Klink
e6aba99c54
Merge pull request #74084 from WilliButz/systemd-services/use-correct-groups
dont use nogroup for networkd, resolved and timesyncd
2019-11-25 20:05:25 +01:00
worldofpeace
c16df6bbac nixosTests.pantheon: use subtest 2019-11-25 12:03:51 -05:00
worldofpeace
a60daae733 nixosTests.pantheon: check for bob description 2019-11-25 11:54:37 -05:00
worldofpeace
e15c4e48a2 nixosTests.pantheon: port to python 2019-11-25 11:54:37 -05:00
worldofpeace
aa6fb602a0 nixosTests.pantheon: adjust test slightly 2019-11-25 11:54:37 -05:00
worldofpeace
87f3224765 nixosTests.plasma5: port to python 2019-11-25 09:31:19 -05:00
worldofpeace
e4962aa6a7 nixosTests.plasma5: drop sddm ocr theme
OCR in this test has been disabled.
2019-11-25 09:22:39 -05:00
worldofpeace
71882102e3
Merge pull request #74114 from andrew-d/andrew/syncthing-tests-python
nixosTests.syncthing*: port to python
2019-11-25 14:03:57 +00:00
Franz Pletz
89806e9536 nixos/switch-to-configuration: restart changed socket units
Previously, socket units wouldn't be restarted if they were
changed. To restart the socket, the service the socket is attached
to needs to be stopped first before the socket can be restarted.
2019-11-25 14:43:49 +01:00
Domen Kožar
2c8c19972d
Merge pull request #73966 from d-goldin/nixosoptions_xml_strctx
make-options-doc: fix string context issues
2019-11-25 13:20:00 +01:00
Michael Raskin
ad38a08ecb test-driver.py: add Machine.copy_from_vm 2019-11-25 11:35:48 +01:00
Michael Raskin
ef5bc381f9 test-driver.py: Fix the shared directory reference 2019-11-25 11:33:47 +01:00
WilliButz
ec16f4fd5b
tests/systemd-networkd: add regression test for service group
Previously systemd-networkd.service ran as systemd-network:nogroup.
The wireguard private key file is now owned by root:systemd-network with
mode 0640. It is therefore required that the systemd-network user is in the group
with the same name, so that it is able to read the key file.
2019-11-25 10:47:31 +01:00
WilliButz
fc91467b0d
nixos/timesyncd: add user systemd-timesync to group systemd-timesync 2019-11-25 10:46:28 +01:00
WilliButz
2ffb2c0bd1
nixos/resolved: add user systemd-resolve to group systemd-resolve 2019-11-25 10:46:28 +01:00
WilliButz
b79e3e615a
nixos/networkd: add systemd-network user to group systemd-network 2019-11-25 10:46:28 +01:00
Oleksii Filonenko
248a3de948
nixosTests.rabbitmq: port to python 2019-11-25 11:35:19 +02:00
adisbladis
4d78ab0561
Merge pull request #72996 from elohmeier/containers-fix
nixos/containers: fix handling of cfg.additionalCapabilities
2019-11-25 09:35:09 +00:00
Andrew Dunham
7398211601 nixosTests.syncthing*: port to python 2019-11-25 00:36:37 -08:00
Robin Gloster
ba03a1b731
nixos/tests: fail on failing subtests
This was the behaviour in the perl test driver too and a regression.

Also cleaned up unused imports
2019-11-25 01:08:06 +01:00
Maximilian Bosch
9a2c7caa43
nixos/nexus: port test to python test-driver 2019-11-25 00:18:04 +01:00
Florian Klink
4273a6adcc
Merge pull request #74081 from flokli/osquery
osquery: remove
2019-11-25 00:17:46 +01:00
Martin Milata
e290dd881c nixosTests.wordpress: fix assertions 2019-11-25 00:01:51 +01:00
Florian Klink
02f869ff30 osquery: remove
osquery was marked as broken since April.

If somebody steps up to fix it, we can always revive it from the
histroy, but there's not much value in shipping completely broken things
in current master.

cc @ma27
2019-11-24 22:38:07 +01:00
worldofpeace
38178a9a5b
Merge pull request #74030 from ckauhaus/connman-to-services.networking
connman: move "networking.connman" options to "services.connman"
2019-11-24 21:24:33 +00:00
Christian Kauhaus
edbf94d2ee connman: move options to services
As part of the networking.* name space cleanup, connman should be moved
to services.connman. The same will happen for example with
networkmanager in a separate PR.
2019-11-24 16:23:32 -05:00
Robin Gloster
3e3918d02a
Merge pull request #74055 from tfc/nixos-test-port-prometheus
nixos/prometheus: Port prometheus test to python
2019-11-24 21:59:45 +01:00
Franz Pletz
e315f34bb3
Merge pull request #53032 from netixx/update-openvswitch-2.9.2
openvswitch: 2.5.4 -> 2.12.0
2019-11-24 20:53:44 +00:00
Florian Klink
013b9a853b
Merge pull request #74076 from filalex77/nixosTests.sudo-python
nixosTests.sudo: port to python
2019-11-24 21:48:24 +01:00
Oleksii Filonenko
1043b55e4b
nixosTests.sudo: port to python 2019-11-24 22:11:04 +02:00
Robin Gloster
dde45712a7
nixosTests.jenkins: port to python 2019-11-24 20:54:10 +01:00
Robin Gloster
4572821435
Merge pull request #74069 from flokli/nixos-test-port-influxdb
nixosTests.influxdb: port to python
2019-11-24 20:46:49 +01:00
Florian Klink
aa5f701e88 nixosTests.influxdb: port to python 2019-11-24 20:21:06 +01:00
Robin Gloster
b86d62006d
nixosTests.minio: port to python 2019-11-24 20:20:32 +01:00
Robin Gloster
f58069eb8e
Merge pull request #74063 from flokli/nixos-test-port-gitolite
nixosTests.gitolite: port to python
2019-11-24 20:08:45 +01:00
Robin Gloster
a76eae4220
Merge pull request #74061 from flokli/nixos-test-port-uwsgi
nixosTests.uwsgi: port to python
2019-11-24 20:04:50 +01:00
John Ericson
1206faa6d5
Merge pull request #74057 from Ericson2314/wrapper-pname-support
treewide: Purge most parseDrvName
2019-11-24 13:31:35 -05:00
Florian Klink
84e32f6d9c nixosTests.gitolite: port to python 2019-11-24 19:27:34 +01:00
Florian Klink
e6d71e498f nixosTests.uwsgi: port to python 2019-11-24 19:12:14 +01:00
Florian Klink
ca12e08caa
nixosTests.bees: port to python 2019-11-24 18:49:35 +01:00
Robin Gloster
2d49ee8727
Merge pull request #73993 from flokli/nixos-test-port-wordpress
nixosTests.wordpress: port to python
2019-11-24 18:41:04 +01:00
Robin Gloster
caca39eb8e
Merge pull request #74053 from flokli/remove-beegfs
beegfs: remove test, module and package
2019-11-24 18:34:54 +01:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Silvan Mosberger
dce4e72999
Merge pull request #66978 from arcnmx/digital-ocean
nixos/digital-ocean-image: init (rebase)
2019-11-24 17:57:56 +01:00
Jacek Galowicz
e20e12442e nixos/prometheus: Port prometheus test to python 2019-11-24 17:53:18 +01:00
Florian Klink
c3e17efaab nixos/beegfs: remove module
packages are marked as broken for quite some time.
2019-11-24 17:33:51 +01:00
Florian Klink
2b9773f91e nixos/tests/beegfs: remove
This was broken for quite some time.
cc https://github.com/NixOS/nixpkgs/issues/73998
2019-11-24 17:32:55 +01:00
Florian Klink
069364f348 nixosTests.wordpress: add flokli and mmilata 2019-11-24 17:24:31 +01:00
Florian Klink
ec16d5c3ba nixosTests.wordpress: port to python 2019-11-24 17:11:50 +01:00
Edward Amsden
8bba28260a nixos/digital-ocean-image: init 2019-11-24 08:11:33 -08:00
Tom Fitzhenry
58498ae061 nixos/openarena: fix service's binary name
The binary name was recently changed from openarena-server to oa_ded in
https://github.com/NixOS/nixpkgs/pull/71122 .

That change broke the openarena module and consequently the openarena
test too. This commit fixes both.

As an alternative, we considered reverting the name change in
https://github.com/NixOS/nixpkgs/pull/72824 but we decided oa_ded was
a better name for the binary (it's the name upstream use).
2019-11-24 16:55:20 +01:00
Robin Gloster
c383268e11
Merge pull request #74040 from Ma27/port-graylog-test
nixos/graylog: port test to python test-driver
2019-11-24 16:43:50 +01:00
Robin Gloster
c2d9d6146a
Merge pull request #74036 from Ma27/port-codimd-test
nixos/codimd: port test to python test-driver
2019-11-24 15:30:27 +01:00
Robin Gloster
4e007fb1f6
Merge pull request #74033 from Ma27/port-docker-registry-test
nixos/docker-registry: port test to python test-driver
2019-11-24 15:23:49 +01:00
Robin Gloster
17e20a03ff
Merge pull request #74034 from Ma27/port-gotify-test
nixos/gotify-server: port test to python test-driver
2019-11-24 15:19:18 +01:00
Maximilian Bosch
7ca619018f
nixos/graylog: port test to python test-driver 2019-11-24 14:50:00 +01:00
Maximilian Bosch
9c8528e095
Merge pull request #74035 from ckauhaus/remove-vpnc
networking.vpnc: remove option
2019-11-24 14:42:46 +01:00
Maximilian Bosch
a1e6e5145b
nixos/codimd: port test to python test-driver 2019-11-24 14:19:36 +01:00
worldofpeace
16296a571f
Merge pull request #74031 from mayflower/prosody-tests-python
nixosTests.prosody*: port to python
2019-11-24 13:13:36 +00:00
Christian Kauhaus
3ea442ca94 networking.vpnc: remove option
This PR is part of the networking.* namespace cleanup.

The Cisco VPN module is currently of limited value since it just creates
config files but does not manage services. The same functionality can be
achieved by using _environment.etc_ instead.

It would be a different situation if we had a full service module. So if
you are annoyed by this change, please consider write a more featureful
module and put its options unter _services.networking.vpnc_.

Note that this change removes options for *Cisco VPN*, not
*networkmanager-vpn*.
2019-11-24 14:03:29 +01:00
Maximilian Bosch
2403c1a88d
nixos/gotify-server: port test to python test-driver 2019-11-24 13:49:04 +01:00
Maximilian Bosch
3b218e8570
nixos/docker-registry: port test to python test-driver 2019-11-24 13:46:09 +01:00
Robin Gloster
433972d65b
nixosTests.prosody*: port to python 2019-11-24 13:04:11 +01:00
Robin Gloster
7c23496e46
Merge pull request #74002 from flokli/nixos-test-port-google-oslogin
nixosTests.google-oslogin: port to python
2019-11-24 12:44:31 +01:00
Robin Gloster
0a724f9e5d
Merge pull request #74005 from flokli/nixos-test-port-etcd
nixosTests.etcd*: port to python
2019-11-24 11:52:04 +01:00
Robin Gloster
a9ef2dedeb
Merge pull request #73994 from flokli/nixos-test-port-nix-ssh-serve
nixosTests.nix-ssh-serve: port to python
2019-11-24 11:49:25 +01:00
Robin Gloster
76ad040bb1
Merge pull request #73992 from flokli/nixos-test-port-mysql
nixosTests.mysql*: port to python
2019-11-24 11:46:27 +01:00
worldofpeace
22cbd24409
Merge pull request #73990 from flokli/nixos-test-port-systemd-nspawn
nixosTests.systemd-nspawn: convert test to python
2019-11-24 10:26:07 +00:00
Florian Klink
8e85fec810
Merge pull request #74004 from mayflower/py-tests/dovecot
nixosTests.dovecot: port test to python
2019-11-24 02:20:04 +01:00
Florian Klink
6e60f849db
Merge pull request #74003 from nh2/nixos-tests-port-glusterfs
nixosTests.glusterfs: port to python
2019-11-24 02:03:22 +01:00
Niklas Hambüchen
3a38343576 nixosTests.glusterfs: port to python
Also fix a hardcoded sleep.
2019-11-24 02:00:50 +01:00
Florian Klink
65e3bf8267
Merge pull request #73961 from kwohlfahrt/kerberos-tests-python
nixos/kerberos: port tests to python
2019-11-24 02:00:29 +01:00
Florian Klink
6bd28271dc nixosTests.etcd-cluster: port to python 2019-11-24 01:38:51 +01:00
Florian Klink
39e8f9a312 nixosTests.etcd: port to python 2019-11-24 01:38:24 +01:00
Franz Pletz
b118137d43
nixosTests.dovecot: port test to python 2019-11-24 01:36:49 +01:00
Florian Klink
cfaaa524e3 nixosTests.google-oslogin: port to python
also use a .ssh/config instead of passing the same options over and over
again
2019-11-24 01:27:22 +01:00
Florian Klink
ba77344400 nixosTests.nix-ssh-serve: port to python 2019-11-24 00:15:39 +01:00
Florian Klink
132b703271 nixosTests.mysqlBackup: port to python 2019-11-23 23:48:55 +01:00
Florian Klink
ced69719cd nixosTests.mysqlReplication: port to python 2019-11-23 23:48:55 +01:00
Florian Klink
56718763e9 nixosTests.mysql: port to python 2019-11-23 23:48:55 +01:00
Jan Tojnar
2c81a6116b
nixos/neard: init 2019-11-23 23:28:13 +01:00
Florian Klink
c47da6bd48 nixosTests.neo4j: port test to python
also, switch to wait_for_open_port instead of just waiting 20s.
2019-11-23 23:16:23 +01:00
Florian Klink
a8a552da53 nixosTests.systemd-nspawn: convert test to python
also fix a wrong test name ;-)
2019-11-23 23:08:46 +01:00
Kai Wohlfahrt
d28fd8f8da nixos/kerberos: port tests to python 2019-11-23 19:45:46 +00:00
Dima
3c15d578d4 make-options-doc: fix string context issues
When using `documentation.nixos.includeAllModules = true;` with external
modules, the string context might contain dependencies to derivations
and so `toFile` refuses to evaluate;

```
error: in 'toFile': the file 'options.xml' cannot refer to derivation outputs, at
[...]/nixpkgs/nixos/lib/make-options-doc/default.nix:89:16
```

This is not an issue when using `writeText` (instead of manually
stripping the context).
2019-11-23 15:40:45 +01:00
Maximilian Bosch
b451612bd9
nixos/networkd: add missing dhcpv6 and static options to IPv6PrefixDelegation 2019-11-23 12:51:38 +01:00
worldofpeace
519448d2e3 nixos/gdm: don't raise an Exception in set-session script
https://github.com/NixOS/nixpkgs/pull/73378#discussion_r349825541
2019-11-22 18:05:31 -05:00
WilliButz
be5dcb4606
Merge pull request #73933 from flokli/nixos-test-port-mongodb
nixosTests.mongodb: port to python
2019-11-22 23:58:41 +01:00
WilliButz
2e54c90c38
Merge pull request #73939 from flokli/nixos-test-port-gitlab
nixosTests.gitlab: port to python
2019-11-22 23:54:27 +01:00
worldofpeace
bec88e1110
Merge pull request #73378 from worldofpeace/gdm-default-session
nixos/gdm: make desktopManager.default work
2019-11-22 22:49:15 +00:00
worldofpeace
d8b50bfe47 nixos/gdm: make desktopManager.default work
Unfortunately, you can't configure the default user-session
with GDM like lightdm. I've opened a feature request [0]
but I'd like to be able to do this now.

We use a GObject Python script using bindings to AccountsService
to achieve this. I'm hoping the reliable heuristic for session names
is the file's basename. We also have some special logic for which
method to use to set the default session. It seems set_x_session is
deprecated, and thusly the XSession key, but if that method isn't used
when it's an xsession it won't be the default in GDM.

[0]: https://gitlab.gnome.org/GNOME/gdm/issues/535
2019-11-22 17:47:03 -05:00
Florian Klink
1d65113d41 nixosTests.gitlab: port to python 2019-11-22 23:08:06 +01:00
Florian Klink
5121706951 nixosTests.mpd: port to python 2019-11-22 21:21:05 +01:00
Florian Klink
86a947297a nixosTests.mongodb: port to python 2019-11-22 20:56:43 +01:00
Florian Klink
c81e4f10c2
Merge pull request #73131 from 1000101/port-tests-to-python
Port tests to python
2019-11-22 20:47:24 +01:00
worldofpeace
9995881b79
Merge pull request #73876 from jtojnar/phonon-backends
Fix Plasma NixOS tests
2019-11-22 19:44:19 +00:00
Jan Hrnko
bc1d542f09 nixos/miniflux: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
32ef9dbfea nixos/jackett: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
caa0cadaed nixos/minidlna: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
1e70152489 nixos/incron: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
35f16042a2 nixos/icingaweb2: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
e4e1eea625 nixos/handbrake: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
98b28a776a nixos/hound: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
66c9911264 nixos/hibernate: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
c999eab3e7 nixos/fluentd: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
a0a07e3936 nixos/fish: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
541e2ca6d3 nixos/firewall: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
05163ec981 nixos/clickhouse: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
103f128dbb nixos/deluge: port test to python 2019-11-22 20:38:56 +01:00
Jan Hrnko
e31441ba9e nixos/fancontrol: port test to python 2019-11-22 20:38:56 +01:00
Florian Klink
ce139ed229
Merge pull request #73411 from gazally/yggdrasil-python-test
nixosTests.yggdrasil: port to python
2019-11-22 20:30:39 +01:00
Florian Klink
0b0da4c944
Merge pull request #73699 from NinjaTrappeur/wg-test-python
tests/systemd-networkd-wireguard: migrate to python test runner
2019-11-22 20:25:25 +01:00
Maximilian Bosch
e292be76fc
roundcube: 1.4.0 -> 1.4.1
https://github.com/roundcube/roundcubemail/releases/tag/1.4.1

Also fixed the test which got broken during #71407, most likely due to a
merge issue.
2019-11-22 17:13:41 +01:00
Oleksii Filonenko
95fc2d3fe1
hardware/bluetooth: add support for INI generator
- Add services.hardware.bluetooth.config option
- Use lib.generators.toINI with both config and extraConfig options

hardware/bluetooth: a couple suggestions

Co-authored-by: Aaron Andersen <aaron@fosslib.net>
2019-11-22 17:11:44 +02:00
Aaron Andersen
7b9c17c475 nixos/beanstalkd: keep jobs in persistent storage (#73884) 2019-11-22 09:27:32 +00:00
Maximilian Bosch
fce01d8f5e
Merge pull request #73788 from eonpatapon/nextcloud-occ
nixos/nextcloud: add occ in path of nextcloud-setup
2019-11-22 10:06:39 +01:00
Jan Tojnar
77661f8cfd
nixos/plasma5: drop enableQt4Support option
Phonon no longer supports Qt4 so this is useless.
2019-11-22 09:01:05 +01:00
Florian Klink
4321a88f44 nixos/phpfpm: enable PrivateTmp=true
This seems to be mostly a pre - #57677 relict. As postgresql sockets now
are not in /tmp anymore, isolate /tmp.
2019-11-21 23:31:19 +01:00
Florian Klink
758efb9348
Merge pull request #73190 from flokli/ceph-tests-python
WIP: nixos/ceph: port tests to python
2019-11-21 20:13:41 +01:00
Florian Klink
0f2635b7d4
Merge pull request #73827 from tfc/mosquitto-test-python
Mosquitto test python
2019-11-21 20:13:11 +01:00
Domen Kožar
a47e801226
Merge pull request #67349 from thefloweringash/amazon-device-names
ec2/create-amis.sh: register root device as /dev/xvda
2019-11-21 17:59:57 +01:00
IDF31
61cd421c75 nixos/qt5: use correct qtstyleplugins attribute 2019-11-21 10:10:50 -05:00
Serval
740e85f847
v2ray: add v2ray service 2019-11-21 21:51:10 +08:00
Jan Tojnar
6fb5b6be98
Various GNOME leaf package updates (#73790)
Various GNOME leaf package updates
2019-11-21 01:00:42 +01:00
Will Dietz
6ee7b4ddd8 nixos/adb: don't make android tools the system-wide mke2fs, lowPrio 2019-11-20 22:57:00 +01:00
markuskowa
196880d28c
Merge pull request #73568 from markuskowa/prt-rxe-test
nixosTests.rxe: port to python
2019-11-20 22:27:43 +01:00
Markus Kowalewski
f2564a4008
nixosTests.rxe: cleanup with loop serveral protocols 2019-11-20 20:47:45 +01:00
Jacek Galowicz
432f8a424b nixos/mosquitto: Refactor integration test code 2019-11-20 19:13:01 +01:00
Jacek Galowicz
4dba4db1db nixos/test: let python driver evaluate test code in global scope so the
user can define and use functions
2019-11-20 19:08:18 +01:00
Jacek Galowicz
855eb6f264 nixos/mosquitto: Port integration test to python 2019-11-20 19:08:18 +01:00
Florian Klink
6815017dcd nixosTests.ceph-multi-node: port to python 2019-11-20 17:38:20 +01:00
Florian Klink
a796dbead5 nixosTests.ceph-single-node: port to python 2019-11-20 17:38:20 +01:00
Jacek Galowicz
72dd1c6a74 nixos/test: If qemu monitor returns 0, simply return (like perl script does) 2019-11-20 17:38:20 +01:00
Jacek Galowicz
67e2042861 nixos/test: Fix child environment of python driver 2019-11-20 17:37:12 +01:00
Vladimír Čunát
e32d557967
Merge #45957: nixos manual: releases workflow improvements
Let's merge NOW; I'm not doing the same mistake again.
2019-11-20 13:31:24 +01:00
Vladimír Čunát
be6e0bf5c3
nixos manual: releases workflow nitpicks
Co-Authored-By: asymmetric <lorenzo@mailbox.org>
2019-11-20 13:29:06 +01:00
Robin Gloster
844625708e
nixos/manual: reword installation section
Sounded a bit unprofessional and pessimistic. Was actually called out on
twitter.
2019-11-20 10:30:49 +01:00
Frederik Rietdijk
65edeb8633 Merge master into staging-next 2019-11-20 10:01:49 +01:00
Robin Gloster
5f7bcffe21
Merge pull request #71407 from f--t/fix/roundcube
roundcube: fix -- quoting string env variable
2019-11-20 09:25:10 +01:00
(cdep)illabout
6c019a867c
nixos/timesyncd: add extraConfig option
This adds an `extraConfig` option to timesyncd for setting additional
options in `/etc/systemd/timesyncd.conf`.

This is similar to things like `services.journald.extraConfig` and
`services.logind.extraConfig`.
2019-11-20 14:57:02 +09:00
worldofpeace
4414a3bc7c
Merge pull request #73138 from worldofpeace/port-xfce-tests
Port xfce test to python
2019-11-20 04:57:26 +00:00
Jan Tojnar
a7f4c78792
gnome-user-docs: move to top-level again 2019-11-20 04:58:00 +01:00
Jan Tojnar
91b02cd86b
fwupd: 1.2.10 → 1.3.3 (#73700)
fwupd: 1.2.10 → 1.3.3
2019-11-20 02:02:24 +01:00
worldofpeace
a72f8a36de nixosTests.xfce: port to python 2019-11-19 19:21:58 -05:00
worldofpeace
a80f1c4151
Merge pull request #72800 from worldofpeace/xfce-4.12-drop
Drop Xfce 4.12 and promote Xfce module and packageset to 4.14
2019-11-20 00:19:03 +00:00