-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Put in place a process for handling 'promoted' (and 'relegated') devices #557
Comments
|
DRAFT: work in progress, to be continued.... Build RetentionStrategyWhen a device is 'new', only one build is available, on both Download server (DS) and Build server (BS) While a device is supported by LOS, two builds will available on DS
When support is dropped for a device
Use cases to handle when building
Cases 1-6 can be handled per device in 'pre-' or Case 6 must be handled differently Old ideas The fix for this will be in our user scripts ( Assumptions:
Possible logic
|
Wed 28 Feb 24
`post-build.sh`
|
Test the new
|
|
A device is 'promoted' when LineageOS move it from one LOS version to a higher one in their build target list e.g. from
19.1
to20.0
.A device is 'relegated' when LineageOS remove it from their build target list
Promoted devices
What should happen for promoted builds is
At the moment, 1. is (should be) handled when
build.sh
callsclean_up.py
: that should keep$DELETE_OLD_ZIPS"
(currently 3) builds of the new version, and 1 build of any old versions that are currently present.As it stands - even if that is working as designed - it means we are keeping old builds around long after they are obsolete.For example after this month's build run, for some devices we had 18.1, 19.1 & 20.1 builds.
So we need a process to implement 2. The process needs to specify:
Same parts of the process can / should be automated, but other parts - specifically removal of the old version build artefacts - should have a manual check before they are performed.
Relegated devices
What should happen for relegated builds is
The text was updated successfully, but these errors were encountered: