Send patch version only from 1.6
Description
S updater is still crashing when sending the maintenance number, so send it only when version is greater than 1.6
Issue(s)
e/backlog#5660 (comment 300439)
-
Download docker images
docker pull registry.gitlab.e.foundation/e/infra/lineageota:5660-send-maintenance-after-1.6
-
download following file and extract it within
<home directory>/builds/full/test/FP3
-
test with Postman (
Local server
from -e-OTA.postman_collection.json)-
device code
:FP3
-
build type
:test
-
Test procedures
test new implementation
- run
docker run \ -d \ -p 80:80 \ --rm \ -v "${PWD}/builds:/var/www/html/builds" \ --name OTAtest \ registry.gitlab.e.foundation/e/infra/lineageota:5660-send-maintenance-after-1.6
- track logs with
docker logs -tf OTAtest
- from postman modify postman request, add
eOS v1.5
in useragent, launch a request - confirm it returns a json with no maintenance version (always 1.4 or 1.5, no 1.4.1 or 1.5.1)
- modify postman request, add
eOS v1.6
in useragent - you should now see 1.5.1 and 1.4.1
fully validated on my own OTA test server
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation