1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00

Limit snap build architectures (#11346)

Builds will fail on s390x, i386 and ppc64el because we depend on nodejs, which is only published for armhf, arm64 and amd64. This change merely tells the snap build farm to not waste time trying to build on architectures will will guarantee failure. Apologies for overlooking this in our previous PR.

Example build failures can be seen at [i386](https://launchpad.net/~build.snapcraft.io/+snap/53d5570c233b8b3663242f8d94dc21ad/+build/945935), [ppc64el](https://launchpad.net/~build.snapcraft.io/+snap/53d5570c233b8b3663242f8d94dc21ad/+build/945939), [s390x](https://launchpad.net/~build.snapcraft.io/+snap/53d5570c233b8b3663242f8d94dc21ad/+build/945940)
This commit is contained in:
Alan Pope 2020-05-09 05:39:19 +01:00 committed by GitHub
parent b09ec508c3
commit b9df5da1f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,11 @@ confinement: strict
base: core18 base: core18
adopt-info: gitea adopt-info: gitea
architectures:
- build-on: armhf
- build-on: amd64
- build-on: arm64
environment: environment:
GITEA_CUSTOM: "$SNAP_COMMON" GITEA_CUSTOM: "$SNAP_COMMON"
GITEA_WORK_DIR: "$SNAP_DATA" GITEA_WORK_DIR: "$SNAP_DATA"