Skip to content

Commit b52184e

Browse files
committed
PENG-2364 update the release workflow to use charmcraft from channel 3.x/stable and update the charmcraft.yaml by removing the support for ubuntu 24.04
1 parent 9ee23af commit b52184e

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: Release to latest/edge
15+
name: Release to Charmhub
1616

1717
on:
1818
workflow_dispatch:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Install dependencies
5151
run: |
5252
python3 -m pip install tox==4.18.0
53-
snap install charmcraft --channel 2.x/stable
53+
snap install charmcraft --channel 3.x/stable
5454
5555
- name: Upload charm to charmhub
5656
uses: canonical/charming-actions/[email protected]

charmcraft.yaml

+15-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
type: charm
2-
bases:
3-
- build-on:
4-
- name: ubuntu
5-
channel: "22.04"
6-
run-on:
7-
- name: ubuntu
8-
channel: "20.04"
9-
architectures: [amd64]
10-
- name: ubuntu
11-
channel: "22.04"
12-
architectures: [amd64]
13-
- name: ubuntu
14-
channel: "24.04"
15-
architectures: [amd64]
16-
parts:
17-
charm:
18-
charm-python-packages: [setuptools]
1+
type: charm
2+
bases:
3+
- build-on:
4+
- name: ubuntu
5+
channel: "22.04"
6+
run-on:
7+
- name: ubuntu
8+
channel: "20.04"
9+
architectures: [amd64]
10+
- name: ubuntu
11+
channel: "22.04"
12+
architectures: [amd64]
13+
parts:
14+
charm:
15+
charm-python-packages: [setuptools]

0 commit comments

Comments
 (0)