On Mon, 21 Jan 2019 at 15:52, Axel Lebourhis axel.lebourhis@linaro.org wrote:
Hi everyone,
I'm using Bamboo to build new binaries. My goal is to setup my builder to trigger Squad to submit tests to LAVA using the latest binaries. This part is done but I still have a problem. If there are regressions with new binaries, Bamboo will still say the last build is good because it only performs curl request and that's it.
My question is, is there a way to get a feedback from Squad concerning tests results ? For example the number of fail/pass. This would be enough to me, I'd just have to write something to compare 2 builds.
you already can compare 2 builds in SQUAD using 'report' API: https://squad.readthedocs.io/en/latest/api.html#builds-api-builds
This however will only be triggered by request, not by any event in SQUAD. Could you specify whether you would like to a) query squad about the data after you push all your results b) have squad trigger a notification on receiving all your results? The latter only sends email. We don't have any option for callback yet.
You can also use a badge: https://squad.readthedocs.io/en/latest/api.html#badges Example here (under test results header): https://lkft.linaro.org/
milosz
Regards, Axel _______________________________________________ Squad-dev mailing list Squad-dev@lists.linaro.org https://lists.linaro.org/mailman/listinfo/squad-dev