remote-build doesn't support shorthand architecture format
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
In the architecture documentation: https://forum.snapcraft.io/t/architectures/4972
It's mentioned:
> architectures:
> - build-on: [amd64]
>
> The shorthand format will also produce the same result:
>
> architectures:
> - amd64
When using remote build and using the semi-complete architecture with "build-on" remote-build is considering it. On the contrary, when using the shorthand architecture format, remote-build is ignoring it.
If both syntax are producing the same result, it should be the same for remote-build.
Using the shorthand architecture format allows us to specify the --build-on flag on top of the architecture definition with remote-build while the help specifically mention:
>If not specified in the snapcraft.yaml file, the list of
architectures to build can be set using the --build-on option.
If both are specified, an error will occur.
snapcraft 7.5.3
Evaluation history
No evaluation history available.