← Back to team overview

launchpad-reviewers team mailing list archive

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

 

Colin Watson has proposed merging ~cjwatson/lp-archive:charm-only-amd64 into lp-archive:main.

Commit message:
charm: Only build on amd64

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/lp-archive/+git/lp-archive/+merge/439331

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.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/lp-archive:charm-only-amd64 into lp-archive:main.
diff --git a/charm/lp-archive/charmcraft.yaml b/charm/lp-archive/charmcraft.yaml
index e981550..27b0e26 100644
--- a/charm/lp-archive/charmcraft.yaml
+++ b/charm/lp-archive/charmcraft.yaml
@@ -3,9 +3,11 @@ bases:
   - build-on:
     - name: ubuntu
       channel: "22.04"
+      architectures: [amd64]
     run-on:
     - name: ubuntu
       channel: "22.04"
+      architectures: [amd64]
 parts:
   charm-wheels:
     source: https://git.launchpad.net/~ubuntuone-hackers/ols-charm-deps/+git/wheels