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
Kevin Cox
8b33d575e4
Merge pull request #98084 from turion/patch-5
...
agda.section.md: Fix header and enumeration
2020-10-11 07:29:58 -04:00
Timo Kaufmann
19ac436cf5
Merge pull request #93450 from ardumont/gerbera-service
...
mediatomb: Improve service + add gerbera support and tests
2020-10-08 14:20:07 +02:00
Antoine R. Dumont (@ardumont)
3248506a00
mediatomb/gerbera: Improve firewall rules and open firewall option
...
This changes the default behavior which opened by default the firewall rules.
The users now need to declare explicitely they want to open the firewall.
2020-10-08 08:59:49 +02:00
Antoine R. Dumont (@ardumont)
9fdd11c6a8
mediatomb/gerbera: Bootstrap tests on service
...
This exposes 2 scenario running the mediatomb service:
- one running with the unmaintained mediatomb package
- one running with the new maintained gerbera package
2020-10-08 08:59:49 +02:00
Anderson Torres
8aeaba64d7
Merge pull request #99604 from berbiche/cagebreak
...
cagebreak: init at 1.4.2
2020-10-08 00:05:57 -03:00
elseym
533560de5b
nixos/murmur: add option environmentFile
for injecting secrets
...
Secrets are injected from the environment into the rendered
configuration before each startup using envsubst.
The test now makes use of this feature for the server password.
2020-10-07 13:35:50 +02:00
Lucas Savva
1edd91ca09
nixos/acme: Fix ocspMustStaple option and add test
...
Some of the testing setup for OCSP checking was wrong and
has been fixed too.
2020-10-07 00:18:13 +01:00
Nicolas Berbiche
c9cea8264e
cagebreak: init at 1.4.2
2020-10-05 22:18:44 -04:00
Tim Steinbach
03197f94ce
tests/hardened: Fix usage with 5.8
...
Linux >= 5.8 improved /proc mount options. `hidepid=2` is now
displayed as `hidepid=invisible`
2020-10-05 09:07:21 -04:00
Vladimír Čunát
30e98a4fd6
nixosTests.ec2-config: avoid an evaluation problem
...
The problem was introduced by commit 97a32bc
(within PR #79696 ).
nixos/tests/common/ec2.nix:6:17 called with unexpected argument 'meta'
2020-10-03 20:06:26 +02:00
Maximilian Bosch
6148b0e59f
Merge pull request #99079 from mayflower/openvpn-exporter-upstream
...
nixos/prometheus-exporters/openvpn: init
2020-09-30 15:37:03 +02:00
Linus Heckemann
a560936cab
nixos/prometheus-exporters/openvpn: init
...
Co-Authored-By: Franz Pletz <fpletz@fnordicwalking.de>
Co-Authored-By: Robin Gloster <mail@glob.in>
2020-09-29 10:53:04 +02:00
Emery Hemingway
e7d0500cb3
nixos/rsyncd: convert module to an INI generator
2020-09-29 08:07:53 +02:00
WilliButz
e736a990c1
Merge pull request #98746 from mayflower/postfix-exporter-group
...
prometheus postfix exporter: misc
2020-09-27 22:37:38 +02:00
rnhmjoj
d7ae8ab35f
nixos/tests/ncdns: more tests and disable DNSSEC
...
- DNSSEC is currently disable because it's failing
- Separately test .bit domain on ncdns and pdns-recursor
- Test for the SOA record of the bit. zone
2020-09-25 20:56:15 +02:00
Linus Heckemann
0e3f631831
prometheus postfix exporter test: check showq
2020-09-25 14:27:29 +02:00
WilliButz
403c215bdd
nixos/codimd: add option environmentFile
for injecting secrets
...
Secrets are injected from the environment into the rendered
configuration before each startup using envsubst.
The test now makes use of this feature for the db password.
2020-09-23 11:59:44 +02:00
Martin Weinelt
76aeb20d91
nixosTests.magnetico: wait for open port and make curl actually fail
2020-09-22 23:27:12 -07:00