Handle pre-release tag
Description
Handle the pre-release tag within /e/OS filename
Issue(s)
https://gitlab.e.foundation/e/infra/backlog/-/issues/728
Test environment
- Download docker images
docker pull registry.gitlab.e.foundation/e/infra/lineageota:production
docker pull registry.gitlab.e.foundation/e/infra/lineageota:728-handle-pre-release-tags
- download following files within
<home directory>/builds/full/<CHANNEL>/<DEVICE>
- https://images.ecloud.global/stable/FP3/e-0.22-q-20220228166119-stable-FP3.zip
- https://images.ecloud.global/stable/FP3/e-0.22-q-20220228166119-stable-FP3.zip.prop
- https://images.ecloud.global/stable/FP3/e-0.22-q-20220228166119-stable-FP3.zip.sha256sum
- https://images.ecloud.global/stable/FP3/e-0.22-q-20220228166119-stable-FP3.zip.md5sum
- https://gitlab.e.foundation/e/priv/os/build/-/jobs/285382/artifacts/raw/zips/FP3/e-1.0-alpha-q-20220405176199-stable-FP3.zip
- https://gitlab.e.foundation/e/priv/os/build/-/jobs/285382/artifacts/raw/zips/FP3/e-1.0-alpha-q-20220405176199-stable-FP3.zip.prop
- https://gitlab.e.foundation/e/priv/os/build/-/jobs/285382/artifacts/raw/zips/FP3/e-1.0-alpha-q-20220405176199-stable-FP3.zip.sha256sum
- https://gitlab.e.foundation/e/priv/os/build/-/jobs/285382/artifacts/raw/zips/FP3/e-1.0-alpha-q-20220405176199-stable-FP3.zip.md5sum
- test with Postman (
Local server
from -e-OTA.postman_collection.json)-
device code
:FP3
-
build type
:stable
-
incremental
:eng.root.20220122.015514
-
Test procedures
test current 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:production
- track logs with
docker logs -tf OTAtest
- from postman, launch a request
- confirm it returns
e-0.22-q-20220228166119-stable-FP3
but note-1.0-alpha-q-20220405176199-stable-FP3
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:728-handle-pre-release-tags
- track logs with
docker logs -tf OTAtest
- from postman, launch a request
- confirm it returns both
e-0.22-q-20220228166119-stable-FP3
ande-1.0-alpha-q-20220405176199-stable-FP3
Technical details
Screenshots
Check list
-
Self review -
Test procedure explained -
Tested on fresh install -
Tested applied as an update -
License -
Internal documentation -
User documentation
Edited by Romain Hunault