You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make jobs.py use the same configuration as pytest and tools.py: -c/--config,
XCPNG_CONFIG/XCPNG_CONFIG_DIR and --config-value are now accepted, and
jobs.py run falls back to the hosts defined in the config's [hosts] section
when no hosts are given explicitly. Documented in the README.
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
Any parameter added at the end of the command will be passed to `pytest`. Any parameter added that is already defined in the job's "params" (see output of `./jobs.py show`) will replace it, and `--vm` also replaces `--vm[]` in the case of jobs designed to run tests on multiple VMs.
442
445
446
+
`jobs.py` reads the same configuration as `pytest` and `tools.py`:
447
+
`-c`/`--config`, the `XCPNG_CONFIG`/`XCPNG_CONFIG_DIR` env vars and
448
+
`--config-value` are supported, and when no hosts are given, `jobs.py run`
449
+
falls back to the hosts defined in the config's `[hosts]` section. The
450
+
config options must be specified before the positional `job`/`hosts`
451
+
arguments (like `--print-only`), otherwise they are forwarded to pytest.
452
+
443
453
```
444
454
# same, but we override the list of VMs
445
455
$ ./jobs.py run --print-only sb-unix-multi ip_of_poolmaster --vm=http://path/to/vm4.xva
0 commit comments