create staging and prod apks
Description
Update gitlab ci so that it can create both prod and staging apks. For all our build variants. Have also cleaned up the file and removed duplicates
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/3481
10 commandments of code review
Summary by CodeRabbit
-
Refactor
- Streamlined the build pipeline by separating production and staging build jobs, each generating their own APK artifacts.
- Modularized APK generation into distinct jobs for production and staging, improving clarity and artifact handling.
- Updated job dependencies and execution order for better maintainability and reliability.
-
Chores
- Simplified and cleaned up CI configuration, removing unnecessary package installations and redundant rules.
Edited by CodeRabbitAI