Silvan Mosberger
25d75155f3
nixos/doc: Add freeform modules documentation
...
Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
2020-08-14 22:49:35 +02:00
Olli Helenius
446669cb5e
nixos/manual: Fix reference to send_key
2020-08-03 13:16:24 +03:00
Silvan Mosberger
83b16885f5
nixos/docs: Add documentation for settings options
2020-07-29 18:08:25 +02:00
Olli Helenius
2d8311dac9
nixos/manual: Fix reference to copy_from_host
2020-07-18 14:26:44 +03:00
Michele Guerini Rocco
dab676b2d7
Merge pull request #65231 from buckley310/grub-password
...
grub: add support for passwords
2020-07-01 09:04:30 +02:00
rnhmjoj
b520055df6
nixos/lib/test-driver: add wait_for_console_text
...
This method is similar to wait_for_text but is based on matching
serial console lines instead of the VGA output.
2020-06-24 10:22:53 +02:00
Félix Baylac-Jacqué
7e7aa529d9
test-driver.py: delete VM state directory after test run
...
Keeping the VM state test across several run sometimes lead to subtle
and hard to spot errors in practice. We delete the VM state which
contains (among other things) the qcow volume.
We also introduce a -K (--keep-vm-state) flag making VM state to
persist after the test run. This flag makes test-driver.py to match
its previous behaviour.
2020-06-21 10:27:51 +02:00
Tom Fitzhenry
f3c8acc0bb
nixos/doc: update stale fn name s/copy_file_from_host/copy_from_host/
...
This was renamed in the Perl -> Python test driver migration.
2020-06-01 18:05:58 +10:00
Pavol Rusnak
7b0167204d
treewide: use https for nixos.org and hydra.nixos.org
...
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Graham Christensen
75f604eb2c
nixos release process: use rev-list --count like Hydra does.
2020-02-22 09:28:03 -05:00
Danylo Hlynskyi
31601a3844
nixos/doc: add a section mentioning GitHub team for nixos release managers ( #78625 )
...
* nixos/doc: add a section mentioning GitHub team for nixos release managers
This team should be kept up-to-date with each release.
Previously this info had to be grepped from appropriate Discourse thread.
Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2020-01-27 15:31:22 -05:00
Robert Hensing
9884cb3ed0
Merge pull request #76861 from Infinisil/paths-as-submodules
...
lib/types: Allow paths as submodule values
2020-01-12 14:19:04 +01:00
Silvan Mosberger
b48717d1eb
lib/types: Introduce lazyAttrsOf
...
The standard attrsOf is strict in its *values*, meaning it's impossible to
access only one attribute value without evaluating all others as well.
lazyAttrsOf is a version that doesn't have that problem, at the expense
of conditional definitions not properly working anymore.
2020-01-10 16:19:55 +01:00
Silvan Mosberger
d5a2922641
nixos/doc: Note that attrsOf is strict in its values
2020-01-10 16:19:54 +01:00
Silvan Mosberger
e9c16ec186
Merge pull request #76857 from Infinisil/recursive-disableModules
...
Apply `disabledModules` recursively
2020-01-09 18:20:12 +01:00
Silvan Mosberger
a6462a4a8b
nixos/doc: Extend disabledModules docs to indicate recursive disabling
2020-01-09 17:26:08 +01:00
Silvan Mosberger
6525da6321
lib/types: Allow paths as submodule values
2020-01-08 23:54:45 +01:00
Silvan Mosberger
c7ade6844f
Revert "lib/types: Allow paths as submodule values"
...
This reverts commit eec83d41e3
.
This broke hydra evaluation because with this commit submodule values
are allowed to be paths, however the certmgr module uses `either
(submodule ...) path` in its type, meaning it already used paths for
something else which would now be interpreted as a submodule.
2020-01-03 05:21:01 +01:00
Silvan Mosberger
cdf79db19d
Module system improvements for NixOS as a submodule ( #75031 )
...
Module system improvements for NixOS as a submodule
2020-01-02 20:38:45 +01:00
Silvan Mosberger
eec83d41e3
lib/types: Allow paths as submodule values
2020-01-02 09:59:35 +01:00
Silvan Mosberger
90c82bfee7
nixos/docs: Add docs for types.submoduleWith
2020-01-02 09:59:32 +01:00
Maximilian Bosch
b72661749b
nixos/python-test-driver: add an option to disable python linter
...
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-22 19:27:43 +01:00
Vladimír Čunát
e32d557967
Merge #45957 : nixos manual: releases workflow improvements
...
Let's merge NOW; I'm not doing the same mistake again.
2019-11-20 13:31:24 +01:00
Vladimír Čunát
be6e0bf5c3
nixos manual: releases workflow nitpicks
...
Co-Authored-By: asymmetric <lorenzo@mailbox.org>
2019-11-20 13:29:06 +01:00
Tom F
a21cb75242
nixos/manual: fix IDs on docs for running tests ( #73526 )
2019-11-17 11:47:28 +01:00
worldofpeace
3d256326ab
nixos/doc: remove refs to slim
2019-11-11 17:10:41 -05:00
Jacek Galowicz
7d19c5aaa7
nixos/test: Pythonify documentation
2019-11-04 23:50:50 +01:00
Vladimír Čunát
d9c5d584cd
Merge branch 'master' into release-docs
...
It's been a very long time, so I think a merge will be better than
a rebase. There was only one simple conflict.
2019-10-27 10:29:58 +01:00
Eelco Dolstra
5b324c1825
Remove references to the nixpkgs-channels repo
...
Channel branches are now provided in the nixpkgs repo.
Issue #71176 .
2019-10-17 19:44:03 +02:00
Eelco Dolstra
b0ccd6dd16
Revert "nixos/doc: re-format"
...
This reverts commit ea6e8775bd
. The new
format is not an improvement.
2019-09-19 19:17:30 +02:00
Jan Tojnar
ea6e8775bd
nixos/doc: re-format
2019-09-18 22:13:35 +02:00
Samuel Leathers
bb1b96373b
nixos docs: add release manager section
2019-08-23 10:10:12 -04:00
Aaron Andersen
6f6468bef3
Merge pull request #65728 from Infinisil/types-eithers
...
lib/types: Add oneOf, extension of either to a list of types
2019-08-13 11:48:42 -04:00
Silvan Mosberger
9a44f44d4c
lib/types: Add oneOf, extension of either to a list of types
2019-08-06 14:08:42 +02:00
Léo Gaspard
6a2abeb6b4
Update nixos/doc/manual/development/releases.xml
...
Co-Authored-By: Alyssa Ross <hi@alyssa.is>
2019-06-24 18:57:24 +02:00
Léo Gaspard
980b5e0c88
manual: remind to drop kernels that will get EOL'd
2019-06-24 17:11:54 +02:00
Jan Tojnar
a3f2131eb6
doc: Use prompt more often
2019-06-17 13:25:50 +02:00
Jan Tojnar
11cb382a4c
nixos/doc: Fix spurious indentation
2019-06-17 12:28:26 +02:00
Matthew O'Gorman
da035d3ad6
nixos/manual: update 17.03 -> 19.03 in upgrading section
2019-04-12 12:16:30 -04:00
Andreas Rammhold
c55427ca43
nixos/doc: add types
prefix to addCheck
example
...
The function `addCheck` resides within the attrset `types`. We should be
explicit about this since otherwise people might be confused where it
does come from / why it doesn't work for them.
2019-03-11 22:56:56 +01:00
Graham Christensen
777e94d903
Merge pull request #55436 from layus/warn-manual-ids
...
Nixos manual: error out on missing IDs
2019-03-09 08:21:07 -05:00
Domen Kožar
0fd85a1f99
nixos release: there's a wildcard protection now for release-* on github
2019-02-26 14:12:46 +07:00
Guillaume Maudoux
473a3ef606
nixos/manual: add dummy ids to silence warnings
2019-02-08 10:23:57 +01:00
Samuel Dionne-Riel
3aab228d09
Revert "Add ssh backdoor to VM tests infrastructure."
...
This reverts commit d6e3db44cf
.
See #53935 for explanations. In short, it may be causing issues with
tests on the build infrastructure.
2019-01-19 13:24:39 -05:00
Erik Arvstedt
931b7b47a2
nixos tests doc: minor fixes
...
This fixes some quirks I introduced in previous commits.
1. No need for an extra newline when printing the output of shell commands.
2. 'or die' is what's already used in the NixOS test sources, while
'die unless' has no occurrences.
2018-11-26 19:36:50 +01:00
Daniel Rutz
0885a65169
nixos/doc: Add documentation for types.port type
2018-10-19 12:33:24 +02:00
Samuel Dionne-Riel
4f43e5fe88
fixup ^ release improvements.
2018-10-05 19:34:52 -04:00
Vladimír Čunát
dd82f6cec0
nixos manual: releases workflow improvements
...
- `git push --tags` is too dangerous (pushes all your tags)
2018-10-05 19:34:52 -04:00
Graham Christensen
8413f22bb3
docs: format
2018-09-29 20:51:11 -04:00
Tuomas Tynkkynen
d6e3db44cf
Add ssh backdoor to VM tests infrastructure.
...
Thanks to @dezgeg for prototype implementation, I've
cleaned it up and added documentation.
2018-09-28 10:53:08 +01:00