Merge ~cjwatson/lp-archive:charm-only-amd64 into lp-archive:main

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 3a36ea0f971be39b1882a44e5d1fe961b87952b4
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/lp-archive:charm-only-amd64
Merge into: lp-archive:main
Diff against target: 16 lines (+2/-0)
1 file modified
charm/lp-archive/charmcraft.yaml (+2/-0)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+439331@code.launchpad.net

Commit message

charm: Only build on amd64

Description of the change

There's currently no particular reason to waste time and space building for other architectures, and building for s390x currently fails due to the `charm` snap being unavailable in the `2.x/stable` channel.

Similar to https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/439057.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

Trivial.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charm/lp-archive/charmcraft.yaml b/charm/lp-archive/charmcraft.yaml
2index e981550..27b0e26 100644
3--- a/charm/lp-archive/charmcraft.yaml
4+++ b/charm/lp-archive/charmcraft.yaml
5@@ -3,9 +3,11 @@ bases:
6 - build-on:
7 - name: ubuntu
8 channel: "22.04"
9+ architectures: [amd64]
10 run-on:
11 - name: ubuntu
12 channel: "22.04"
13+ architectures: [amd64]
14 parts:
15 charm-wheels:
16 source: https://git.launchpad.net/~ubuntuone-hackers/ols-charm-deps/+git/wheels

Subscribers

People subscribed via source and target branches