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

Skip to content

Adding preversion support to json answer

Alexandre Roux requested to merge 186-send-preversion-tag 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:186-send-preversion-tag
  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 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:186-send-preversion-tag
  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 and within e-1.0-alpha-q-20220405176199-stable-FP3 you should see a pre-version with alpha value

Technical details

Screenshots

Capture_d_écran_de_2022-04-13_11-57-49

Capture_d_écran_de_2022-04-13_11-57-40

Capture_d_écran_de_2022-04-13_11-57-28

Check list

  • Self review
  • Test procedure explained
  • Tested on fresh install
  • Tested applied as an update
  • License
  • Internal documentation
  • User documentation

Merge request reports

Loading