3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

15272 commits

Author SHA1 Message Date
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
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