TO PR for resolving RTW-303. (there should still be a small PR on hwcert-jenkins-jobs to complement this)
Changes:
Adds a new table named test_execution_rerun_request
Adds a new endpoint /v1/test-executions/reruns that you can post to and get
API returns an additional field with test executions named is_rerun_requested
Delete and recreation of poetry.lock file to solve local dev environment not working. This required a new db migration and small modifications to a function in repository.py
Add a new script test_executions_rerunner.py that will be used in jenkins to actually perform those reruns (this way jenkins credentials stay in jenkins)
When PUT /v1/test-executions/start-test is called delete existing rerun request
Added rerun button to the frontend. This button is disabled if a rerun was requested already
TO PR for resolving RTW-303. (there should still be a small PR on hwcert-jenkins-jobs to complement this)
Changes:
test_execution_rerun_request
/v1/test-executions/reruns
that you can post to and getis_rerun_requested
poetry.lock
file to solve local dev environment not working. This required a new db migration and small modifications to a function inrepository.py
test_executions_rerunner.py
that will be used in jenkins to actually perform those reruns (this way jenkins credentials stay in jenkins)PUT /v1/test-executions/start-test
is called delete existing rerun requestScreencast from 2024-05-01 16-53-58.webm