Fully Automated Serverless OTA Service for LineageOS
If you are willing to use HTTP URLs and one day you decide to switch to HTTPS, remember that the Updater app will NOT follow the redirect when the protocol changes. Therefore only HTTP -> HTTP or HTTPS -> HTTPS redirects are allowed.
Those API calls are just to show the potential of this Serverless stack. They may work ( or may not ) depending on which files I do have uploaded currently on my Basketbuild account.
Huawei Y635: https://ota.julianxhokaxhiu.com/api/v1/hwY635/unofficial/2d0af02b32
This OTA Service is done using:
ota.julianxhokaxhiu.com/api/v1/*/*/*
Forwarding URL - 301 Permanent Redirect - https://ota.julianxhokaxhiu.com/v1/$1/$2/index.json
Code repository where the generation script lives. Two branches exists:
.travis.yml
automated instructionsThe CI service is configured with the following environment variables:
gh-pages
branchhttps://basketbuild.com/uploads/devs/JulianXhokaxhiu
)See .travis.yml for more informations.
WARNING: delete any other directory in the root folder. Only device folders are allowed!
All my ZIP files are uploaded inside to the device type directory ( eg. /hwY635/lineage-14.1-20171226_235653-UNOFFICIAL-hwY635.zip
).