The device type template or always defined in the device dictionary forĪll devices of that type. Variables which should never be overridden can be included as simple text in Job definition can be allowed to override a variable from the deviceĭictionary only if the device type template specifically allows this byĪllowing a variable from the job context to override a variable from theĭevice dictionary and only if the variable name in the job contextĭiffers from the name used in the device dictionary. The job definition can override the device dictionary if the deviceĭictionary has no value set for that variable. The device dictionary can always override variables in theĭevice-type template by setting the variable name to a new value. Overriding values in device type, device dictionary and the job context ¶Īdministrators have full control over which values allow overrides, in the To see an example of how the sample YAML would look as a python snippet, use Actions : - deploy : timeout : minutes : 20 to : tmpfs images : rootfs : url : image_arg : -drive format=raw,file= compression : gz - boot : method : kvm media : tmpfs failure_retry : 2 prompts : - 'linaro-test' - test : failure_retry : 3 name : kvm-basic-singlenode # is not present, use "test $N" timeout : minutes : 5 # uses install:deps, so takes longer than singlenode01 definitions : - repository : git:///lava-team/lava-functional-tests.git from : git path : lava-test-shell/smoke-tests-basic.yaml name : smoke-tests - repository : from : git path : lava-test-shell/single-node/singlenode03.yaml name : singlenode-advanced
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |