Merge ~kzapalowicz/snappy-hwe-snaps/+git/build-scripts:feature/snap-build-job-honores-default-arches into ~snappy-hwe-team/snappy-hwe-snaps/+git/build-scripts:master
Status: | Merged |
---|---|
Approved by: | Simon Fels |
Approved revision: | 1025d0e9ec1fc82a8a96e53986c86cff48ab80ff |
Merged at revision: | 00a0c1788dbc670566b267c611dea6cf6be53587 |
Proposed branch: | ~kzapalowicz/snappy-hwe-snaps/+git/build-scripts:feature/snap-build-job-honores-default-arches |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/build-scripts:master |
Diff against target: |
22 lines (+3/-1) 1 file modified
scripts/trigger-lp-build.py (+3/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Simon Fels | Approve | ||
System Enablement Bot | continuous-integration | Approve | |
Review via email: mp+317763@code.launchpad.net |
Commit message
scripts: fix build snap on unsupported arch
By default the snap has been build for all arches available, that is:
armhf, arm64, amd64 and i386. Not all snaps, however, are build for
all of those archs and in such situation the release job fails as a
whole.
This commit adds code to query the arches enabled by default for a
-publish job so that the snap is build only for those that are
supported.
Description of the change
scripts: fix build snap on unsupported arch
By default the snap has been build for all arches available, that is:
armhf, arm64, amd64 and i386. Not all snaps, however, are build for
all of those archs and in such situation the release job fails as a
whole.
This commit adds code to query the arches enabled by default for a
-publish job so that the snap is build only for those that are
supported.
PASSED: Continuous integration, rev:f8f5be32f83 f65e232a5de5602 f43dbccf38a731 /jenkins. canonical. com/system- enablement/ job/generic- build-snap/ 985/ /jenkins. canonical. com/system- enablement/ job/generic- test-snap/ 678 /jenkins. canonical. com/system- enablement/ job/generic- update- snap-mp/ 893/console
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/system- enablement/ job/generic- build-snap/ 985/rebuild
https:/