Commit 4a1b5f6a authored by Joey's avatar Joey

ci: use gitlab for weekly jobs only

Signed-off-by: Joey's avatarJoey <bevilacquajoey@gmail.com>
Change-Id: Id5403f584f288926ec41e1acbe4bf271a069abb1
parent 865c262b
Pipeline #63600113 passed with stage
in 13 minutes and 15 seconds
......@@ -32,27 +32,12 @@ before_script:
- yes | android-sdk-linux/tools/bin/sdkmanager --licenses
- set -o pipefail
stages:
- build
- test
assemble:
stage: build
script:
- ./gradlew assembleOssDebug
checks:
stage: test
script:
- ./gradlew check -PisCiBuild
weekly:
only:
- schedules
script:
- echo $KEYSTORE_FILE | base64 -d > gitlab.keystore
- ./gradlew assembleOssRelease -Pandroid.injected.signing.store.file="$(pwd)/gitlab.keystore" -Pandroid.injected.signing.store.password=$KEY_PASSWORD -Pandroid.injected.signing.key.alias=$KEY_ALIAS -Pandroid.injected.signing.key.password=$KEYSTORE_PASSWORD
- ./gradlew check :app:assembleOssDebug -PisCiBuild
artifacts:
paths:
- app/build/outputs/apk/oss/release/app-oss-release.apk
- app/build/outputs/apk/oss/debug/app-oss-debug.apk
expire_in: 30 days
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment