Proposal: Make Review Apps with Appetize.io
This is a little something I put together while writing a blog post on making review apps for Android applications with Appetize.io (gitlab-com/www-gitlab-com!49218 (merged))
Essentially it calls the appetize API via fastlane
to create an application on Appetize. If one exists on the given branch, it updates that application instead.
The stop job simply calls the delete endpoint via curl
once a given branch is deleted.
A further iteration could be adding auto-stop
to review apps, but there doesn't seem to be a limit on the number of applications uploaded, only limits on concurrent sessions and session lengths (see pricing)
What do you fine people think?
To-do before merging
-
sign up for an Appetize.io account -
create an API key and set it to an environment variable called APPETIZE_TOKEN
-
create a GitLab token that can fetch artifacts via the API and save it in a variable called PRIVATE_TOKEN
gitlab_api_access_token
Edited by Andrew Fontaine