← Back to issue list

remote-build doesn't support shorthand architecture format

View original Launchpad issue

Metadata

Project
snapcraft
Number
#2042167
Type
issue
State
open
Author
~gbeuzeboc
Labels
Created
2023-10-31 15:15:56.443792+00:00
Updated
2023-11-03 16:46:03.369484+00:00
Closed

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.