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 global pip and python3). See example here
- Update the CI to use Ubuntu 24.04
- Update the
publish.yaml and/or release.yaml to install LXD and not use destructive mode, since we are now building on a different Ubuntu version than the host, example PR
What needs to get done
- Use the
actions/setup-python to install Python 3.8, example
- Replace
runs-on: ubuntu-20.04 with runs-on: ubuntu-24.04, in the .github/workflows
- Update the
publish.yaml and/or release.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
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:
actions/setup-pythonto install Python 3.8 (affects globalpipandpython3). See example herepublish.yamland/orrelease.yamlto install LXD and not use destructive mode, since we are now building on a different Ubuntu version than the host, example PRWhat needs to get done
actions/setup-pythonto install Python 3.8, exampleruns-on: ubuntu-20.04withruns-on: ubuntu-24.04, in the.github/workflowspublish.yamland/orrelease.yamlto install LXD and not use destructive mode, since we are now building on a different Ubuntu version than the hostDefinition of Done
mainbranch