Actions
action #156922
opencoordination #58184: [saga][epic][use case] full version control awareness within openQA
coordination #152847: [epic] version control awareness within openQA for test distributions
Run os-autoinst-distri-openQA directly from git without anything related in o3:/var/lib/openqa/share/tests size:S
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
With #154783 we have proper git caching so we can run git based tests efficiently on our workers now. Now we should go the next step and migrate one "production" test distribution to use only git and not hold anything provided by admins on o3 in o3:/var/lib/openqa/share/tests for this test distribution initially leaving it to openQA to automatically handle any checkout of the test distribution directory.
Acceptance criteria¶
- AC1:
o3:/var/lib/openqa/share/tests/open{qa,QA}
does not need to be checked out (should already be covered in general, needs to be tested on o3) - AC2:
o3:/var/lib/openqa/share/tests/open{qa,QA}
does not need to be updated by fetchneedles - AC3: openqa-in-openqa tests still pass consistently
- AC4: openqa-in-openqa test details and source code views still show content as expected
Suggestions¶
- DONE Similar to #162125 but only about os-autoinst-distri-openQA which already uses CASEDIR=https://github.com… consistently but includes the initial checkout part as well
- DONE Wait for #164898 first
- DONE Change test definitions in https://github.com/os-autoinst/os-autoinst-distri-openQA/blob/master/scenario-definitions.yaml to use https://github.com/os-autoinst/os-autoinst-distri-openQA for test code (and needles)
- DONE Check that tests can be triggered this way
- Remove o3:/var/lib/openqa/share/tests/openqa and o3:/var/lib/openqa/share/tests/openQA and ensure tests still work as well as source code view and needle candidates in test details pages
- Ensure that openQA automatically keeps the git checkout up to date without needing fetchneedles
- Be aware that jobs will fail up to a minute after the test directory has been removed (due to rate limiting Minion jobs)
Actions