Update charmcraft.yaml to refine the bases

The idea here is to build on 20.04 but allow it to run on 20.04 and the
current release, 21.10.

Change-Id: I65b750f0548793367a8d8bd531bcc13d59a743cc
This commit is contained in:
Alex Kavanagh 2022-02-21 20:50:59 +00:00
parent 99b8c4430b
commit 03f4bfdffb
1 changed files with 13 additions and 8 deletions

View File

@ -19,11 +19,16 @@ parts:
cp -r $CHARMCRAFT_STAGE/* .
bases:
- name: ubuntu
channel: "20.04"
#architectures:
#- amd64
#- s390x
#- ppc64el
#- arm64
#- armhf
- build-on:
- name: ubuntu
channel: "20.04"
architectures:
- amd64
- s390x
- ppc64el
- arm64
run-on:
- name: ubuntu
channel: "20.04"
- name: ubuntu
channel: "21.10"