Skip to content

Commit

Permalink
[snap] Build snap with core24
Browse files Browse the repository at this point in the history
Signed-off-by: Arif Ali <[email protected]>
  • Loading branch information
arif-ali committed Jun 15, 2024
1 parent 21527d7 commit 569761d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
UBUNTU_PRIOR_IMAGE_NAME: "ubuntu-2204-jammy-v20240501"
UBUNTU_PRIOR2_IMAGE_NAME: "ubuntu-2004-focal-v20240426"
UBUNTU_PRIOR3_IMAGE_NAME: "ubuntu-1804-bionic-v20240116a"
UBUNTU_SNAP_IMAGE_NAME: "ubuntu-2204-jammy-v20240501"
UBUNTU_SNAP_IMAGE_NAME: "ubuntu-2404-noble-amd64-v20240423"
UBUNTU_DEVEL_FAMILY_NAME: "ubuntu-2410-amd64"

# Curl-command prefix for downloading task artifacts, simply add the
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
concurrency:
group: snap-build
cancel-in-progress: true
Expand Down
11 changes: 5 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ description: |
primarily aimed at Linux distributions and other UNIX-like operating
systems.
grade: stable
base: core22
base: core24
confinement: classic
adopt-info: sos
license: GPL-2.0-or-later
environment:
PYTHONPATH: ${SNAP}/lib/python3.10/site-packages:${SNAP}/usr/lib/python3/dist-packages:${PYTHONPATH}
PYTHONPATH: ${SNAP}/lib/python3.12/site-packages:${SNAP}/usr/lib/python3/dist-packages:${PYTHONPATH}

parts:
sos:
Expand All @@ -24,13 +24,12 @@ parts:
build-packages:
- git
- python3
- snapcraft
- gettext
- python3-venv
stage-packages:
- python3.10-minimal
- libpython3.10-minimal
- libpython3.10-stdlib
- python3.12-minimal
- libpython3.12-minimal
- libpython3.12-stdlib
python-packages:
- pip
- setuptools
Expand Down

0 comments on commit 569761d

Please sign in to comment.