Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-22 | nixos/python-test-driver: add an option to disable python linter | Maximilian Bosch | 1 | -3/+7 | |
While it's a good idea to automate the linting of the python code used for our tests, I think that it can be quite distracting when hacking on a NixOS test. I figured that it might be more convenient to add an option as a shortcut for this to avoid that everyone needs to dig into the test driver again. | |||||
2019-12-15 | nixos/displayManager: deprecate separate options for default wm/dm | Jan Tojnar | 2 | -4/+2 | |
The upstream session files display managers use have no concept of sessions being composed from desktop manager and window manager. To be able to set upstream session files as default session, we need a single option. Having two different ways to set default session would be confusing, though, so we decided to deprecate the old method. We also created separate script for each session, just like we already had a separate desktop file for each one, and started using displayManager.sessionPackages mechanism to make the session handling more uniform. | |||||
2019-12-13 | nixos: compress make-ext4-fs with zstd | Bernardo Meurer | 1 | -18/+26 | |
2019-12-03 | nixos/test: Use retry() in all looping functions that need timeouts | Jacek Galowicz | 1 | -35/+73 | |
2019-12-01 | Merge pull request #74077 from 7c6f434c/add-test-driver-py-copy-from-vm | Florian Klink | 1 | -1/+34 | |
Add test driver py copy from vm | |||||
2019-11-25 | Merge pull request #73966 from d-goldin/nixosoptions_xml_strctx | Domen Kožar | 1 | -1/+1 | |
make-options-doc: fix string context issues | |||||
2019-11-25 | test-driver.py: add Machine.copy_from_vm | Michael Raskin | 1 | -0/+33 | |
2019-11-25 | test-driver.py: Fix the shared directory reference | Michael Raskin | 1 | -1/+1 | |
2019-11-25 | nixos/tests: fail on failing subtests | Robin Gloster | 1 | -3/+4 | |
This was the behaviour in the perl test driver too and a regression. Also cleaned up unused imports | |||||
2019-11-23 | make-options-doc: fix string context issues | Dima | 1 | -1/+1 | |
When using `documentation.nixos.includeAllModules = true;` with external modules, the string context might contain dependencies to derivations and so `toFile` refuses to evaluate; ``` error: in 'toFile': the file 'options.xml' cannot refer to derivation outputs, at [...]/nixpkgs/nixos/lib/make-options-doc/default.nix:89:16 ``` This is not an issue when using `writeText` (instead of manually stripping the context). | |||||
2019-11-21 | Merge pull request #73190 from flokli/ceph-tests-python | Florian Klink | 1 | -8/+16 | |
WIP: nixos/ceph: port tests to python | |||||
2019-11-20 | nixos/test: let python driver evaluate test code in global scope so the | Jacek Galowicz | 1 | -1/+1 | |
user can define and use functions | |||||
2019-11-20 | nixos/test: If qemu monitor returns 0, simply return (like perl script does) | Jacek Galowicz | 1 | -2/+7 | |
2019-11-20 | nixos/test: Fix child environment of python driver | Jacek Galowicz | 1 | -6/+9 | |
2019-11-15 | Merge pull request #73251 from worldofpeace/remove-slim | worldofpeace | 2 | -2/+0 | |
nixos/slim: remove | |||||
2019-11-11 | nixos/slim: remove | worldofpeace | 2 | -2/+0 | |
The SLIM project is abandoned and their last release was in 2013. Because of this it poses a security risk to systems, no one is working on it or picked up maintenance. It also lacks compatibility with systemd and logind sessions. For users, there liikely isn't anything like slim that's as lightweight in terms of dependencies. | |||||
2019-11-11 | test-driver: add mypy support | Jörg Thalheim | 2 | -91/+103 | |
It's a good idea to expand this in future to test code as well, so we get type checking there as well. | |||||
2019-11-11 | nixos/tests: fix succeed() with multiple commands | Florian Klink | 1 | -3/+5 | |
we previously immediately returned the first commands output, and didn't execute any of the other commands. Now, return the last commands output. This should be documented in the method docstring. | |||||
2019-11-08 | nixos/tests: correct arguments to get_unit_info | Leonhard Markert | 1 | -1/+1 | |
2019-11-08 | nixos/tests: improve get_unit_info expressiveness on failure | Marijan Petricevic | 1 | -1/+5 | |
2019-11-07 | Merge pull request #72943 from marijanp/port-test-driver-python | worldofpeace | 1 | -0/+13 | |
Port remaining test-driver functions to python | |||||
2019-11-07 | Merge pull request #72947 from tfc/boot-test-port-fix | worldofpeace | 1 | -2/+2 | |
Boot test port fix | |||||
2019-11-07 | nixos/test: Handle undecodable bytes | Jacek Galowicz | 1 | -1/+1 | |
This threw exceptions in boot menus | |||||
2019-11-07 | Merge pull request #72835 from tfc/nixos-integration-test-ports | worldofpeace | 1 | -1/+35 | |
Nixos integration test ports | |||||
2019-11-06 | nixos/tests: implemented python test-driver version of forwardPort | Marijan | 1 | -0/+8 | |
2019-11-06 | nixos/tests: implemented python test-driver version of dumpTTYContents | Marijan | 1 | -0/+5 | |
2019-11-06 | nixos/tests: Fix subprocess launch call for VM monitor | Jacek Galowicz | 1 | -1/+1 | |
This crashed in the create-script case | |||||
2019-11-06 | nixos/tests: Ignore shutdown/crash if not booted | Daniel Schaefer | 1 | -2/+2 | |
Condition seems to be inverted. Crash and shutdown only make sense, when the machine is booted; i.e. we return immediately otherwise. In the Perl test driver this is: return unless $self->{booted}; | |||||
2019-11-05 | nixos/tests: Implement python test-driver version of getWindowNames and ↵ | Jacek Galowicz | 1 | -0/+21 | |
waitForWindow | |||||
2019-11-05 | nixos/tests: Implement python test-driver version of requireActiveUnit | Jacek Galowicz | 1 | -1/+14 | |
2019-11-04 | nixos/test: use ptpython as repl | Florian Klink | 2 | -7/+3 | |
2019-11-04 | nixos/test: Port test driver to python | Jacek Galowicz | 2 | -0/+1041 | |
Thanks @blitz and @jtraue for help with implementing machine methods | |||||
2019-10-18 | nixos/make-iso9660-image: Fix doc typo | Chuck | 1 | -1/+1 | |
2019-10-18 | nixos/make-iso9660-image: Fix storeContents documentation | Chuck | 1 | -3/+3 | |
`packages` was renamed to `storeContents` in 668c146e33291e933ccfb19fd39fab9cd2b7900d, but this comment describing its purpose was not updated to match. | |||||
2019-10-07 | Revert "make-disk-image: replace nixos-install by nix-env calls" | Eelco Dolstra | 1 | -11/+3 | |
This reverts commit e9bf955fd6d5ffda218878ba561c93c6a28dfe8e. We use nixos-install to ensure that make-disk-image produces the same result as a regular installation (9802da517fe4da41d68516029b01c5c1f175b3e4) and to reduce code duplication. If there is something broken in nixos-install, it should be fixed there. | |||||
2019-09-29 | make-disk-image: replace nixos-install by nix-env calls | Christian Kögler | 1 | -3/+11 | |
nixos-install can only be called from a machine | |||||
2019-09-08 | nixos/lib/utils: Make the set recursive again, unbreak eval | Sarah Brofeldt | 1 | -1/+1 | |
2019-09-07 | Merge pull request #66274 from talyz/gitlab | Florian Klink | 1 | -0/+112 | |
nixos/gitlab: Add support for secure secrets and more | |||||
2019-09-06 | nixos/utils: Handle arbitrary secrets in JSON output files | talyz | 1 | -0/+112 | |
Introduce new functions which allows modules to define options where, if the input is an attrset and the output is JSON, the user can define arbitrary secrets. | |||||
2019-08-28 | treewide: remove redundant rec | volth | 2 | -2/+2 | |
2019-08-28 | Merge staging-next into staging | Frederik Rietdijk | 1 | -3/+3 | |
2019-08-26 | treewide: remove redundant quotes | volth | 1 | -4/+4 | |
2019-08-18 | Merge branch 'master' into flip-map-foreach | danbst | 4 | -1/+516 | |
2019-08-12 | pkgs.lib -> lib | Domen Kožar | 1 | -3/+3 | |
2019-08-10 | make-options-doc: add asciidoc variant | Domen Kožar | 1 | -0/+38 | |
2019-08-10 | make-options-doc: expose Nix set | Domen Kožar | 1 | -4/+5 | |
2019-08-08 | Extract NixOS options documentation generation to a function | Domen Kožar | 3 | -0/+476 | |
Motivation is to support other repositories containing nixos modules that would like to generate options documentation: - nix-darwin - private repos - arion - ?? | |||||
2019-08-07 | Make hostname in tests overridable | Nikola Knezevic | 1 | -1/+1 | |
The original form effectively forbade any NixOS configuration that is under test to explicitly set the hostname. | |||||
2019-08-05 | Merge branch 'master' into flip-map-foreach | Danylo Hlynskyi | 1 | -2/+10 | |
2019-08-05 | mass replace "flip map -> forEach" | danbst | 1 | -3/+3 | |
See `forEach`-introduction commit. ``` rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /forEach /g' ``` |