Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suciptoid/android-ci
Mirror of https://gitlab.com/showcheap/android-ci
https://github.com/suciptoid/android-ci
android docker gitlab
Last synced: 7 days ago
JSON representation
Mirror of https://gitlab.com/showcheap/android-ci
- Host: GitHub
- URL: https://github.com/suciptoid/android-ci
- Owner: suciptoid
- Created: 2017-05-10T03:38:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T04:21:27.000Z (over 7 years ago)
- Last Synced: 2024-11-16T17:44:39.591Z (2 months ago)
- Topics: android, docker, gitlab
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Image for Build Android
GitLab CI image for building Android apps
This code on repo will automatically build on Gitlab Registry :
https://gitlab.com/showcheap/android-ci/container_registry
## Version
Please specify image version depends on your android project using docker images tag.
* `B` for Build Tools Version
* `T` for Target SDK VersionExample
```yml
image: registry.gitlab.com/showcheap/android-ci:T25-B25.0.3
```For android project using `targetSdkVersion` version `25` and `buildToolsVersion` version `25.0.3`
You can see available tag on branch section
https://gitlab.com/showcheap/android-ci/branches
## Example `.gitlab-ci.yml` file
You can specify tag for target SDK Version (If available, if not PR are welcome)```yml
image: registry.gitlab.com/showcheap/android-ci:T25-B25.0.3before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
- chmod +x ./gradlewcache:
key: "$CI_COMMIT_REF_NAME"
paths:
- .gradle/stages:
- test
- buildtest:
stage: test
script:
- ./gradlew checkbuild:
stage: build
script:
- ./gradlew assemble```