Architectures: "- build-not-on"?

i have a bunch of nodejs based snaps using the nodejs plugin …

that plugin tries download the specified nodejs binary from upstream before building …

for recent nodejs versions there is no i386 build anymore, so i end up with the following in all my nodejs based snaps now:

architectures:
  - build-on: amd64
  - build-on: armhf
  - build-on: arm64
  - build-on: s390x
  - build-on: ppc64el

this is rather annoying to maintain, should we perhaps have a way to simply exclude a single arch instead of listing all we support ?

Related: https://bugs.launchpad.net/snapcraft/+bug/1862256 and https://bugs.launchpad.net/launchpad/+bug/1862258

2 Likes