about summary refs log tree commit diff
path: root/nixos/tests
Commit message (Collapse)AuthorAge
* Fix letsencrypt (#60219)Arian van Putten2019-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nixos/acme: Fix ordering of cert requests When subsequent certificates would be added, they would not wake up nginx correctly due to target units only being triggered once. We now added more fine-grained systemd dependencies to make sure nginx always is aware of new certificates and doesn't restart too early resulting in a crash. Furthermore, the acme module has been refactored. Mostly to get rid of the deprecated PermissionStartOnly systemd options which were deprecated. Below is a summary of changes made. * Use SERVICE_RESULT to determine status This was added in systemd v232. we don't have to keep track of the EXITCODE ourselves anymore. * Add regression test for requesting mutliple domains * Deprecate 'directory' option We now use systemd's StateDirectory option to manage create and permissions of the acme state directory. * The webroot is created using a systemd.tmpfiles.rules rule instead of the preStart script. * Depend on certs directly By getting rid of the target units, we make sure ordering is correct in the case that you add new certs after already having deployed some. Reason it broke before: acme-certificates.target would be in active state, and if you then add a new cert, it would still be active and hence nginx would restart without even requesting a new cert. Not good! We make the dependencies more fine-grained now. this should fix that * Remove activationDelay option It complicated the code a lot, and is rather arbitrary. What if your activation script takes more than activationDelay seconds? Instead, one should use systemd dependencies to make sure some action happens before setting the certificate live. e.g. If you want to wait until your cert is published in DNS DANE / TLSA, you could create a unit that blocks until it appears in DNS: ``` RequiredBy=acme-${cert}.service After=acme-${cert}.service ExecStart=publish-wait-for-dns-script ```
* Merge pull request #64738 from rnhmjoj/magneticoSilvan Mosberger2019-08-28
|\ | | | | magnetico: init package and service
| * nixos/magnetico: add testrnhmjoj2019-08-28
| |
* | Merge pull request #66859 from worldofpeace/xfce4-14-moduleworldofpeace2019-08-27
|\ \ | | | | | | nixos/xfce4-14: init
| * | nixosTests.xfce4-14: initworldofpeace2019-08-21
| | | | | | | | | | | | This is pretty much identical to the xfce test we currently have.
* | | Merge pull request #66984 from flokli/systemd-cgroup-accountingFlorian Klink2019-08-27
|\ \ \ | | | | | | | | nixos/systemd: enable systemd cgroup accounting by default
| * | | nixos/systemd: add cgroup accounting testFlorian Klink2019-08-25
| | | |
* | | | Merge pull request #63634 from aanderse/moodleAaron Andersen2019-08-26
|\ \ \ \ | |/ / / |/| | | moodle: init at 3.7.1
| * | | nixos/moodle: init serviceAaron Andersen2019-08-25
| | | |
* | | | nixos/jormungandr: adding genesis testsMarek Mahut2019-08-25
|/ / /
* | | Merge pull request #67318 from jtojnar/gnome-photosJan Tojnar2019-08-23
|\ \ \ | | | | | | | | gnome-photos: 3.32.0 → 3.32.1
| * | | gnome-photos: add installed testsJan Tojnar2019-08-23
| |/ /
* | | Merge pull request #66215 from ajs124/ejabberd/19.08Lassulus2019-08-23
|\ \ \ | | | | | | | | ejabberd: 19.05 -> 19.08
| * | | nixos/ejabberd: fix test for new releaseajs1242019-08-20
| | | |
* | | | Merge pull request #67213 from mmahut/jormungandrMarek Mahut2019-08-23
|\ \ \ \ | | | | | | | | | | nixos: adding jormungandr service
| * | | | nixos/tests: adding jormungandr service testMarek Mahut2019-08-22
| | | | |
* | | | | Revert "nixos/containers: add unprivileged option"Marek Mahut2019-08-23
| | | | |
* | | | | Merge pull request #67130 from uvNikita/containers/unprivilegedMarek Mahut2019-08-23
|\ \ \ \ \ | | | | | | | | | | | | nixos/containers: add unprivileged option
| * | | | | nixos/containers: add unprivileged optionNikita Uvarov2019-08-21
| | |/ / / | |/| | | | | | | | | | | | | Fixes #57083.
* | | | | Merge pull request #67308 from jtojnar/libxmlb-0.1.11Jan Tojnar2019-08-23
|\ \ \ \ \ | | | | | | | | | | | | libxmlb: 0.1.10 → 0.1.11
| * | | | | nixos/tests/libxmlb: initJan Tojnar2019-08-23
| | |_|/ / | |/| | |
* | | | | Merge pull request #66722 from mmahut/trezord-emulatorMarek Mahut2019-08-22
|\ \ \ \ \ | |/ / / / |/| | | | trezord: adding emulator support (plus test)
| * | | | tests: adding trezordMarek Mahut2019-08-16
| | | | |
* | | | | nginx: expose generated config and allow nginx reloads (#57429)Danylo Hlynskyi2019-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nginx: expose generated config and allow nginx reloads Fixes: https://github.com/NixOS/nixpkgs/issues/15906 Another try was done, but not yet merged in https://github.com/NixOS/nixpkgs/pull/24476 This add 2 new features: ability to review generated Nginx config (and NixOS has sophisticated generation!) and reloading of nginx on config changes. This preserves nginx restart on package updates. I've modified nginx test to use this new feature and check reload/restart behavior. * rename to enableReload * add sleep(1) in ETag test (race condition) and rewrite rebuild-switch using `nesting.clone`
* | | | | Merge pull request #45392 from dguibert/dg/wireguardFlorian Klink2019-08-21
|\ \ \ \ \ | |_|_|/ / |/| | | | nixos/wireguard: setup interface with systemd-networkd
| * | | | systemd-networkd: add testsFélix Baylac-Jacqué2019-08-21
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit ec073e41a0dc8273cd81cf61fa37004310120af2)
* | | | | Merge pull request #66492 from aanderse/extra-subservice-cleanupAaron Andersen2019-08-20
|\ \ \ \ \ | |_|_|/ / |/| | | | nixos/httpd: extraSubservices cleanup
| * | | | nixos/tests/subversion: drop unreferenced/unmaintained testAaron Andersen2019-08-15
| | | | |
| * | | | nixos/tests/php-pcre: replace usage of deprecated ↵Aaron Andersen2019-08-15
| | |/ / | |/| | | | | | | | | | services.httpd.extraSubservices
* | | | Merge pull request #63150 from Izorkin/prosody-testMatthieu Coudron2019-08-20
|\ \ \ \ | |_|/ / |/| | | nixos/tests/prosody: update prosody tests
| * | | prosody: fix work after update luadbi packagesIzorkin2019-08-20
| | | |
| * | | nixos/tests/prosodyMysql: add check work prosody with MySQL databaseIzorkin2019-08-20
| | | |
| * | | nixos/tests/prosody: checking work prosody through local networkIzorkin2019-08-20
| | | |
| * | | nixos/tests: move ejabberd and prosody test to xmpp folderIzorkin2019-08-20
| | | |
* | | | Merge pull request #66736 from markuskowa/upd-glusterMichael Raskin2019-08-20
|\ \ \ \ | | | | | | | | | | glusterfs: 4.0 -> 6.5
| * | | | nixos/glusterfs: add testMarkus Kowalewski2019-08-18
| | |/ / | |/| |
* | | | Merge pull request #64407 from dasJ/icingaweb-testMarek Mahut2019-08-19
|\ \ \ \ | | | | | | | | | | nixos/icingaweb: Fix module path; Add test
| * | | | nixos/icingaweb: Fix module path; Add testJanne Heß2019-07-07
| | | | |
* | | | | Merge pull request #66846 from uvNikita/containers/ephemeralMarek Mahut2019-08-19
|\ \ \ \ \ | | | | | | | | | | | | nixos/containers: add 'ephemeral' option
| * | | | | nixos/containers: add 'ephemeral' optionNikita Uvarov2019-08-19
| | | | | |
* | | | | | Merge pull request #66482 from flokli/systemd-sysctlFlorian Klink2019-08-19
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/systemd: install sysctl snippets
| * | | | | | nixosTests.systemd: add fq_codel testFlorian Klink2019-08-18
| |/ / / / /
* | | | | | Merge pull request #66399 from mmahut/metabaseAaron Andersen2019-08-18
|\ \ \ \ \ \ | |/ / / / / |/| | | | | metabase: service module and test
| * | | | | tests: adding metabase service testMarek Mahut2019-08-18
| | | | | |
* | | | | | Merge pull request #66825 from flokli/nixos-systemd-test-dupFlorian Klink2019-08-18
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixosTests.systemd: remove duplicate copypasta
| * | | | | | nixosTests.systemd: remove duplicate copypastaFlorian Klink2019-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems the regression test for #35268 sneaked in twice.
* | | | | | | Merge branch 'master' into flip-map-foreachdanbst2019-08-18
|\| | | | | |
| * | | | | | Merge master into staging-nextFrederik Rietdijk2019-08-17
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| | * | | | | cups: add myself as maintainerMatthew Bauer2019-08-14
| | | | | | |
| | * | | | | tests/printing: don’t wait for unit servicesMatthew Bauer2019-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These are now socket activated, we don’t need it to start up front.