Actions
action #88059
closedImplement vars.json variables expansion in test_data structure
Start date:
2021-01-20
Due date:
% Done:
0%
Estimated time:
Description
As of now test_data allows only static data, but there are scenarios where we would need some dynamic values like VERSION, or DISTRI, etc.
We can allow and variables interpolation in the test data structure, e.g.:
test_data:
repos:
- name: SLES-%VERSION%
alias: SLES
enabled: No
We already print test_data in os-autoinst log, we can check if we should improve it.
%
is special symbol for yaml standard and therefore require wrapping in quotes.
Acceptance criteria¶
- Variables in test data are expanded, using same syntax as in openQA
- Resulting test_data is printed to the logs and/or as record_info
- In case vars.json variable is not defined, we should not expand it
- New functionality is documented
Updated by riafarov about 3 years ago
- Description updated (diff)
- Status changed from New to Workable
Updated by JERiveraMoya about 3 years ago
- Status changed from Workable to In Progress
Updated by JERiveraMoya about 3 years ago
- Status changed from In Progress to Feedback
Updated by JERiveraMoya about 3 years ago
- Status changed from Feedback to Closed
Actions