Commit Graph

4676 Commits

Author SHA1 Message Date
ajs124
9a20d75689
Merge pull request #166442 from mweinelt/botamusique
botamusique: use nodejs-14_x
2022-03-31 00:47:50 +02:00
Ember 'n0emis' Keske
313b1dc9d0
nixos/netbox: add nixos test 2022-03-30 22:24:34 +02:00
Janne Heß
a3e0698bf6
nixos/systemd: Switch to ManagerEnvironment=
This accomplishes multiple things:
- Allows us to start systemd without stage-2-init.sh. This was not
  possible before because the environment would have been wrong
- `systemctl daemon-reexec` also changes the environment, giving us
  newer tools for the fs packages
- Starts systemd in a fully clean environment, making everything more
  consistent and pure
2022-03-30 20:24:27 +02:00
Martin Weinelt
d63e5c5d40
nixosTests.botamusique: satisfy pyradios dns lookup
Since pyradio 1.0 the library does a DNS lookup on import, so we add the
required hostname into /etc/hosts to satisfy that lookup.
2022-03-30 19:11:43 +02:00
Matt Layher
bb22a2debc nixos/zrepl: note about systemd unit, add snapshot test
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-03-30 08:55:15 -07:00
Robert Hensing
04c9dd89bf nixos/tests/nixops: Remove sanitizeDerivationName 2022-03-30 10:30:20 +02:00
Florian Brandes
4c1596384c
pgadimin4: 6.5 -> 6.7
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-03-29 15:50:16 +02:00
Scott Worley
13c6b4aee5 nixos/tests/nar-serve: Fix after nix version bump 2022-03-28 09:05:20 -07:00
Nick Cao
e85e545dbd
powerdns: 4.3.1 -> 4.6.1 2022-03-28 22:05:31 +08:00
Robert Hensing
aa0f27abb0 treewide: machine -> nodes.machine 2022-03-28 14:11:58 +02:00
Jan Tojnar
8e251dfd7a nixosTests.gnome: fix tests
GNOME Terminal is no longer installed by default,
breaking the tests that depend on it.
Let’s re-add it for now to unbreak them.
2022-03-27 15:59:11 +02:00
Janne Heß
452102db8f
nixos/stage-2-init: Clean up legacy commands
We can perform most of the mkdir/ln/rm using systemd-tmpfiles
instead which cleans up the script.

/bin and /home are created by their activation script snippets

usbfs is deprecated and unused.

hwclock seems to be automatically executed by systemd on startup.

The mkswap to prevent hibernation cycles seems to be executed by systemd
as well since the provided regression tests succeeds.
2022-03-27 13:51:02 +02:00
Sandro
c2bc9e6c56
Merge pull request #165009 from fgaz/sfxr-qt/1.5.0 2022-03-27 11:39:40 +02:00
Janne Heß
fae56a205e
Merge pull request #165494 from helsinki-systems/upd/xfsprogs
xfsprogs: 5.13.0 -> 5.14.2
2022-03-26 18:31:11 +01:00
Sandro
112a390c02
Merge pull request #165435 from JJJollyjim/term-maintainers 2022-03-26 12:33:12 +01:00
Vladimír Čunát
b9eab51eed
Merge #160343: GNOME: 41 -> 42 2022-03-26 09:16:07 +01:00
Silvan Mosberger
5a67e9db61
Merge pull request #133532 from Infinisil/systemd-unit-dirs 2022-03-25 19:05:35 +01:00
Silvan Mosberger
c70a466d21 nixos/systemd: Allow creation of unit directories
This patch allows creation of files like
/etc/systemd/system/user-.slice.d/limits.conf with

    systemd.units."user-.slice.d/limits.conf" = {
      text = ''
        [Slice]
        CPUAccounting=yes
        CPUQuota=50%
      '';
    };

which previously threw an error

Also renames the systemd-unit-path test to sytsemd-misc, and extends it to
test that `systemd.units` can handle directories. In this case we make
sure that resource limits specified in user slices apply.
2022-03-25 17:47:44 +01:00
Maciej Krüger
511e56d76c
Merge pull request #140406 from mkg20001/mvn 2022-03-25 15:08:44 +01:00
Jan Tojnar
053ecedfe0 gjs.tests: fix warning
The tests complained:

/nix/store/nm3nf5y4hzgmy00lw5s6ls68j38y84y0-gjs-1.72.0-installedTests/libexec/installed-tests/gjs/scripts/testCommandLineModules.sh: line 90: gjs-console: command not found

But they still passed.
2022-03-25 15:02:49 +01:00
Robert Hensing
ce5a33e62b
Merge pull request #164660 from ncfavier/tests-restrict-arguments
nixos/testing: restrict arguments to makeTest
2022-03-24 17:01:47 +01:00
pennae
67281c4d29
Merge pull request #165285 from jpathy/patch-2
networking.greTunnels: Add ttl option
2022-03-24 08:10:23 +00:00
Naïm Favier
a8296e7537
nixos/earlyoom: bring the module up to date (#163663)
* nixos/earlyoom: bring the module up to date

Removes deprecated option `ignoreOOMScoreAdjust`, introduces `killHook`
as a replacement for `notificationsCommand`, and adds an `extraArgs`
option for things not covered by the module.

* nixos/earlyoom: add nixos test

* nixos/earlyoom: add reportInterval

Allows setting the interval for logging a memory report. Defaults to
3600 following upstream
     (https://github.com/rfjakob/earlyoom/blob/master/earlyoom.default#L5)
to avoid flooding logs.

* nixos/earlyoom: add free{Mem,Swap}KillThreshold

Fixes https://github.com/NixOS/nixpkgs/issues/83504
2022-03-24 15:34:09 +08:00
ajs124
16bce5f2fe nixosTests.installer.lvm: adjust root LV size
install ran out of disk space after 5b820f714d
2022-03-24 01:15:22 +01:00
Bernardo Meurer
25d1efa97e
Merge pull request #165386 from zhaofengli/moonraker-2022-03-10
moonraker: unstable-2021-12-05 -> unstable-2022-03-10
2022-03-23 10:33:10 -07:00
Jamie McClymont
823c7cac38 nixos/tests/terminal-emulators: fix nonexistant stdenv.lib in maintainers 2022-03-24 00:19:15 +13:00
Francesco Gazzetta
b9bc59d832 sfxr-qt: add nixos test 2022-03-23 10:59:09 +01:00
Will Fancher
2431347042 systemd-initrd: Test autoResize 2022-03-22 21:28:51 -04:00
Will Fancher
3365666840 systemd-initrd: Basic test case 2022-03-22 21:28:51 -04:00
Benjamin Staffin
6f5636223c keycloak-metrics-spi: init at 2.5.3 2022-03-22 19:57:11 -04:00
Zhaofeng Li
b1431381d0 nixos/tests/moonraker: init 2022-03-22 15:35:39 -07:00
jpathy
19bb72c070 networking.greTunnels: Add ttl option 2022-03-23 00:24:44 +05:30
aszlig
de4a69b2de
nixos/tests/avahi: Fix running background command
In https://github.com/NixOS/nixpkgs/pull/142747, the implementation
behind Machine.execute() has been changed to pipe all the command's
output into base64 on the guest machine.

Unfortunately this means that base64 is blocking until stdout is closed,
which in turn means that we now need to make sure that whenever we run a
program in background via "&" we also need to make sure to close stdout,
which we do by redirecting stdout to stderr.

Signed-off-by: aszlig <aszlig@nix.build>
2022-03-22 17:24:13 +01:00
Luflosi
41d45d674a
nixos/ipfs: add systemd hardening
Use the hardened systemd unit from upstream.
2022-03-22 11:12:14 +01:00
Benjamin Staffin
34006ebc9d Merge remote-tracking branch 'origin/master' into mvn 2022-03-21 18:37:45 -04:00
Robert Hensing
6c469679f6 Merge remote-tracking branch 'upstream/master' into tests-restrict-arguments 2022-03-21 23:17:17 +01:00
Robert Hensing
eb8b70c020 nixos: Make config.nix.enable pass test 2022-03-21 23:14:10 +01:00
Jörg Thalheim
9b2939da63
Merge pull request #164260 from Mic92/nix-ld
nix-ld: init at 1.0.0 + nixos module
2022-03-21 18:42:38 +00:00
Manuel Bärenz
9046ecff84
Merge pull request #163608 from turion/dev_fix_keepassxc_163482
nixosTests.keepassxc: Add regression test for #163482
2022-03-21 12:24:32 +01:00
Janne Heß
8e60f86840
Merge pull request #164034 from helsinki-systems/clean/stc
nixos/switch-to-configuration: Major script cleanup
2022-03-21 12:13:23 +01:00
Jörg Thalheim
a98ea7e6f8 nix-ld: init at 1.0.0 + nixos module 2022-03-21 11:15:32 +01:00
Izorkin
41f28e9fbc nixos/tests: add mastodon test 2022-03-20 21:01:03 +01:00
Sandro
bf7837529e
Merge pull request #103733 from JJJollyjim/term-tests 2022-03-20 18:57:18 +01:00
Artturi
8cfcf8c9a9
Merge pull request #156200 from B4dM4n/nixos-tests-wine 2022-03-20 17:37:38 +02:00
Janne Heß
2473cce829
nixos/switchTest: Also test boot/switch actions 2022-03-20 13:04:24 +01:00
Janne Heß
5c00fe6b1b
nixos/switchTest: Also test the os-release parser 2022-03-20 13:01:11 +01:00
Jamie McClymont
c9e1475085 nixos/tests/terminal-emulators: fix test for st
some change in the last 24 hours altered the behaviour of st such that
it now dies with a non-zero exit code when the shell exits, so kill is
now necessary
2022-03-20 16:48:06 +13:00
Ninjatrappeur
05417a66e7
Merge pull request #164398 from NinjaTrappeur/nin/pleroma-wrappers 2022-03-19 21:28:40 +01:00
Stig
575ab73913
Merge pull request #163499 from Izorkin/update-peertube
peertube: 4.1.0 -> 4.1.1
2022-03-19 15:08:25 +01:00
Manuel Bärenz
2ac527530e nixosTests.keepassxc: Add regression test for #163482 2022-03-18 16:47:34 +01:00
pennae
e8bfc4d4a8
Merge pull request #164367 from jpathy/patch-2
networking.greTunnels: support ip6gre*
2022-03-18 15:43:03 +00:00
Jamie McClymont
842e547c17 nixos/tests: add integration tests for terminal emulators 2022-03-18 19:49:13 +13:00
Naïm Favier
ca8c877f8c
nixos/tests: fix some evaluation errors
Fixes errors caught by "nixos/testing: restrict arguments to makeTest" as
well as some unrelated errors and warnings.
2022-03-18 02:44:11 +01:00
Félix Baylac-Jacqué
e7f6370701 nixosTests.pleroma: fix test, remove toot patch
It was originally impossible to login in toot without having an
interactive shell. I opened https://github.com/ihabunek/toot/pull/180
upstream to fix that and fetch this patch for this test.

The author decided to fix the issue using a slightly different
approach at a3eb5dca24

Because of this upstream fix, our custom patch does not apply anymore.
Using that stdin-based login upstream feature.
2022-03-17 15:22:14 +01:00
jpathy
0a62de4cd5 networking.greTunnels: support ip6gre* 2022-03-17 17:59:36 +05:30
Maximilian Bosch
5226029af8
Merge pull request #164313 from Ma27/drop-nextcloud21
nextcloud21: remove
2022-03-16 17:59:53 +01:00
Artturi
b734f40478
Merge pull request #154004 from illustris/hadoop 2022-03-16 14:05:56 +02:00
Silvan Mosberger
47f2ee3d55
Merge pull request #160075 from ConnorBaker/spark_3_2_1
spark: init 3.2.1 and test on aarch64-linux
2022-03-16 02:13:03 +01:00
Ryan Mulligan
0ab73f9a3f
Merge pull request #162535 from astro/pacemaker
pacemaker: init
2022-03-15 16:06:56 -07:00
Maximilian Bosch
15876a546c
nextcloud21: remove
EOLed by upstream in 2022-02[1].

[1] https://docs.nextcloud.com/server/23/admin_manual/release_schedule.html#older-versions
2022-03-15 21:26:46 +01:00
Franz Pletz
018a959be7
Merge pull request #160750 from Izorkin/update-prosody 2022-03-15 19:07:15 +01:00
Jonathan Ringer
6af7f6eb78
tests/step-ca: give name, fix acme usage 2022-03-14 22:45:02 -07:00
Jonathan Ringer
1d79ffcb68
tests/peertube: update redis usage 2022-03-14 22:44:13 -07:00
davidak
d2c95bb666
Merge pull request #163433 from JJJollyjim/bcachefs
bcachefs: unstable-2022-01-12 -> unstable-2022-03-09
2022-03-14 15:34:43 +01:00
Jamie McClymont
4ee9b84ec5 nixos/bcachefs: re-enable encryption in test 2022-03-14 21:49:24 +13:00
Sander van der Burg
43543a6bbc
Merge pull request #163716 from svanderburg/fixtomcat
nixos/tomcat: configure default group and fix broken default package …
2022-03-13 21:43:45 +01:00
pennae
aa7b129708
Merge pull request #154113 from pennae/systemd-escaping
nixos: add functions and documentation for escaping systemd Exec* directives
2022-03-13 19:57:32 +00:00
Luke Granger-Brown
1853015550 nixos/pam: add support for pam-ussh
pam-ussh allows authorizing using an SSH certificate stored in your
SSH agent, in a similar manner to pam-ssh-agent-auth, but for
certificates rather than raw public keys.
2022-03-13 17:31:46 +00:00
Sander van der Burg
86fafe5f50 nixos/tomcat: add basic test case using the example app 2022-03-13 14:31:43 +01:00
pennae
40a35299fa nixos: add functions and documentation for escaping systemd Exec* directives
it's really easy to accidentally write the wrong systemd Exec* directive, ones
that works most of the time but fails when users include systemd metacharacters
in arguments that are interpolated into an Exec* directive. add a few functions
analogous to escapeShellArg{,s} and some documentation on how and when to use them.
2022-03-12 00:48:52 +01:00
Janne Heß
bc58430068
nixos/switch-to-configuration: Fix reloading of stopped services 2022-03-11 14:05:19 +01:00
Janne Heß
c96180c53f
nixos/switch-to-configuration: Ignore some unit keys
Some unit keys don't need to restart the service to make them effective.
Reduce the amount of service restarts by ignoring these keys
2022-03-11 13:30:03 +01:00
Janne Heß
acb535fb61
nixos/switchTest: Also test targets 2022-03-11 13:30:03 +01:00
illustris
e1017adb32 nixos/hadoop: add module options for commonly used service configs 2022-03-11 14:26:57 +05:30
illustris
bef71d7c53 nixos/hadoop: use CGroups to enforce container limits by default 2022-03-11 14:18:44 +05:30
illustris
716b0dfaaf nixos/hadoop: add gateway role 2022-03-11 14:18:44 +05:30
illustris
d39056d165 nixos/hadoop: fix tests for hadoop 2 and 3.2 2022-03-11 14:18:44 +05:30
illustris
8aeb60f034 nixos/hadoop: use FairScheduler by default 2022-03-11 14:18:44 +05:30
illustris
799dc66cf1 hadoop: add passthrough tests 2022-03-11 14:18:44 +05:30
illustris
0f97c9ae82 nixos/hadoop: disable openFirewall by default 2022-03-11 14:18:44 +05:30
pennae
af0f3944bd
Merge pull request #163009 from scvalex/nbd-service
nbd: add nbd service and test
2022-03-11 01:02:10 +00:00
Martin Weinelt
76721f5e5e
Merge pull request #159986 from NukaDuka/pve_exporter 2022-03-10 22:41:45 +01:00
Martin Weinelt
44c88e44c9
Merge pull request #162992 from mweinelt/minidlna 2022-03-10 22:34:42 +01:00
Izorkin
a822d0c075
nixos/tests/peertube: add check peertube cli 2022-03-09 23:43:48 +03:00
davidak
f02094df72
Merge pull request #161837 from bobby285271/appstream
appstream: 0.14.4 → 0.15.2
2022-03-09 17:29:57 +01:00
pennae
06c57317c2
Merge pull request #146653 from DarkDNA/nixos/fix-systemd-exporter/extraFlags
nixos/prometheus/systemd: Implement the extraFlags config option.
2022-03-09 16:12:32 +00:00
Alexandru Scvortov
252f20aaa2 nbd: add programs.nbd, services.nbd, and test
Changes:

nbd: Update nixos/modules/services/networking/nbd.nix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>

nbd: Update nixos/modules/services/networking/nbd.nix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>

nbd: Update nixos/tests/nbd.nix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>

nbd: generalize options in nbd service

nbd: harden service

nbd: Update nixos/modules/services/networking/nbd.nix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>

nbd: Update nixos/modules/services/networking/nbd.nix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>

nbd: refactor code a bit and BindPaths automatically
2022-03-09 12:00:47 +00:00
Astro
70c1e849c0 nixos/tests/pacemaker: init 2022-03-09 01:19:10 +01:00
Maciej Krüger
d8bae875e0
nixosTests.haste-server: init 2022-03-07 23:38:25 +01:00
Kim Lindberger
b71a8e2383
Merge pull request #162095 from midchildan/fix/keycloak-mysql
nixos/keycloak: fix database provisioning issues
2022-03-07 20:13:01 +01:00
Timo Kaufmann
94ea3a8899
Merge pull request #160777 from LunNova/improve-input-remapper-module
nixos/input-remapper: Fix missing [], add more options, add test
2022-03-07 18:51:08 +01:00
Luna Nova
0643620420
nixos/input-remapper: document pkexec workaround in test 2022-03-07 08:39:15 -08:00
Jos van Bakel
daab8fb3af
nixos/nats: fix test 2022-03-07 17:36:21 +01:00
Luna Nova
865e0df2fc
nixos/input-remapper: add nixos test for input-remapper 2022-03-07 08:31:40 -08:00
Connor Baker
05c12ee78c spark: init 3.2.1 and test on aarch64-linux 2022-03-07 09:56:19 -05:00
Robert Scott
97572a798c nixosTests.minidlna: fix by performing requests by IP
a little ugly, but minidlna now checks requests Host: header and
only accepts requests using an IPv4 address to avoid DNS-rebinding
attacks.
2022-03-06 13:08:19 +00:00
piegames
be4a0e6e40
Merge pull request #158605 from mweinelt/synapse-rfc42
nixos/matrix-synapse: migrate to rfc42 settings and formatter
2022-03-05 15:23:52 +01:00
pacien
0091e3198a nixos/taskserver: do not open firewall port implicitly
This adds an option `services.taskserver.openFirewall` to allow the user
to choose whether or not the firewall port should be opened for the
service. This is no longer the case by default.

See also https://github.com/NixOS/nixpkgs/issues/19504.
2022-03-05 15:15:50 +01:00
piegames
cd7e516b26
Merge pull request #156858: nixos/polkit: don't enable by default 2022-03-05 14:48:35 +01:00
Martin Weinelt
9c465fc4e6
nixos/tests/home-assistant: drop mqtt tests
With Home Assistant 2022.3.0 the MQTT configuration cannot be done
declaratively anymore, so this test scenario has been rendered moot.
2022-03-05 02:06:50 +01:00
Martin Weinelt
550fc51d7b
nixos/tests/pantalaimon: use synapse setting option 2022-03-04 23:57:32 +01:00
Martin Weinelt
88ddbee02e
nixos/tests/mjolnir: use synapse setting option 2022-03-04 23:57:31 +01:00
Martin Weinelt
f89769055b
nixos/tests/matrix-appservice-irc: use synapse settings option 2022-03-04 23:57:31 +01:00
Martin Weinelt
f8fff1c1a6
nixos/tests/matrix-synapse: use settings option 2022-03-04 23:57:30 +01:00
Janne Heß
f6ad15fd8c
nixos/switchTest: Make checks more precise 2022-03-03 20:56:37 +01:00
Janne Heß
1def557525
nixos/switch-to-configuration: Document and test socket-activated services 2022-03-03 20:49:20 +01:00
Robert Hensing
1cf9650148
Merge pull request #162612 from hercules-ci/update-nixopsUnstable
nixopsUnstable: 2.0.0-pre (2021-12-01) -> 2.0.0-pre (2022-02-21)
2022-03-03 16:14:19 +01:00
Robert Hensing
d2c3410efd nixopsUnstable -> nixops_unstable
Conform to https://nixos.org/manual/nixpkgs/unstable/#sec-package-naming
2022-03-03 12:50:15 +01:00
Jörg Thalheim
d34f7085a9
Merge pull request #162582 from JJJollyjim/cntr-test
nixos/tests: fix flaky cntr test
2022-03-03 10:40:23 +00:00
Jamie McClymont
126ce87b0c nixos/tests: fix flaky cntr test
The cntr sometimes hangs until the 10-hour hydra limit. This behaviour
appears to be an edge-case related to the type of TTY in which the cntr
command runs during test execution. We can work around this by running
the command as a background job.

I additionally added a wait_for_open_port to fix nondeterministic test
failures I observed after fixing the hanging issue.
2022-03-03 19:15:10 +13:00
aszlig
7286be7e81 nixos/systemd-confinement: Allow shipped unit file
In issue #157787 @martined wrote:

  Trying to use confinement on packages providing their systemd units
  with systemd.packages, for example mpd, fails with the following
  error:

  system-units> ln: failed to create symbolic link
  '/nix/store/...-system-units/mpd.service': File exists

  This is because systemd-confinement and mpd both provide a mpd.service
  file through systemd.packages. (mpd got updated that way recently to
  use upstream's service file)

To address this, we now place the unit file containing the bind-mounted
paths of the Nix closure into a drop-in directory instead of using the
name of a unit file directly.

This does come with the implication that the options set in the drop-in
directory won't apply if the main unit file is missing. In practice
however this should not happen for two reasons:

  * The systemd-confinement module already sets additional options via
    systemd.services and thus we should get a main unit file
  * In the unlikely event that we don't get a main unit file regardless
    of the previous point, the unit would be a no-op even if the options
    of the drop-in directory would apply

Another thing to consider is the order in which those options are
merged, since systemd loads the files from the drop-in directory in
alphabetical order. So given that we have confinement.conf and
overrides.conf, the confinement options are loaded before the NixOS
overrides.

Since we're only setting the BindReadOnlyPaths option, the order isn't
that important since all those paths are merged anyway and we still
don't lose the ability to reset the option since overrides.conf comes
afterwards.

Fixes: https://github.com/NixOS/nixpkgs/issues/157787
Signed-off-by: aszlig <aszlig@nix.build>
2022-03-02 11:42:44 -08:00
Kartik Gokte
6a0b420d94 nixos/prometheus-pve-exporter: init at 2.2.2 2022-03-02 23:59:33 +05:30
Bobby Rong
b3d4c1d48f
nixosTests.installed-tests.appstream-qt: init 2022-03-02 11:28:29 +08:00
Bobby Rong
c942cd7b2e
nixosTests.installed-tests.appstream: init 2022-03-02 11:28:29 +08:00
Rok Garbas
43a765422f
Merge pull request #158613 from ConnorBaker/master
hadoop: add aarch64 support
2022-03-01 15:59:08 +01:00
ajs124
8289e6478b
vsftpd: enable seccomp (#158974)
* vsftpd: enable seccomp

* nixos/tests/vsftpd: add basic test

* vsftpd: add test to passthru
2022-03-01 11:03:47 +08:00
Janne Heß
d32ba3f4b0
Merge pull request #161929 from martinetd/switchTest
logrotate: do not enable logrotate.service itself
2022-02-28 10:19:25 +01:00
Rok Garbas
993c35991b
Merge pull request #157693 from Radvendii/zammad
zammad: init at 5.0.2
2022-02-28 00:57:11 +01:00
midchildan
0334498c74
nixosTests.keycloak: replace libtidy with html-tidy
Follow-up of cc700ad55b.
2022-02-28 00:54:27 +09:00
Jörg Thalheim
c219935f5e
Merge pull request #162056 from NickCao/bird-reload
nixos/bird: run service as non-root user, add test for reload
2022-02-27 09:48:04 +00:00
Nick Cao
6e389e6367
nixos/bird: run service as non-root user, add test for reload 2022-02-27 16:19:22 +08:00
Rémi NICOLE
17df62a937
shiori: fix NixOS test (#161969)
* nixos/tests/shiori: fix auth JSON

* shiori: link NixOS test in passthru.tests
2022-02-27 08:38:55 +02:00
Dominique Martinet
0dadec45d8 logrotate/systemd: add 'minsize = 1M' to wtmp/btmp rotation
align with upstream logrotate which added the minsize rule at some point.
This avoids needlessly rotating the files too often as brought up in
https://github.com/NixOS/nixpkgs/pull/159187#issuecomment-1052426774
2022-02-27 07:20:26 +09:00
Maciej Krüger
ae2f179c9b
tests/pgadmin4-standalone: add 2022-02-26 14:27:30 +01:00
florian on nixos (Florian Brandes)
0dda2d3888
pgadmin4: init at 6.3
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-02-26 13:17:37 +01:00
Naïm Favier
8022c82a39 nixosTests.switchTest: fix race condition on /testpath
Currently the test-watch.service gets started in a loop as long as
/testpath exists, so `rm /testpath /testpath-modified` runs into a race
condition where if the service was just getting activated, it will
create /testpath-modified and make the test fail.

This is fixed by making the service RemainAfterExit so that it only
starts once, and stopping it manually after we remove /testpath.
2022-02-26 19:13:40 +09:00
Dominique Martinet
4d12b79cd7 logrotate: do not enable logrotate.service itself
logrotate.timer is enough for rotating logs. Enabling logrotate.service would
make the service start on every configuration switch, leading to tests failure when
logrotate is enabled.

Also update test to make sure the timer is active and runs the service
on date change.
2022-02-26 19:13:12 +09:00
Vladimír Čunát
bb75870cef
Merge #161734: nixos/tests/networking: Fix link test 2022-02-25 18:42:21 +01:00
Jörg Thalheim
9abf72f229
bird1: drop package + modules
reason: no longer maintained upstream.
2022-02-25 11:39:34 +01:00
zowoq
ec2028eb3c nixos/kubernetes: use kubectl from kubernetes
- also clarify kubectl wrapper naming
2022-02-25 19:22:30 +10:00
zowoq
4ee1f9eafc podman: 3.4.4 -> 4.0.1
https://github.com/containers/podman/releases/tag/v4.0.0
https://github.com/containers/podman/releases/tag/v4.0.1

- wrap helper binaries via CONTAINERS_HELPER_BINARY_DIR
2022-02-25 19:09:29 +10:00
Martin Weinelt
60225c6bbd
nixos/tests/networking: Fix link test
The test was looking at the wrong interface and relying on silly
behaviour by the dummy driver, which autocreated a `dummy0` interface on
modprobe.

Fix this by making it look at the actual `foo` interface that the test
creates.
2022-02-24 23:11:13 +01:00
Patrick Hilhorst
7ef8df8767
nixosTests.nano: replace with script using GNU expect 2022-02-24 21:26:25 +01:00
Connor Baker
e10eed89e7 hadoop: add back dots in names of nixos tests 2022-02-23 21:43:09 -05:00
Taeer Bar-Yam
74dcaf5784 zammad: test passes! 2022-02-23 10:41:28 -05:00
Taeer Bar-Yam
4d38b6460f zammad: reformat 2022-02-23 10:41:27 -05:00
Taeer Bar-Yam
75fe105a3d Zammad: more fixes 2022-02-23 10:41:27 -05:00
Taeer Bar-Yam
aac7f85483 zammad: fix module databases 2022-02-23 10:41:27 -05:00
Taeer Bar-Yam
e7aba931e2 zammad: fix module/test 2022-02-23 10:41:26 -05:00
Taeer Bar-Yam
e662b519a2 zammad: add module test 2022-02-23 10:41:25 -05:00
Martin Weinelt
d778e18366
Merge pull request #160042 from stigtsp/test/nginx-modsecurity 2022-02-23 12:02:20 +01:00
Janne Heß
e5823f77b3
Merge pull request #159187 from martinetd/logrotate
logrotate service enhancements
2022-02-23 11:24:17 +01:00
Stig Palmquist
21f5ce0bd9 nixos/tests/nginx-modsecurity: init 2022-02-23 08:54:52 +01:00
Martin Weinelt
b4ac004d09
nixos/test/networking: test bonding netdev creation
Previously the bonding driver would create an initial `bond0` interface
when it was loaded. If the network management integration used that
interface and did not recreate it, it was stuck to the default
`balance-rr` mode.

Deploying systemds modprobe.d configuration sets `max_bonds=0`, so we
don't run into that issue anymore.

Hence we now make sure that we can indeed create `bond0` with `802.3ad`
(LACP), which is a non default mode.
2022-02-22 17:29:41 +01:00
Guillaume Girol
4846d948b4
Merge pull request #156601 from symphorien/miniflux-password
nixos/miniflux: no cleartext password in the store
2022-02-21 21:18:36 +00:00
markuskowa
0fca9900b1
Merge pull request #157278 from ck3d/default-systemd-nspawn
nixos: Switch to default systemd-nspawn behaviour
2022-02-21 21:56:07 +01:00
Sandro
5a57844cf6
Merge pull request #158592 from SuperSandro2000/nginx-nixos 2022-02-20 16:32:09 +01:00
Renaud
4ccf58647a
Merge pull request #156224 from B4dM4n/nixos-tests-doh-proxy-rust
nixos/test/doh-proxy-rust: fix failing check
2022-02-19 16:31:14 +01:00
Christian Kögler
57fc08cfdb nixos: Switch to default systemd-nspawn behaviour 2022-02-19 09:52:37 +01:00
Izorkin
7629826b03
nixos/tests/prosody: return prosody-mysql test 2022-02-18 22:23:13 +03:00