Open
Description
Context
Because of the Ubuntu 20.04 deprecation we'll need to move away from 20.04 in this and all CKF repos.
This will affect the CI, that is still relying on 20.04 and Python 3.8 for different actions (building, releasing, testing the charms).
Ideally we should migrate from 20.04 in all aspects of our charms (i.e. bases, python version etc) but this will be a significant undertaking. Thus for now we'll focus on:
- Using the
actions/setup-python
to install Python 3.8 (affects globalpip
andpython3
). See example here - Update the CI to use Ubuntu 24.04
- Update the
publish.yaml
and/orrelease.yaml
to install LXD and not use destructive mode, since we are now building on a different Ubuntu version than the host
What needs to get done
- Use the
actions/setup-python
to install Python 3.8, example - Replace
runs-on: ubuntu-20.04
withruns-on: ubuntu-24.04
, in the.github/workflows
- Update the
publish.yaml
and/orrelease.yaml
to install LXD and not use destructive mode, since we are now building on a different Ubuntu version than the host
Definition of Done
- The CI of the repo is not using Ubuntu 20.04 anywhere
- The changes are merged to the
main
branch