Open pevik opened 4 years ago
I asked for some info and got replies with tips
http://mails.dpdk.org/archives/ci/2019-November/000447.html
Did you just manually added travis button to the django template (I guess there is no UI setup for it)?
Yes, it is manually added.
Did you implemented posts to S/W/F via REST API [1]?
No, it was done with RPC (pwclient) when REST was not available. The script is in this git: http://git.dpdk.org/tools/dpdk-ci/tree/tools/update-pw.sh
http://mails.dpdk.org/archives/ci/2019-November/000449.html
The only requirement is to wait for the test report to be received, so you can send a public URL of the report to patchwork.
=> tools are available in http://git.dpdk.org/tools/dpdk-ci/, but we should explore pachwork REST API [1] first. [1] https://patchwork.readthedocs.io/en/latest/api/rest/
Folks from DPDK have very nice patchwork extensions: on [1], they have
Their
Success / Warning / Fail
column contains colored numbers (see S/W/F in [1])Patch view [2] contains table with these CI results and links to ML [3] [4]
GitHub Action CI build pass/fail button leading to their GitHub Action CI page https://github.com/DPDK/dpdk/actions?query=workflow:build
Results on patch view that would be even more useful and it's probably supported to our patchwork instance (we have S/W/F fields there as well), but no idea how to do it. Maybe via REST API.
GitHub Action CI: We probably cannot have button (https://api.travis-ci.com/linux-test-project/ltp.svg?branch=master), as we'd have to modify our patchwork instance, which is shared (there would have to be per project settings allowing to add HTML snipped).
[1] https://patches.dpdk.org/project/dpdk/list/ [2] https://patches.dpdk.org/patch/61411/ [3] http://mails.dpdk.org/archives/test-report/2019-October/103177.html [4] http://mails.dpdk.org/archives/test-report/2019-October/103116.html [5] https://github.com/DPDK/dpdk/actions?query=workflow:build