Spread on armhf

Hey guys,
Is there any way to have snap tests with spread backend in other arch than the machine launching them?. Specifically imagine that I have a snap that can only be built for armhf. I would like to have spread configured so that in my amd64 machine I launch the tests and a backend starts where I can test it is deployed ok, etc…

Hi @rmescandon, sure, spread by itself doesn’t impose any restriction about the target architecture. As an example take a look at the external backend in snapd’s suite https://github.com/snapcore/snapd/blob/master/spread.yaml#L166 we use it for validating the core snap on all the reference platforms, including armhf and arm64 based systems. Here are some instructions about how to set it up https://github.com/snapcore/snapd/blob/master/tests/external-backend.md

Thanks @fgimenez . I’ll give it a go using external backends