Commit Graph

19 Commits

Author SHA1 Message Date
root
1e4b2f00ba Fix 2025-10-02 17:49:43 +00:00
root
82850b4556 fix gitlab ci 2025-10-02 17:43:34 +00:00
root
a48f947d65 better 2025-10-02 17:15:01 +00:00
factory-droid[bot]
e4e56d76af Add automatic GitLab Releases with versioning
- Build release APKs for all branches (dev, main, feature/*, tags)
- Auto-create GitLab Releases with version v0.0.{PIPELINE_ID}
- Support semantic versioning via git tags (e.g., v0.0.3)
- Include all APK variants (arm64, arm32, x86_64) and torrentengine AAR
- Release triggers automatically on dev/main branches after successful build
- Full release description with commit info and download links
- Artifacts expire in 90 days for releases, 30 days for builds
- Use GitLab Release API with fallback for updates
2025-10-02 14:17:17 +00:00
factory-droid[bot]
4306a9038a Simplify GitLab CI/CD configuration
- Removed complex before_script logic and manual Flutter installation
- Use ghcr.io/cirruslabs/flutter:stable image for Flutter builds
- Simplified job rules using modern GitLab syntax
- Increased JVM heap to 2048m for better performance
- Removed manual local.properties creation (handled by Gradle)
- Cleaner artifact naming and job structure
- Kept all essential jobs: torrent-engine, apk builds, tests, deploy
2025-10-02 14:01:32 +00:00
factory-droid[bot]
18295e1bc4 fix(ci): create local.properties file before Gradle builds
- Add before_script to create local.properties dynamically
- Set flutter.sdk from FLUTTER_ROOT environment variable
- Set sdk.dir from ANDROID_SDK_ROOT environment variable
- Add ANDROID_HOME as fallback for SDK location
- Auto-detect Android SDK path in CI
- Fixes: Flutter plugin loader requiring local.properties
2025-10-02 12:08:39 +00:00
factory-droid[bot]
ab91ce7e46 fix(ci): handle missing local.properties in CI environment
- Check if local.properties exists before reading
- Fallback to FLUTTER_ROOT environment variable
- Add FLUTTER_ROOT to CI variables
- Set default Flutter path to /opt/flutter for CI
- Fixes: 'local.properties (No such file or directory)' error
2025-10-02 11:58:59 +00:00
factory-droid[bot]
db192b3c76 ci: configure for GitLab Instance Runners
- Use saas-linux-medium-amd64 tag for TorrentEngine build (4GB RAM, 2 cores)
- Update documentation with Instance Runner setup guide
- Add comparison table for different runner sizes
- Keep docker tag for other jobs as fallback
2025-10-02 11:26:05 +00:00
factory-droid[bot]
83842efb68 ci: optimize RAM usage and add CI/CD pipelines
- Reduce Gradle RAM from 4GB to 2GB with optimizations
- Add GitLab CI/CD with separate jobs for TorrentEngine and APK
- Add GitHub Actions workflow as alternative
- Enable parallel builds and caching
- Configure automated artifact uploads
- Add comprehensive CI/CD documentation
2025-10-02 11:14:54 +00:00
ddf9508485 fix 2025-07-13 15:15:53 +03:00
642bc79353 fix ci/cd 2025-07-13 15:11:57 +03:00
26cec70ef3 change docker image for gitlab ci/cd 2025-07-13 15:07:41 +03:00
988170a441 fix gitlab ci/cd 2025-07-13 15:01:55 +03:00
2e29034b9a fix build gitlab ci/cd 2025-07-13 14:57:51 +03:00
d5b28dd601 fix gitlab ci/cd build 2025-07-13 14:51:46 +03:00
a04d6dc457 fix ci/cd 2025-07-13 14:47:34 +03:00
b392e154f8 fix gitlab ci/cd 2025-07-13 14:43:28 +03:00
d2910cd35f CI: use cirrusci/flutter:stable 2025-07-13 14:39:06 +03:00
345ea137b4 CI: shared-runner builds for Android & Linux 2025-07-13 14:37:27 +03:00