Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lava_Job_definition_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@
'boot_method': boot_method,
'name': name
}
# Example test method
test_method = 'baseline'
# Example test method,
# → picks the value from the environment if it exists
# → otherwise defaults to "baseline"
test_method = os.environ.get("TEST_METHOD", "baseline")
print("Using test method:", test_method)

testList_path = 'testList.json'
test_names = None
test_details_json_path = testList_path if os.path.exists(testList_path) else None
Expand Down
9 changes: 9 additions & 0 deletions templates/overlays/generic.jinja2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% extends boot_template %}

{%- block testoverlays -%}
modules:
compression: xz
url: '{{ node.artifacts.modules }}'
format: tar
path : /
{%- endblock -%}
Loading