Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Handle pre-release tag

Romain Hunault requested to merge 728-handle-pre-release-tags into master

Description

Handle the pre-release tag within /e/OS filename

Issue(s)

https://gitlab.e.foundation/e/infra/backlog/-/issues/728

Test environment

  1. 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
  2. download following files within <home directory>/builds/full/<CHANNEL>/<DEVICE>
  3. 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

  1. 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
  2. track logs with docker logs -tf OTAtest
  3. from postman, launch a request
  4. confirm it returns e-0.22-q-20220228166119-stable-FP3 but not e-1.0-alpha-q-20220405176199-stable-FP3

test new implementation

  1. 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
  2. track logs with docker logs -tf OTAtest
  3. from postman, launch a request
  4. confirm it returns both e-0.22-q-20220228166119-stable-FP3 and e-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

/cc @arnauvp @AlexandreRouxDanzi

Edited by Romain Hunault

Merge request reports

Loading