Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job_name template should be defined in the root master.jinja2 file #182

Open
liuyq opened this issue Apr 5, 2022 · 0 comments
Open

job_name template should be defined in the root master.jinja2 file #182

liuyq opened this issue Apr 5, 2022 · 0 comments

Comments

@liuyq
Copy link
Contributor

liuyq commented Apr 5, 2022

currently it's defined in the testcases/master/template-master.jinja2 in the following format:
{% block job_name %}{{PROJECT_NAME}}-{{OS_INFO}}-{{test_name}}-{{KERNEL_BRANCH}}-{{BUILD_NUMBER}}{% endblock job_name %}

it could be defined in the root master.jinja2 files, so that templates extends the root master.jinja2 files could use that as well.
And the test_name in the format should be job_name, and it's better to be defined in the following format:
{% block job_name %}{{PROJECT_NAME}}-{{OS_INFO}}-{{KERNEL_BRANCH}}-{{BUILD_NUMBER}}-{{job_name}}{% endblock job_name %}

that would make it easier to search job from the lava pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant