Andrey Golovizin
3fd5a41676
nixos/prosody: fix broken tests
2021-02-12 06:54:20 +01:00
github-actions[bot]
344456f66a
Merge master into staging-next
2021-02-12 00:36:19 +00:00
Louis Blin
458fafa8fc
nixos/prometheus-exporters/artifactory: init at 1.9.0
...
Adds a Prometheus exporter to scrape metrics from the API of JFrog
Artifactory instances.
2021-02-11 15:56:58 +00:00
Andrey Golovizin
1f3c9fd0ef
nixos/tests/networking: fix DHCP range
...
Exclude static 192.168.*.2 addresses from the dynamic address range to
prevent different interfaces from getting the same address.
Seems like configuring a fixed IPv4 address does not automatically
exclude it from the dynamic address range.
Should fix occasional failures of
nixos.tests.networking.scripted.macvlan and possibly other networking
tests relying on DHCP.
2021-02-10 20:33:49 +01:00
Manuel Bärenz
037d0489ca
tests/vscodium: Fix race condition
2021-02-10 16:38:13 +01:00
github-actions[bot]
8064cff79c
Merge master into staging-next
2021-02-09 18:16:33 +00:00
Ben Siraphob
e605e6205f
power-profiles-daemon: pkgs.stdenv.lib -> pkgs.lib
2021-02-09 18:24:09 +07:00
github-actions[bot]
30dddce5e8
Merge master into staging-next
2021-02-09 06:16:02 +00:00
Jan Tojnar
faf133f854
Merge pull request #97972 from mvnetbiz/power-profiles-daemon
2021-02-09 01:41:04 +01:00
Matt Votava
65968a1f59
power-profiles-daemon: add test
2021-02-09 01:25:57 +01:00
github-actions[bot]
1848e071c9
Merge master into staging-next
2021-02-08 18:17:03 +00:00
Manuel Bärenz
6ee5348b55
nixos/tests: add keepassxc
...
Test whether KeePassXC launches correctly.
2021-02-08 15:39:37 +01:00
Manuel Bärenz
10b3773db0
vscode/vscodium: Add integration test
2021-02-08 13:59:37 +01:00
github-actions[bot]
1c86cb40e9
Merge master into staging-next
2021-02-08 00:36:16 +00:00
Jan Beinke
c4b5a703ab
tests/snapserver: Add test of connection and buffer size setting
...
This addition will cover part of the issue, that was fixed in #112295
and @mweinelt asked to improve the tests.
2021-02-07 23:43:59 +01:00
github-actions[bot]
77db03ceac
Merge master into staging-next
2021-02-06 12:19:10 +00:00
adisbladis
3c6035cd9a
Merge pull request #106767 from erikarvstedt/fix-container-pkgs-2
...
nixos-container: fix `nixpkgs` container options being ignored
2021-02-06 11:57:14 +01:00
github-actions[bot]
fadee272e0
Merge staging-next into staging
2021-02-06 00:35:48 +00:00
Alexandre Macabies
a36cc03d96
nixos/snapserver: update available stream types for v0.21.0
...
* Add 'librespot' (new name for 'spotify'), 'alsa', 'tcp'.
* Add a warning about the spotify -> librespot rename.
* Fix the deprecated example `mode = "listen"` for type 'pipe'.
* Update the tests to include a straightforward 'tcp' test.
2021-02-05 19:23:24 +01:00
takagiy
b248510454
wmderland: init at 2020-07-17
2021-02-06 02:36:39 +09:00
github-actions[bot]
a93a3ec715
Merge staging-next into staging
2021-02-04 00:35:42 +00:00
Anderson Torres
8bf1bc692c
Merge pull request #110512 from neosimsim/agda-dont-install-Everything
...
Agda don't install Everything module
2021-02-03 15:56:34 -03:00
Anderson Torres
a27a2c4b15
Merge pull request #110501 from neosimsim/agda-ghc-ieee754
...
agda.withPackages: use GHC with ieee754 as default
2021-02-03 15:55:37 -03:00
github-actions[bot]
571eb10996
Merge staging-next into staging
2021-02-03 18:22:22 +00:00
Tim Steinbach
0d3bf0781f
scala: Replace VM test with installCheckPhase
2021-02-03 10:24:42 -05:00
Jan Tojnar
75153ede17
Merge branch 'staging-next' into staging
2021-02-02 19:46:31 +01:00
Vladimír Čunát
7ca350660d
Merge #111495 : nixosTests.installer: Increase memory for the VM
2021-02-02 14:02:58 +01:00
Anders Kaseorg
4a0a7ccb2a
nixosTests.installer: Increase memory allocated to the VM
...
Fixes #111223 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-01-31 12:45:42 -08:00
github-actions[bot]
03b81d1bef
Merge staging-next into staging
2021-01-31 18:27:42 +00:00
Vincent Haupert
fb3970ef7d
nixos/tests: add kernel-latest-ath-user-regd
...
Test for the option `networking.wireless.athUserRegulatoryDomain` to
make sure the underlying patch still applies for the latest kernel.
Also see NixOS/nixpkgs#108725 .
2021-01-31 10:48:15 -05:00
Vincent Haupert
730da50f85
nixos/tests: adapt systemd-networkd-ipv6-prefix-delegation
2021-01-31 01:49:24 +01:00
github-actions[bot]
2c6ca9ac8a
Merge staging-next into staging
2021-01-30 06:19:36 +00:00
Silvan Mosberger
45a7914186
Merge pull request #109035 from turion/dev_nextcloud_php
...
Nextcloud: Add phpExtraExtensions
2021-01-30 02:41:13 +01:00
github-actions[bot]
e788d512e8
Merge staging-next into staging
2021-01-30 00:44:04 +00:00
Maximilian Bosch
454da6cd6b
Merge pull request #110871 from rnhmjoj/dnscrypt
...
nixos/test/dnscrypt-wrapper: fix test
2021-01-29 20:34:56 +01:00
Jacek Galowicz
001ba3934e
Use lib.cartesianProducOfSets where lib.crossLists was used
2021-01-28 23:49:05 +01:00
github-actions[bot]
798f7b136c
Merge staging-next into staging
2021-01-28 18:30:08 +00:00
Matías Lang
dac07be800
nixos/miniflux: don't depend on sudo
...
The miniflux service should work when sudo is not available in the
system.
2021-01-28 15:09:31 -03:00
Marijan Petričević
f56089ded5
nixos/hledger-web: init module and test
2021-01-28 15:29:53 +01:00
github-actions[bot]
2e78c8c736
Merge staging-next into staging
2021-01-28 12:23:55 +00:00
Emery Hemingway
f32d7e4e03
nixos: add services.rsyncd.socketActivated option
...
Define systemd-socket activation using the upstream configuration
files as a reference. The "rsyncd" systemd unit has been renamed
to "rsync" for consistency with upstream.
2021-01-28 11:22:31 +01:00
github-actions[bot]
06efb52369
Merge staging-next into staging
2021-01-27 18:28:34 +00:00
Florian Klink
1030745555
Merge pull request #106857 from m1cr0man/master
...
nixos/acme: Fixes for account creation and remove tmpfiles usage
2021-01-27 17:52:16 +01:00
Ninjatrappeur
ab224b550c
Merge pull request #103138 from NinjaTrappeur/nin-pleroma
2021-01-27 13:28:44 +01:00
github-actions[bot]
1b5da764a7
Merge staging-next into staging
2021-01-27 12:24:09 +00:00
Aaron Andersen
434a2783b8
nixos/nextcloud: add phpExtraExtensions option
2021-01-27 11:05:00 +01:00
Sandro
2ee93d61ad
Merge pull request #110913 from siraben/other-stdenv-lib
2021-01-27 10:13:05 +01:00
Ben Siraphob
36c91cea1d
treewide: stdenv.lib -> lib
2021-01-27 13:08:40 +07:00
rnhmjoj
0b4d5b741b
nixos/test/dnscrypt-wrapper: fix test
...
The test was broken by the inclusion of the default dnscrypt-proxy
configuration in e4c49db6
.
2021-01-26 19:17:30 +01:00
Félix Baylac-Jacqué
60b730fd94
nixos/pleroma: add NixOS VM test.
2021-01-26 18:11:38 +01:00
github-actions[bot]
a008c42d22
Merge staging-next into staging
2021-01-25 18:52:12 +00:00
Florian Klink
b2f3bd4d79
Merge pull request #100155 from primeos/nixos-add-fqdn-option
...
nixos/networking: Add a read-only option for the FQDN
2021-01-25 16:45:45 +01:00
rnhmjoj
4ff48ea01c
nixos/tests/searx: fix build
...
yq-go has been updated with breaking changes to the syntax.
2021-01-25 12:11:59 +01:00
github-actions[bot]
c564d1e1ce
Merge staging-next into staging
2021-01-25 01:18:29 +00:00
Vladimír Čunát
fe111fc679
nixosTests.zfs.installer: fixup test after d44c6219b8
2021-01-24 21:02:56 +01:00
Jan Tojnar
3c5dff210a
Merge branch 'staging-next' into staging
2021-01-24 20:43:48 +01:00
Michael Weiss
27955d37e9
nixos/tests/chromium: Simplify the logic ( #110715 )
...
- Improve the documentation (Python docstrings for functions and more
meaningful xdotool script names).
- Make more use of the existing methods (e.g. wait_until_succeeds(), and
send_key())
- Note: This increases timeouts from 60 seconds to (currently)
15 minutes but the defaults from test-driver.py should be fine.
This should make it simpler to read the code, understand the test
output, and drop the custom xdotool scripts in the future.
2021-01-24 20:35:29 +01:00
Bernardo Meurer
105b9eb1b8
Merge pull request #109768 from cpcloud/nomad-datadir-cleanup
...
nixos/nomad: enforce specific data_dir semantics
2021-01-24 18:20:08 +00:00
Alexander Ben Nasrallah
226299e1a2
agdaPackages.mkDerivation: don't install Everything module
...
The Everthing module is not part of a library and should therefore
not be copied to the nix store.
This is particularly bad, if the Everything module is defined in
an agda library included directory, e.g. consider an agda-lib with
include: .
and Everything.agda in the project root (.), in which case the
Everything module would become part of the library.
If multiple such projects are in the dependency tree, the Everything
module becomes ambiguous and the build would fail.
2021-01-24 17:30:01 +01:00
Alexander Ben Nasrallah
67e43b7453
nixos/tests/agda: check execution of HelloWorld
...
Test that the compiled executable actually runs.
2021-01-24 15:02:16 +01:00
Robert Hensing
530df49d7a
Merge pull request #108411 from hercules-ci/vault-multiple-config-files
...
vault: Support multiple config files (no secrets in store)
2021-01-24 13:49:06 +01:00
rnhmjoj
cc8a4227c1
nixos/tests/custom-ca: init
...
This is a NixOS test for the security.pki options.
2021-01-24 10:50:56 +01:00
Sandro
77f32f2f3c
Merge pull request #110628 from prusnak/stdenv-lib
...
treewide: stdenv.lib -> lib
2021-01-24 03:10:32 +01:00
Pavol Rusnak
90f7338112
treewide: stdenv.lib -> lib
2021-01-24 01:49:49 +01:00
Phillip Cloud
de71f5b506
nixos/tests: add test for custom nomad state directory
2021-01-23 19:44:37 -05:00
Phillip Cloud
f1778cd90e
nixos/nomad: add extraSettingsFiles option to nomad service ( #109761 )
2021-01-23 23:52:19 +01:00
Michael Weiss
87fb5d381f
nixos/smokeping: Add a PoC for using networking.fqdn
2021-01-23 14:03:16 +01:00
Michael Weiss
86897c8f63
nixos/tests/chromium: Fix another potential race condition
...
The create_new_win() function could open multiple windows when used
incorrectly. This change makes sure that a new window will only be
created if the main window could be selected successfully.
This also ignores the out return values as they're never used.
2021-01-23 12:15:56 +01:00
Philipp Bartsch
b912846267
nixos/tests/usbguard: init
2021-01-23 01:19:11 +01:00
Markus Kowalewski
dcae37989f
tests/slurm: update mysql config to use settings
2021-01-21 17:51:28 +01:00
Kevin Cox
f1d3b04c04
Merge pull request #109966 from thiagokokada/bump-opentabletdriver
...
opentabletdriver: 0.4.2 -> 0.5.0
2021-01-20 16:37:16 -05:00
zowoq
b46b3d928d
nixos/podman: readd rootless runc test
...
use `loginctl enable-linger` to create systemd session
2021-01-21 06:57:51 +10:00
Sandro
ec84cbf95f
Merge pull request #110107 from LeSuisse/cifs-utils-missing-python3-smbinfo
...
cifs-utils: missing python3 dependency for smbinfo
2021-01-20 20:12:37 +01:00
Michael Weiss
ff8866e243
nixos/tests/chromium: Add ungoogled-chromium and Google Chrome
...
By default only `chromium` will be tested but other "channels" can be
selected using e.g.:
nix-build nixos/tests/chromium.nix -A ungoogled
This also adds me as secondary maintainer (I'd like to get notified on
PRs/issues and can review them).
2021-01-20 19:20:53 +01:00
Thomas Gerbet
5858d84658
cifs-utils: missing python3 dependency for smbinfo
...
Since cifs-utils 6.12, smbinfo needs Python to be usable.
Issue introduced in 033208fd46
.
2021-01-20 18:39:42 +01:00
Michael Weiss
8a7a8442c1
nixos/tests/chromium: Fix a race condition
...
Only execute Ctrl+w to close the currently active window if the
new/secondary window (title: "New Tab") could be selected. This fixes a
test failure since the update to Chromium M88 (cc PR #110010 ).
Without this additional check the main window (title: "startup done")
could still be selected (and thus will be closed) and the script would
close both windows (i.e. terminate Chromium completely).
2021-01-20 16:57:46 +01:00
Robert Hensing
d51d15e1cf
Merge pull request #109665 from prusnak/stdenv-lib-nixos
...
nixos/modules: stdenv.lib -> lib
2021-01-19 23:50:30 +01:00
Robert Hensing
04946f4246
nixos/vault: extraConfigPaths -> extraSettingsPaths
...
Align with RFC42 language, even if in advance of the actual settings
attribute.
2021-01-19 18:14:29 +01:00
Thiago Kenji Okada
313ee6bd96
opentabletdriver: 0.4.2 -> 0.5.0
2021-01-19 14:05:48 -03:00
Sandro
710a84461b
Merge pull request #104920 from ThibautMarty/herbstluftwm-0.9.0
2021-01-18 23:09:46 +01:00
Christian Kampka
f0ec10a829
treewide: remove kampka as maintainer ( #109813 )
2021-01-18 21:23:49 +01:00
Thibaut Marty
a6cdb113bd
herbstluftwm: add NixOS test
2021-01-18 16:12:52 +00:00
Sandro
4eccd6f731
Merge pull request #97449 from AberDerBart/mpd
...
nixos/mpd: fix not properly testing for songs to be in the playlist
2021-01-18 13:47:57 +01:00
Kevin Cox
4ee9a86405
Merge pull request #109042 from Atemu/installer-tests-more-cores
...
tests/installer: give installer VM more cores
2021-01-18 06:14:50 -05:00
Pavol Rusnak
66dc9dbb59
nixos/modules: stdenv.lib -> lib
2021-01-17 21:40:51 +01:00
WilliButz
254b510ce7
nixos/promtheus-nextcloud-exporter: update module and test
...
Use new command-line flags of release 0.3.0 and always answer with the
expected XML in the VM test instead of using a test-specific fixed path.
Co-authored-by: ajs124 <git@ajs124.de>
2021-01-17 15:25:18 +01:00
Mark Vainomaa
f53cf9a65c
Revert "nixos/tests/docker: wait for docker service"
...
This reverts commit c14bafd6c7db3b0c03574e28831821adda22a6f1.
2021-01-15 15:53:43 +02:00
Erik Arvstedt
9a283a038d
nixos-container: fix nixpkgs
container options being ignored
...
Since the introduction of option `containers.<name>.pkgs`, the
`nixpkgs.*` options (including `nixpkgs.pkgs`, `nixpkgs.config`, ...) were always
ignored in container configs, which broke existing containers.
This was due to `containers.<name>.pkgs` having two separate effects:
(1) It sets the source for the modules that are used to evaluate the container.
(2) It sets the `pkgs` arg (`_module.args.pkgs`) that is used inside the container
modules.
This happens even when the default value of `containers.<name>.pkgs` is unchanged, in which
case the container `pkgs` arg is set to the pkgs of the host system.
Previously, the `pkgs` arg was determined by the `containers.<name>.config.nixpkgs.*` options.
This commit reverts the breaking change (2) while adding a backwards-compatible way to achieve (1).
It removes option `pkgs` and adds option `nixpkgs` which implements (1).
Existing users of `pkgs` are informed by an error message to use option
`nixpkgs` or to achieve only (2) by setting option `containers.<name>.config.nixpkgs.pkgs`.
2021-01-15 12:49:42 +01:00
Milan
f634c149e4
nixos/tests/docker: wait for docker service ( #109418 )
...
Previously the Docker daemon was started by systemd socket activation.
Thus, the Docker test waited for the sockets.target unit.
But when the docker module was changed to start the Docker daemon at
boot instead of by socket activation, the test was left untouched.
With the Docker 20.10 update this lead to a timing issue, where the
docker command is run before the Docker daemon has started and hangs.
Fixes #109416
2021-01-15 03:38:15 +01:00
Kevin Cox
ddad87f26a
Merge pull request #108940 from Atemu/zfs-test-with-stable-linuxPackages
...
tests/zfs: test stable with stable linuxPackages
2021-01-14 17:09:02 -05:00
Alyssa Ross
3893d6c6d7
gitAndTools: move everything to the top level
...
The comment at the top of git-and-tools/default.nix said:
/* All git-relates tools live here, in a separate attribute set so that users
* can get a fast overview over what's available.
but unfortunately that hasn't actually held up in practice.
Git-related packages have continued to be added to the top level, or
into gitAndTools, or sometimes both, basically at random, so having
gitAndTools is just confusing. In fact, until I looked as part of
working on getting rid of gitAndTools, one program (ydiff) was
packaged twice independently, once in gitAndTools and once at the top
level (I fixed this in 98c3490196
).
So I think it's for the best if we move away from gitAndTools, and
just put all the packages it previously contained at the top level.
I've implemented this here by just making gitAndTools an alias for the
top level -- this saves having loads of lines in aliases.nix. This
means that people can keep referring to gitAndTools in their
configuration, but it won't be allowed to be used within Nixpkgs, and
it won't be presented to new users by e.g. nix search.
The only other change here that I'm aware of is that
appendToName "minimal" is not longer called on the default git
package, because doing that would have necessitated having a private
gitBase variable like before. I think it makes more sense not to do
that anyway, and reserve the "minimal" suffix only for gitMinimal.
2021-01-14 21:27:48 +00:00
Michele Guerini Rocco
721a4ecfa6
Merge pull request #109114 from illustris/searx
...
searx: 0.17.0 -> 0.18.0
2021-01-14 10:15:37 +01:00
rnhmjoj
f741cccd45
nixos/searx: remove settings.yml merging script
...
Starting with 0.18.0, searx can merge the settings.yml automatically
with the default values, so the script is obsolete.
2021-01-14 09:48:02 +01:00
rnhmjoj
1013de19f1
nixos/searx: fix for 0.18.0 update
2021-01-14 09:48:01 +01:00
Izorkin
d688f790dd
mariadb: drop build server with tokudb storage
2021-01-12 17:22:47 +03:00
rnhmjoj
623664e84f
nixos/searx: add support for running in uWSGI
2021-01-11 08:41:15 +01:00
rnhmjoj
b7ca2d1448
nixos/tests: add searx test
2021-01-11 08:41:15 +01:00
Jan Tojnar
dd72357155
Merge branch 'master' into staging-next
2021-01-10 23:24:33 +01:00
Guillaume Girol
0fbc0976db
Merge pull request #106082 from rnhmjoj/uwsgi
...
nixos/uwsgi: run with capabilities instead of root
2021-01-10 21:51:37 +00:00
Sandro
d085417683
Merge pull request #108970 from xaverdh/pkgs-stdenv-lib
...
treewide: simplify pkgs.stdenv.lib -> pkgs.lib
2021-01-10 22:47:38 +01:00
Florian Klink
07f8292f88
Merge pull request #108844 from dadada/dadada/redis-unix-socket
...
nixos/redis: add test for unix socket access
2021-01-10 22:08:02 +01:00
Dominik Xaver Hörl
25bef2d8f9
treewide: simplify pkgs.stdenv.lib -> pkgs.lib
...
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 20:12:06 +01:00
Atemu
71590db8fb
tests/installer: give installer VM more cores
...
ZFS installer test runtime went from 637s to 380s on my Ryzen 3600
2021-01-10 13:45:14 +01:00
Atemu
61c0e8e657
tests/zfs: test stable with stable linuxPackages
...
Only unstable is supposed to be compatible with linuxPackages_latest
2021-01-10 13:24:53 +01:00
github-actions[bot]
433c7b069c
Merge master into staging-next
2021-01-10 01:03:35 +00:00
Aaron Andersen
4b0a2ac72c
Merge pull request #99559 from JamieMagee/nzbhydra2
...
nzbhydra2: init at 3.8.0
2021-01-09 14:23:30 -05:00
github-actions[bot]
fcbe48c797
Merge master into staging-next
2021-01-09 18:41:27 +00:00
dadada
5d0b0fcc7d
nixos/redis: add test for unix socket access
...
This adds a test to check if the unix socket is available to the `redis` group
added in #90027 .
2021-01-09 11:40:11 +01:00
Thiago Kenji Okada
41c50cc505
nixos/opentabletdriver: add tests
2021-01-08 14:27:40 -03:00
rnhmjoj
c00240e41e
nixos/uwsgi: add support for POSIX capabilities
2021-01-07 23:17:07 +01:00
Jan Tojnar
f19eb635b4
Merge branch 'master' into staging-next
...
b04fc593e7
seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
2021-01-07 13:04:31 +01:00
Jörg Thalheim
a14ea3aecc
Merge pull request #97740 from ju1m/tor
...
nixos/tor: improve type-checking and hardening
2021-01-05 16:00:40 +00:00
WORLDofPEACE
57e1a17ad0
Merge pull request #108465 from alyssais/getty
...
nixos/getty: rename from services.mingetty
2021-01-05 10:10:34 -05:00
Alyssa Ross
6c3d21aff9
nixos/getty: rename from services.mingetty
...
It's been 8.5 years since NixOS used mingetty, but the option was
never renamed (despite the file definining the module being renamed in
9f5051b76c
("Rename mingetty module to agetty")).
I've chosen to rename it to services.getty here, rather than
services.agetty, because getty is implemantation-neutral and also the
name of the unit that is generated.
2021-01-05 09:09:42 +00:00
Robert Hensing
5540dd9b9b
Merge pull request #108416 from srhb/streamlayeredimage-symlinked-storepaths
...
dockerTools: Fix streamLayeredImage for symlinks
2021-01-05 10:00:28 +01:00
Léo Gaspard
a7331d1403
nixos tests: fix postgresql-wal-receiver
2021-01-05 04:12:53 +01:00
Léo Gaspard
fe8ec6a07f
nixos tests: fix postgresql-wal-receiver.nix's eval
2021-01-05 04:05:38 +01:00
Sarah Brofeldt
ffe5ff6009
dockerTools: Test buildLayeredImage with symlinks
...
This exercises layer creation in face of store path symlinks, ensuring
they are not dereferenced, which can lead to broken layer tarballs
2021-01-04 21:44:47 +01:00
Frederik Rietdijk
b20838eb4a
Merge staging-next into staging
2021-01-04 20:51:32 +01:00
Robert Hensing
653f18b48f
nixosTests.vault-postgresql: init
2021-01-04 19:00:30 +01:00
Robert Hensing
1eabc4cff1
nixosTests.vault: increase memorySize to 512
2021-01-04 19:00:29 +01:00
Andreas Rammhold
653f805f09
nixos/tests/dovecot: enable dovecot_pigeonhole plugin
...
This plugin is used commonly enough that we should ensure it still
builds (and dovecot works) after loading it.
This is not yet perfect as we aren't testing any of it's functionality
but at least we ensure that dovecot continues to do the regular job.
2021-01-04 18:17:26 +01:00
Julien Moutinho
0ccdd6f2b0
nixos/tor: improve type-checking and hardening
...
Fixes #77395 .
Fixes #82790 .
2021-01-04 01:02:26 +01:00
github-actions[bot]
07165c7226
Merge staging-next into staging
2021-01-03 18:38:32 +00:00
Maximilian Bosch
3b57908018
Merge pull request #108179 from WilliButz/update/prometheus-json-exporter/0.2.0
...
prometheus-json-exporter: unstable-2017-10-06 -> 0.2.0
2021-01-03 19:28:12 +01:00
Milan Pässler
12f3e2c42c
nixos/tests/shadow: add switch user subtest
2021-01-03 15:54:48 +01:00
Florian Klink
4d36ba1d43
Merge pull request #108032 from andir/systemd-dlopen
...
systemd: patch runtime dlopen calls
2021-01-03 13:33:09 +01:00
Andreas Rammhold
37539e7768
nixos/tests/systemd-journal: ensure that --grep works
...
Previously, after the version bump to v247, we broke journalctl --grep
as libpcre2 was lazily loaded during runtime using dlopen(3). This
ensures that we have a test case that alerts us when it fails again.
2021-01-03 11:50:01 +01:00
Tim Steinbach
4c9414d31c
hub: Add test
2021-01-02 15:43:01 -05:00
WilliButz
3f94c66ee1
nixos/prometheus-json-exporter: update modules & tests, add release notes
2021-01-02 13:10:27 +01:00
WilliButz
0587d518db
Merge pull request #107891 from lukegb/smokeping-prober
...
prometheus-smokeping-prober: init at 0.3.1 from git
2021-01-01 16:08:20 +01:00
WilliButz
2b04b8817e
Merge pull request #108096 from lukegb/bird-exporter
...
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 16:03:37 +01:00
Luke Granger-Brown
699e402705
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 04:43:59 +00:00
kvtb
2d6926b64b
fpm.nix: fix string escaping
...
\. has no effect in single quoted strings
2020-12-31 23:50:51 +00:00
Luke Granger-Brown
d0a9e1ec83
nixos/grafana: add support for declarative plugin installation
2020-12-30 17:59:52 +00:00
Luke Granger-Brown
3297ac72f1
nixos/prometheus: add smokeping and corresponding NixOS test
2020-12-29 18:59:51 +00:00
Lucas Savva
bfe07e2179
nixos/acme: fix test config
2020-12-28 00:35:46 +00:00
Lucas Savva
85769a8cd8
nixos/acme: prevent mass account creation
...
Closes #106565
When generating multiple certificates which all
share the same server + email, lego will attempt
to create an account multiple times. By adding an
account creation target certificates which share
an account will wait for one service (chosen at
config build time) to complete first.
2020-12-28 00:35:18 +00:00
Maximilian Bosch
e5e7c9b0f9
nixos/tests/loki: satisfy linter
...
Apparently, the linter used for python test-scripts just decided that
a reformat of the testscript is now necessary.
2020-12-28 00:37:13 +01:00
Tim Steinbach
1d364e5138
tests/shadow: Improve
...
On slow hardware, the test was flaky.
This improves it.
2020-12-23 17:48:12 -05:00
WilliButz
f1584ed282
Merge pull request #107469 from Ma27/bump-prometheus
...
prometheus: 2.22.2 -> 2.23.0
2020-12-23 21:49:08 +01:00
Vladimír Čunát
57a787c9fa
Revert Merge #107275 : nixos: fix "nixos-rebuild ...
...
... build-vm-with-bootloader" for EFI systems
This reverts commit 20257280d9
, reversing
changes made to 926a1b2094
.
It broke nixosTests.installer.simpleUefiSystemdBoot
and right now channel is lagging behing for two weeks.
2020-12-23 21:24:24 +01:00
Tim Steinbach
1539732cc6
shadow: Add test
2020-12-23 13:28:52 -05:00
Tim Steinbach
05bf935bc6
ripgrep: Add test
2020-12-23 12:30:39 -05:00
Maximilian Bosch
39ebc637a1
nixos/tests/prometheus: increase memorySize
...
Apparently, our NixOS tests need more RAM now. This was needed for e.g.
the `gitea`-test as well[1].
[1] affb72eccd
2020-12-23 13:08:36 +01:00
rnhmjoj
06749ba321
nixos/tests/uwsgi: test PHP plugin
2020-12-22 14:12:19 +01:00
Sandro
ca8343d1b9
Merge pull request #105781 from phile314/rm_old_kafka
2020-12-22 10:03:08 +01:00
WilliButz
1c55621706
nixos/codimd: rename to hedgedoc
...
CodiMD was renamed to HedgeDoc. The user, group and state directory,
will be named hedgedoc instead of codimd, starting with stateVersion
"21.03".
2020-12-22 01:39:03 +01:00
Vladimír Čunát
583470209f
Revert "Merge #97536 : uwsgi: fix compiling and linking"
...
This reverts commit df4d0b03ef
, reversing
changes made to b333263534
.
It didn't even evaluate!
2020-12-21 22:48:19 +01:00
WilliButz
8fc05f7a19
Merge pull request #107292 from mguentner/nginxlog_exporter
...
nginxlog_exporter: 1.3.0 -> 1.8.1 + module w/ tests
2020-12-21 21:40:16 +01:00
Maximilian Güntner
65fd031277
nixos: add prometheus_nginxlog_exporter module + test
2020-12-21 21:23:39 +01:00
Léo Gaspard
a5a819e059
Merge pull request #104292 from fgaz/image-contents
...
nixos/lib/make-disk-image.nix: support content mode and ownership
2020-12-21 19:58:49 +01:00
Philipp Hausmann
a63c1a930f
kafka: remove old versions
2020-12-21 19:46:16 +01:00
Jamie Magee
feb63511c6
nixos/nzbhydra2: init
2020-12-21 19:41:24 +01:00
rnhmjoj
c32ef2192f
nixos/tests/uwsgi: test PHP plugin
2020-12-21 16:50:54 +01:00
Bjørn Forsman
39fad297fd
nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systems
...
`nixos-rebuild build-vm-with-bootloader` currently fails with the
default NixOS EFI configuration:
$ cat >configuration.nix <<EOF
{
fileSystems."/".device = "/dev/sda1";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}
EOF
$ nixos-rebuild build-vm-with-bootloader -I nixos-config=$PWD/configuration.nix -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.09.tar.gz
[...]
insmod: ERROR: could not insert module /nix/store/1ibmgfr13r8b6xyn4f0wj115819f359c-linux-5.4.83/lib/modules/5.4.83/kernel/fs/efivarfs/efivarfs.ko.xz: No such device
mount: /sys/firmware/efi/efivars: mount point does not exist.
[ 1.908328] reboot: Power down
builder for '/nix/store/dx2ycclyknvibrskwmii42sgyalagjxa-nixos-boot-disk.drv' failed with exit code 32
[...]
Fix it by setting virtualisation.useEFIBoot = true in qemu-vm.nix, when
efi is needed.
And remove the now unneeded configuration in
./nixos/tests/systemd-boot.nix, since it's handled globally.
Before:
* release-20.03: successful build, unsuccessful run
* release-20.09 (and master): unsuccessful build
After:
* Successful build and run.
Fixes https://github.com/NixOS/nixpkgs/issues/107255
2020-12-21 08:55:13 +01:00
Francesco Gazzetta
8e52193721
nixosTests.image-contents: init
2020-12-20 21:24:50 +01:00
Linus Heckemann
b1fc183639
Merge pull request #97145 from lheckemann/initrd-improvements
...
Initrd improvements
2020-12-18 18:15:27 +01:00
Tim Steinbach
648eece4bf
yq: Add test
2020-12-18 12:07:30 -05:00
Johannes Schleifenbaum
df7a435e3e
mailhog: add simple test
2020-12-17 16:58:57 +01:00
Tim Steinbach
bc949bb67e
minecraft: Fix test
2020-12-17 09:05:53 -05:00
Linus Heckemann
3136e49b8e
nixos/tests: Add test for initrd secrets
...
lz4 compression is excluded because it doesn't work for a reason which
remains unclear to me.
2020-12-17 11:44:25 +01:00
Markus Kowalewski
5df0cf7461
nixos/slurm: fix dbdserver config file handling
...
Since slurm-20.11.0.1 the dbd server requires slurmdbd.conf to be
in mode 600 to protect the database password. This change creates
slurmdbd.conf on-the-fly at service startup and thus avoids that
the database password ends up in the nix store.
2020-12-16 20:34:14 +01:00
Tim Steinbach
fc3926ea2d
Revert "minecraft: 2.2.909 → 2.2.741"
...
This reverts commit 8d4d8ef274
.
The update script pulls the version info from AUR and they still use the old version.
Sorry...
2020-12-16 11:31:33 -05:00
Tim Steinbach
8d4d8ef274
minecraft: 2.2.909 → 2.2.741
2020-12-16 10:43:39 -05:00
Erik Arvstedt
34fcfc880b
tests/containers-custom-pkgs: improve test
...
- Fix name
- Remove unneeded leftovers that were copied from containers-hosts.nix
- Remove redundant 'start_all()'
2020-12-15 20:25:58 +01:00
Tim Steinbach
ba31c04641
lsd: Fix test
...
CLI arguments changes in 0.19.0
See https://github.com/Peltoche/lsd/issues/461
2020-12-15 09:10:34 -05:00
Robert Hensing
1b35b3d3a7
Merge pull request #106703 from terinjokes/patches/dockerTools-getArch
...
dockerTools: normalize arch to GOARCH
2020-12-15 12:49:34 +01:00
Thomas Tuegel
0cb7962a12
Merge pull request #106899 from ttuegel/nixos-plasma-test-kded
...
nixos/plasma5: test that KDED runs at startup
2020-12-15 05:15:23 -06:00
Robert Hensing
d4b7efe531
nixosTests.docker-tools-cross: init
...
Not everyone has a suitable remote builder set up, so the cross-compilation
tests that _include_ running the result are separate. That way, most people
can run the majority of the test suite without the extra setup.
2020-12-15 02:15:12 -08:00
Terin Stock
8f66dc94a7
dockerTools: normalize arch to GOARCH
...
Docker (via containerd) and the the OCI Image Configuration imply and
suggest, respectfully, that the architecture set in images matches those
of GOARCH in the Go Language document.
This changeset updates the implimentation of getArch in dockerTools to
return GOARCH values, to satisfy Docker.
Fixes : #106695
2020-12-15 02:14:01 -08:00
Linus Heckemann
c40f06022a
Merge pull request #106073 from minijackson/tinc-rfc42-and-tests
...
nixos/tinc: rfc42 and tests
2020-12-14 21:52:57 +01:00
Robert Hensing
b37c00ab90
Merge pull request #106441 from hercules-ci/cassandra-passthru-tests
...
Cassandra passthru tests
2020-12-14 16:49:47 +01:00
Thomas Tuegel
9a71439343
nixos/plasma5: test that KDED runs at startup
2020-12-14 05:43:08 -06:00
Minijackson
6cd975094d
nixos/tests/tinc: init with simple test
2020-12-13 21:33:38 +01:00
Florian Klink
ce0fdd4dc0
Merge pull request #106697 from aanderse/mpd
...
nixos/mpd: conditionally provision required directories with StateDirectory
2020-12-12 20:48:54 +01:00
Aaron Andersen
77a8496907
nixos/mpd: conditionally provision required directories with StateDirectory
2020-12-11 19:35:43 -05:00
Guillaume Girol
a7b60e6bdf
Merge pull request #104727 from chkno/fuse-dot-sshfs
...
nixos/locate: Fix sshfs exclusion
2020-12-11 20:32:28 +00:00
Scott Worley
86f0dc221f
nixos/locate: Exclude fuse.sshfs
...
The "fuse" and "sshfs" entries already present are not keeping this find
invocation out of sshfs mounts, which present as fstype "fuse.sshfs"
2020-12-10 12:59:13 -08:00
Scott Worley
e0e08a186d
nixos/locate: Add a test
2020-12-10 12:59:13 -08:00
Matej Urbas
4948743705
nixos/prometheus-exporters/py-air-control: init
2020-12-10 19:02:30 +00:00
Damien Diederen
a429badcc8
perlPackages.NetZooKeeper: adapt to zookeeper_mt 3.6.2
2020-12-09 15:49:05 +01:00
Robert Hensing
a298710dd1
cassandra: Add passthru.tests
2020-12-09 13:24:48 +01:00
zowoq
cfbc1af189
podman: 2.2.0 -> 2.2.1
...
https://github.com/containers/podman/releases/tag/v2.2.1
2020-12-09 05:37:31 +10:00
Sandro
04cb54ae08
Merge pull request #105519 from 3699n/master
2020-12-07 19:54:20 +01:00
Nicholas von Klitzing
231ca64ed9
etesync-dav: 0.20.0 -> 0.30.6
2020-12-07 14:09:50 +01:00
freezeboy
903b2aa9a6
nixos/n8n: init module and test
2020-12-05 11:02:40 +01:00
stigo
80e0a20892
Merge pull request #103813 from symphorien/firejail
...
nixos/firejail: allow to pass options to firejail
2020-12-04 09:00:15 +01:00
Florian Klink
84f417d29b
Merge pull request #105469 from kisik21/fix-cloud-init-test
...
nixos/tests/cloud-init: fix the erroring out
2020-12-03 12:13:07 +01:00
Vika
bcc196cae8
nixos/tests/cloud-init: fix the erroring out
...
The test was broken for a 1.5 months apparently? Well, now it passes.
Also apparently it's not flaky anymore.
2020-12-03 13:28:09 +03:00
Maximilian Bosch
affb72eccd
nixos/tests/gitea: increase memory for VM
...
Otherwise, the relevant processes are stopped by the kernel's OOM
killer[1].
[1] https://github.com/NixOS/nixpkgs/pull/105698#issuecomment-737257293
2020-12-02 15:18:47 +01:00
Austin Seipp
652ac69373
Merge pull request #103393 from happysalada/add_vector
...
nixos/vector: add module
2020-12-02 03:30:11 -06:00
Robert Hensing
54ec506be5
Merge pull request #105662 from srhb/docker-tools-fix-format
...
nixos/tests/docker-tools.nix: Fix format
2020-12-02 09:02:46 +01:00
Sarah Brofeldt
67650f71cd
nixos/tests/docker-tools.nix: Fix format
2020-12-02 08:03:38 +01:00
Luke Granger-Brown
b5a328e58f
nixos/tests/misc: account for cgroupv2
...
Since #104094 (d22b3ed4bc
), NixOS is
using the unified cgroup hierarchy by default (aka cgroupv2).
This means the blkio controller isn't there, so we should test for
something else (e.g. the presence of the io controller).
Fixes #105581 .
2020-12-01 17:36:04 +01:00
Jörg Thalheim
b1ed5ffeab
Merge pull request #93293 from tnias/nixos_rspamd_20200716
2020-12-01 13:10:43 +00:00
Sascha Grunert
bd6067cd5d
podman: 2.1.0 -> 2.2.0
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-12-01 22:20:11 +10:00
Anderson Torres
881dee5284
Merge pull request #105411 from AndersonTorres/wip-ucg
...
ucg: init at 20190225
2020-11-30 16:55:03 -03:00
AndersonTorres
4bcdf302e1
ucg: init at 20190225
2020-11-30 16:21:41 -03:00
happysalada
85767db6b8
add happysalada as maintainer
2020-11-30 16:34:53 +09:00
happysalada
627dfecadd
nixos/vector: add module
2020-11-30 16:22:08 +09:00
Jörg Thalheim
3b6ef967f3
nixos/rspamd: fix postfix integration
2020-11-30 07:29:32 +01:00
Frederik Rietdijk
0d8491cb2b
Merge master into staging-next
2020-11-29 13:51:10 +01:00
Tim Steinbach
8529788e73
jq: Add test
2020-11-28 13:42:36 -05:00
Tim Steinbach
fe8fa45573
bat: Add test
2020-11-28 13:42:36 -05:00
Tim Steinbach
2d85247086
lsd: Add test
2020-11-28 13:42:36 -05:00
Tim Steinbach
13ebb30910
minecraft-server: Add test
2020-11-28 12:43:17 -05:00
Tim Steinbach
0dc74a15ad
minecraft: Add test
2020-11-28 12:43:17 -05:00
Frederik Rietdijk
b2a3891e12
Merge master into staging-next
2020-11-27 15:09:19 +01:00
Sarah Brofeldt
2e4d714334
nixos/tests/networking: Alleviate race in scripted test
2020-11-25 20:08:03 +01:00
Tim Steinbach
4196aa9660
awscli: Add test
2020-11-25 13:00:41 -05:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux
2020-11-24 12:42:06 -05:00
Jan Tojnar
6d99109b12
Merge branch 'staging-next' into staging
2020-11-24 05:44:44 +01:00
Florian Klink
bbf3c9483b
Merge pull request #104520 from Izorkin/wsdd
...
wsdd: init at 0.6.2
2020-11-23 23:18:23 +01:00
Frederik Rietdijk
587538d087
Merge staging-next into staging
2020-11-23 18:10:33 +01:00
Izorkin
0aa34a03d0
nixos/tests/samba-wsdd: add check WSD Discovery
2020-11-23 17:13:22 +03:00
zowoq
dbbd289982
nixos/*: fix indentation
2020-11-23 08:42:51 +10:00
zowoq
bbcbaeb54d
nixos/tests/fctix: remove trailing whitespace
2020-11-23 08:42:51 +10:00
Florian Klink
c76891314d
Merge pull request #104094 from flokli/systemd-unified-cgroup-hierarchy
...
systemd: switch to unified cgroup hierarchy by default
2020-11-22 22:35:42 +01:00
Florian Klink
904f124247
Merge pull request #99116 from jslight90/gitlab-13.4.0
...
GitLab 13.0.14 -> 13.6.0
2020-11-22 12:00:03 +01:00
Kai Wohlfahrt
c96f18feee
nixos/openldap: migrate sssd-ldap to new settings
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
db5bb4e26b
nixos/openldap: Fix sssd-ldap test
...
Use this as a test of the migration warnings/functionality.
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
fefc26f844
nixos/openldap: use mkRenamedOptionModule
...
This offers less helpful warnings, but makes the implementation
considerably more straightforward.
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
ce1acd97a7
nixos/openldap: fix path + base64 value types
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
3f892c2174
nixos/openldap: Remove extraConfig options
...
Instead of deprecating, as per PR feedback
2020-11-21 16:13:03 +00:00
Kai Wohlfahrt
9528faf182
nixos/openldap: Allow declarativeContents for multiple databases
2020-11-21 15:39:19 +00:00
Kai Wohlfahrt
1fde3c3561
nixos/openldap: switch to slapd.d configuration
...
The old slapd.conf is deprecated. Replace with slapd.d, and use this
opportunity to write some structured settings.
Incidentally, this fixes the fact that openldap is reported up before
any checks have completed, by using forking mode.
2020-11-21 15:39:19 +00:00
Milan Pässler
d6e0d38b84
nixos/tests/gitlab: add 32 byte secrets
2020-11-21 01:39:08 +01:00
Florian Klink
90d5bdb12f
nixosTests.podman: run default backends, don't run runc rootless
...
The runc backend doesn't work with unified cgroup hierarchy, and it
failing is a known issue.
However, the default backends should work in both rootless and as-root
scenarios, so make sure we test these.
2020-11-20 16:23:35 +01:00
adisbladis
b7b22c5814
dockerTools: Always cross compile for another arch in the cross example
...
The example fails to build on aarch64, so lets cross build for gnu64.
2020-11-20 12:57:58 +01:00
adisbladis
11367b2db1
dockerTools: Add cross compilation test
2020-11-19 18:13:22 +01:00
Florian Klink
f6832971f5
nixosTests.systemd: increase accounting coverage
...
For now, testing IO Accounting is skipped, as it seems to be either
broken, or hard to reproduce in a VM.
2020-11-19 16:56:46 +01:00
Robert Hensing
c790ed8c4e
Merge pull request #96371 from asdf8dfafjk/fcitx_commit
...
fcitx: Add test (Unicode input, table input, m17n)
2020-11-19 11:05:36 +01:00
Jörg Thalheim
58bf9ed18b
nixos/telegraf: fix test
2020-11-18 21:42:01 +01:00
Tim Steinbach
08e6c4d001
Merge pull request #104018 from NeQuissimus/xterm_update
...
xterm: 353 -> 362, add test, add update script
2020-11-17 12:15:19 -05:00
Tim Steinbach
0984125676
Merge pull request #103988 from NeQuissimus/nano_update
...
nano: Update script, test
2020-11-17 12:14:51 -05:00
Oleksii Filonenko
512c3c0a05
maintainers: rename filalex77 -> Br1ght0ne
2020-11-17 13:09:31 +02:00
Tim Steinbach
61e56265c2
xterm: Add test
2020-11-16 22:13:13 -05:00
Tim Steinbach
0338f728c0
nano: Add test
2020-11-16 14:00:34 -05:00
Jörg Thalheim
7534d92648
nixos/telegraf: allow multiple env files
2020-11-14 16:33:50 +01:00
Jörg Thalheim
8edc4619ab
nixos/telegraf: switch to setting types
...
This allows to split up configuration into multiple modules
2020-11-14 16:33:46 +01:00
Symphorien Gibol
6fa1646268
nixos/firejail: allow to pass options to firejail
2020-11-14 12:00:00 +00:00
Martin Weinelt
9309563332
postfix: add passthru tests
2020-11-12 20:00:50 +01:00
Martin Weinelt
1b5a1c697d
nixos/tests/postfix: migrate test to use tlsTrustedAuthorities
...
Fixes: 632104e
("postfix: deprecated `sslCACert` in favour of
`tlsTrustedAuthorities`")
2020-11-12 19:38:27 +01:00
Sarah Brofeldt
ffe4dbf32f
nixos/tests/zfs: Test boot.zfs.forceImportAll
2020-11-11 18:45:14 +01:00
Tim Steinbach
b9c505b7bf
sbt-extras: Add test
2020-11-11 09:32:06 -05:00
Jörg Thalheim
31a0b5dff6
nixos/promtail: fix access to journal
2020-11-10 10:49:27 +01:00
Jan Tojnar
3a5ba30c13
fwupd: 1.4.6 → 1.5.1
...
* https://github.com/fwupd/fwupd/releases/tag/1.5.0
* https://github.com/fwupd/fwupd/releases/tag/1.5.1
* The changelog mentions removed dependency on efivar but we still need the package because it also contains efiboot required dependency. https://github.com/fwupd/fwupd/pull/2485
* Blacklist options were renamed.
* Test firmware was moved to a separate repo. We need to install it or some tests will be skipped. https://github.com/fwupd/fwupd/pull/2330
* Initially, there was an option to configure dbx but in the end, it was removed in favour of bespoke dbxtool. https://github.com/fwupd/fwupd/pull/2061 , https://github.com/fwupd/fwupd/pull/2318 , https://github.com/fwupd/fwupd/pull/2329
* Fwupd now checks hashes of plug-ins and will complain loudly that it is tainted when “invalid” plug-in is loaded (during testing).
* Installed tests complain about not being able to access cdn, even though we are not setting CI_NETWORK env var. We need a patch to fix that.
2020-11-09 22:50:17 +01:00
Frederik Rietdijk
20f001c01e
Merge master into staging-next
2020-11-09 14:33:52 +01:00
Ninjatrappeur
5f5d38e88f
Merge pull request #101218 from andir/unbound-systemd
2020-11-08 16:55:29 +01:00
Andika Demas Riyandi
038497d3b3
nar-serve: init at 0.3.0 ( #95420 )
...
* nar-serve: init at 0.3.0
* nixos/nar-serve: add new module
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-11-06 18:59:51 +01:00
Maximilian Bosch
68726901e1
Merge pull request #94673 from justinas/prom-sql-exporter
...
prometheus-sql-exporter: init at 0.3.0
2020-11-06 17:00:47 +01:00
Maximilian Bosch
428fc4e297
nixos/prometheus-exporters: fix sql
test
2020-11-06 16:43:07 +01:00
Justinas Stankevicius
d447c2413c
nixos/prometheus-sql-exporter: new module
2020-11-06 16:35:38 +01:00
Frederik Rietdijk
99fb79ae84
Merge master into staging-next
2020-11-06 12:51:56 +01:00
Tim Steinbach
6834d33b00
scala: Refactor, add tests
...
Abstract over Scala derivation, add tests for individual versions
2020-11-05 08:32:28 -05:00
Tim Steinbach
3a6feb7ec7
Merge pull request #102850 from NeQuissimus/oh-my-zsh_update
...
oh-my-zsh: Update script, test
2020-11-05 07:28:24 -05:00
Jan Tojnar
a821be7531
Merge branch 'master' into staging-next
2020-11-05 09:42:47 +01:00
Tim Steinbach
9813539969
oh-my-zsh: Add test
2020-11-04 20:37:50 -05:00
Tim Steinbach
18d375cae7
Merge pull request #102817 from NeQuissimus/ammonite_update
...
ammonite: Add test reference, update script
2020-11-04 18:10:07 -05:00
Tim Steinbach
7e062659e9
ammonite: Add test reference, update script
2020-11-04 12:57:58 -05:00
Tim Steinbach
ac9ba67ec5
Merge pull request #102642 from NeQuissimus/sbt_1_4_2
...
SBT: Add test, update script, 1.4.0 -> 1.4.2
2020-11-04 12:49:34 -05:00
Tim Steinbach
23be792bad
sbt: Add test
2020-11-04 11:30:36 -05:00
Frederik Rietdijk
10c57af49c
Merge staging-next into staging
2020-11-04 09:28:07 +01:00
Maximilian Bosch
d6b804db2f
Merge pull request #102530 from Ma27/fix-initrd-network-ssh-test
...
nixos/initrd-network-ssh: fix test
2020-11-04 00:01:10 +01:00
Andreas Rammhold
2aa64e5df5
nixos/unbound: add option to configure the local control socket path
...
This option allows users to specify a local UNIX control socket to
"remote control" the daemon. System users, that should be permitted to
access the daemon, must be in the `unbound` group in order to access the
socket. When a socket path is configured we are also creating the
required group.
Currently this only supports the UNIX socket mode while unbound actually
supports more advanced types. Users are still able to configure more
complex scenarios via the `extraConfig` attribute.
When this option is set to `null` (the default) it doesn't affect the
system configuration at all. The unbound defaults for control sockets
apply and no additional groups are created.
2020-11-03 19:21:25 +01:00
Andreas Rammhold
b67cc6298e
nixos/tests/unbound: add test to verify control sockets work
2020-11-03 19:21:24 +01:00
Andreas Rammhold
a040a8a2e3
nixos/tests/unbound: init
2020-11-03 19:21:24 +01:00
Kim Lindberger
cf2d180a12
Merge pull request #99906 from talyz/keycloak
...
nixos/keycloak: Init
2020-11-03 18:31:19 +01:00
Janne Heß
54217cac69
nixos/promtail: Add a promtail module
2020-11-03 14:36:56 +01:00
Frederik Rietdijk
470f05cb5d
Merge staging-next into staging
2020-11-03 12:06:41 +01:00
Maximilian Bosch
819b0f4bb8
nixos/initrd-network-ssh: fix test
...
The test relied on moving `initrd` secrets from the store into the
`initrd` which was fine here as it's only an integration test and not a
production environment.
However, this broke in 20.09 when support for this was dropped[1]. To make
sure that the snakeoil key used as hostkey for `sshd` here actually gets
copied into the VM, I added a small script for this that takes care of
this process while building the initial ramdisk.
[1] d930466b77
2020-11-02 21:18:57 +01:00
Graham Christensen
75a2bc94fa
Merge pull request #101192 from grahamc/nixpkgs-location-basic-auth
...
nginx: support basic auth in location blocks
2020-11-02 09:44:54 -05:00
Graham Christensen
a4b86b2bf5
nginx: test basic auth
2020-11-02 08:16:01 -05:00
Antoine Eiche
81063ee414
nixos.tests.systemd-journal: add basic systemd-journal-gatewayd test
...
This test allows to ensure the systemd-journal-gatewayd service is
responding correcly when the NixOS option `enableHttpGateway` is set.
The test has not been added into the main systemd test because a
graphical stack is not required (and rebuilding the graphical stack on
systemd change is huge).
2020-11-02 09:07:52 +01:00
Andreas Rammhold
e4865130cf
nixos/tests/prometheus: remove invalid thanos config flag
...
Upstream has apparently changed the configuration format and is now
throwing an error when the `encrypt_sse` option is set. According to the
current version of the documentation encryption moved to the
`sse_config` option that (is optional and) offers all the features we do
not use or care about for this test.
2020-11-01 14:33:11 +01:00
Frederik Rietdijk
83dde6c52c
Merge staging-next into staging
2020-11-01 10:11:12 +01:00
rnhmjoj
f7904ca45b
nixos/tests/firefox: add audio subtest
2020-10-31 20:53:15 +01:00
talyz
89e83833af
nixos/keycloak: Add support for MySQL and external DBs with SSL
...
- Add support for using MySQL as an option to PostgreSQL.
- Enable connecting to external DBs with SSL
- Add a database port config option
2020-10-29 12:47:10 +01:00
talyz
31fe90d6ef
nixos/keycloak: Add test
2020-10-29 12:07:49 +01:00
Vladimír Čunát
0b32140b34
Merge branch 'staging-next' into staging
2020-10-28 18:48:56 +01:00
Linus Heckemann
2b06415ca1
Merge pull request #101370 from m1cr0man/ssl-test-certs
...
nixos/acme: Permissions and tests fixes
2020-10-28 17:21:57 +01:00
Andreas Rammhold
db0fe5c3eb
Merge branch master into staging to fix eval error
...
This fixes the eval error of the small (and "big"?) NixOS test set that
was fixed in 1088f05
& eba8f542
.
2020-10-28 03:03:27 +01:00
Tim Steinbach
c851af868f
docker-edge: Fix test
2020-10-26 16:25:37 -04:00
Benjamin Hipple
f98312fcb5
Merge pull request #79759 from lopsided98/syncoid-no-root
...
nixos/syncoid: automatically setup privilege delegation
2020-10-25 10:40:33 -04:00
Scott Worley
f99b6369b1
nixos/tests/hadoop: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
c25ccf6b4b
nixos/tests/docker-tools: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
f6ecfdac39
nixos/tests/bitcoind: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
0812bb843d
nixos/tests/corerad: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
ad96a2e52b
nixos/tests/cfssl: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
8adaa71b52
nixos/tests/caddy: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
ecbd2a8bc1
nixos/tests/cadvisor: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
eff7338d98
nixos/tests/convos: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
1abfb504b1
nixos/tests/hitch: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
19034ed7a4
nixos/tests/metabase: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
d16e547f2e
nixos/tests/wordpress: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
6e46a88dfb
nixos/tests/unit-php: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
726950775d
nixos/tests/sympa: Use curl --fail
2020-10-25 11:01:31 +01:00
Scott Worley
238dbb4517
nixos/tests/limesurvey: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
1d5130a97f
nixos/tests/leaps: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
22f52cdb79
nixos/tests/osrm-backend: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
1332215d59
nixos/tests/php: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
8bf2635afc
nixos/tests/oci-containers: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
7b51945dcb
nixos/tests/trickster: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
ebeb8d7287
nixos/tests/sslh: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
8a9554bf9b
nixos/tests/service-runner: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
a6a9e3188d
nixos/tests/spacecookie: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
1959ab707c
nixos/tests/victoriametrics: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
c69d4eda3d
nixos/tests/uwsgi: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
ba0eda6cc5
nixos/tests/trezord: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
47fd1c5356
nixos/tests/morty: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
4fc64f27c7
nixos/tests/paperless: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
bbd1f02b16
nixos/tests/hound: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
bc4f47c19a
nixos/tests/go-neb: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
d58ef9d20b
nixos/tests/peerflix: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
7fbe33fde3
nixos/tests/nzbget: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
e9c61e813a
nixos/tests/mailcatcher: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
e90e600ebb
nixos/tests/upnp: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
416d9af81b
nixos/tests/neo4j: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
6cd28e4f07
nixos/tests/mediawiki: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
0cb41a253f
nixos/tests/trac: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
5e6dfb17f9
nixos/tests/haproxy: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
d2eec4bb11
nixos/tests/prometheus: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
a91aa489a6
nixos/tests/matrix-synapse: Use curl --fail
2020-10-25 11:01:30 +01:00
Scott Worley
3313487997
nixos/tests/syncthing: Use curl --fail
2020-10-25 11:01:29 +01:00
Vladimír Čunát
2f6b00b15e
Merge branch 'staging-next' into staging
2020-10-25 09:47:04 +01:00
rnhmjoj
d5d6f619d4
nixosTests.powerdns: test a complete setup
...
The test now check the following things:
- Configuring a MySQL server to hold the records
- Loading the PowerDNS schema from file
- Adding records through pdnsutil
2020-10-24 16:41:34 -04:00
WORLDofPEACE
ef803ab1bb
Merge pull request #100199 from worldofpeace/seeded-config
...
nixos/tools: add desktopConfiguration option (to seed configuration into configuration.nix)
2020-10-24 11:35:33 -04:00
Fabian Möller
253954232e
nixosTests.ferm: fix network timeout
...
The subtests could start before the server has configured it's IP
addresses and therefore timeout.
2020-10-23 18:12:45 -07:00
Fabian Möller
e83bd25aec
nixosTests.certmgr: fix systemd test
...
Nginx fails to start, because it can't read the certificate file. This
happens because PrivateTmp is set for the service, which makes the
system wide /tmp inaccessible.
2020-10-23 18:09:50 -07:00
Jan Tojnar
0703985bef
gnomeExtensions.gsconnect: 41 → 43
...
https://github.com/andyholmes/gnome-shell-extension-gsconnect/releases/tag/v42
https://github.com/andyholmes/gnome-shell-extension-gsconnect/releases/tag/v43
- Added installed tests.
- Corrected license.
2020-10-24 01:18:44 +02:00
Jan Tojnar
3a73543401
Merge pull request #93725 from nglen/pipewire
2020-10-24 00:05:33 +02:00
WilliButz
993437d0d6
Merge pull request #96511 from Zopieux/rtl_433_prom
...
Add rtl_433 Prometheus exporter
2020-10-23 23:24:38 +02:00
Alexandre Macabies
121bc17ab9
nixos/prometheus-rtl_433-exporter: new module
2020-10-23 20:33:42 +02:00
Lucas Savva
dad06fb922
nixos/tests/acme: Hard code test certificates
...
The added README.md explains why this has been done.
2020-10-22 14:06:19 +01:00
Maximilian Bosch
1308817e05
nixos/hydra: remove hydra-migration upgrade path
...
This should NOT be backported to 20.09!
When 21.03 is released, the DB changes are about a year old and
operators had two release cycles for the upgrade. At this point it
should be fair to remove the compat layer to reduce the complexity of
the module itself.
2020-10-21 18:03:04 +02:00
aszlig
8ea168db1f
nixos/tests/avahi: Fix evaluation
...
In commit a61ca0373b
(#100267 ), the avahi
test expression got an additional attribute, but instead of wrapping the
function, the attributes were introduced by nesting the function one
level deeper.
To illustrate this:
Before: attrs: <testdrv>
After: newattrs: attrs: <testdrv>
So when instantiating tests.avahi.x86_64-linux from nixos/release.nix we
get "value is a function while a set was expected" instead of the
derivation.
I simply re-passed the attributes to make-test-python.nix, since the
function already allows (via "...") arbitrary attributes to be passed.
The reason why I'm pushing this directly to master is because evaluation
for the test is already broken and the worst that could happen here is
that things are *still* broken.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @flokli, @doronbehar
2020-10-20 17:38:20 +02:00
Florian Klink
9d0d99f05b
Merge pull request #95746 from Mic92/cloud-init
...
cloud-init: 0.7.9 -> 20.2 (python3!)
2020-10-15 22:57:46 +02:00
Florian Klink
a299fc2351
nixosTests.cloud-init: test changing hostname actually works
2020-10-15 01:03:13 +02:00
Florian Klink
00347e9537
nixos/cloud-init: actually test ssh'ing, also, with cloud-init-created user
2020-10-15 00:03:33 +02:00
Maximilian Bosch
b199005979
nixos/tests/systemd-networkd-vrf: fix eval
...
The `Metric`-values of routes defined via `networkd` must be integers.
2020-10-13 22:39:02 +02:00
Lassulus
53f810cb4b
Merge pull request #100141 from xaverdh/xmonad-correct-path
...
xmonad: put the correct xmonad binary in PATH
2020-10-13 19:01:56 +02:00
Doron Behar
a17c7a9973
Merge pull request #100271 from berbiche/cagebreak-1.4.3
2020-10-13 19:07:18 +03:00
WORLDofPEACE
99d5111246
nixos/tools: add desktopConfiguration option
...
We now have a GNOME ISO so it would be nice to seed that one
with configuration on how to enable it.
2020-10-12 22:03:16 -04:00
Nicolas Berbiche
f103463d68
cagebreak: use wayinfo for Wayland test
2020-10-12 20:31:53 -04:00
Michael Weiss
971f0b45ef
nixos/networking: Add a read-only option for the FQDN
...
This is a convenience option that can be used to quickly obtain the
configured FQDN.
2020-10-12 15:27:31 +02:00
Dominik Xaver Hörl
0a42b8cac6
nixosTests.xmonad: don't rely on xmonad being "vanilla" after restart
...
The old (slightly broken) behavior of the xmonad module was to put the vanilla xmonad binary into PATH. This was changed to put the users xmonad into PATH instead.
But since the config for the xmonad test uses `launch` (to avoid xmonads self-recompilation logic), it now can't handle the `--restart` flag anymore. So instead use a key binding for restarting, and let xmonad spawn a new xterm on restart.
The key binding has to be explicitly added because the default binding
will shell out to `xmonad --restart` and therefore not work with the `launch` entrypoint.
2020-10-12 14:48:07 +02:00
Timo Kaufmann
787ec15440
Merge pull request #94187 from fgaz/ft2-clone/1.27
...
ft2-clone: add a test
2020-10-12 11:06:04 +02:00
Florian Klink
a1cb02148b
Merge pull request #99912 from m1cr0man/ocspfix
...
nixos/acme: Fix ocspMustStaple option and add test
2020-10-11 23:44:33 +02:00
Florian Klink
a61ca0373b
nixosTests.avahi: add avahi-with-resolved
...
This allows testing avahi works with resolved being enabled, as a
regression test for https://github.com/NixOS/nixpkgs/pull/99530 .
2020-10-11 20:46:21 +02:00