Actions
coordination #77698
closedcoordination #58184: [saga][epic][use case] full version control awareness within openQA
coordination #48641: [epic] Trigger openQA tests in pull requests of any product github pull request
[epic] synchronous qemu based system level test in pull request CI runs, e.g. standalone isotovideo or openQA tests
Start date:
2020-11-15
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Tags:
Description
User Story¶
As a software stack developer I want to run synchronous qemu based tests in pull request CI runs to have system level test coverage before accepting PRs
Acceptance criteria¶
- AC1: Easy instructions how to run qemu based system level tests in any github project exist
- AC2: Scalable for multiple projects
- AC3: One example github PR or gitlab MR shows a successful test in action for any product or repository
Suggestions¶
- Experiment with local runs of isotovideo, maybe based on github.com/os-autoinst/os-autoinst-distri-example
- isotovideo supports setting all necessary test parameters on the command line but a file
vars.json
can be used as well
- isotovideo supports setting all necessary test parameters on the command line but a file
- Look into github actions and publish on github marketplace for easy inclusion
- you can start with https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-docker-container-action and https://github.com/actions/hello-world-docker-action
- read how to publish on marketplace: https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action
- If the above is not feasible or as alternative create documentation describing how to use the proof of concept
- Try to have a generic solution that is not dependant on one specific CI provider but consider "polishing" it for at least one to be super-easy :)
- Also upload test artifacts, e.g. serial terminal log and video.ogv , e.g. see https://docs.github.com/en/free-pro-team@latest/actions/guides/storing-workflow-data-as-artifacts#uploading-build-and-test-artifacts . was suggested by pdostal in https://github.com/os-autoinst/os-autoinst-distri-example/pull/4#issuecomment-727800015
Actions