mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Add CI config for test debug version publishing
This commit is contained in:
parent
b21ffaa528
commit
2ebf10c45b
32
.woodpecker/publish_debug.yml
Normal file
32
.woodpecker/publish_debug.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
pipeline:
|
||||||
|
build-apks:
|
||||||
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
|
commands:
|
||||||
|
# build the apks
|
||||||
|
- echo "$${SIGNING_KEY}" | base64 -d > app/keystore.p12
|
||||||
|
- ./gradlew assembleMainDebug -Dnightly_store_file="keystore.p12" -Dnightly_store_password="$${KEYSTOREPASS}" -Dnightly_key_alias="gadgetbridge" -Dnightly_key_password="$${KEYPASS}"
|
||||||
|
secrets: [ signing_key, keystorepass, keypass ]
|
||||||
|
|
||||||
|
publish_debug_version:
|
||||||
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
|
commands:
|
||||||
|
- cd ..
|
||||||
|
- pwd
|
||||||
|
- mkdir repoconfig
|
||||||
|
- cd repoconfig
|
||||||
|
- pwd
|
||||||
|
- git clone --depth 1 https://codeberg.org/Freeyourgadget/fdroid-repo-config.git
|
||||||
|
- ./fdroid-repo-config/repoconfig/publish_debug_version.sh
|
||||||
|
secrets: [ commit_token ]
|
||||||
|
|
||||||
|
on-error:
|
||||||
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
|
commands:
|
||||||
|
- cd ..
|
||||||
|
- mkdir -p repoconfig
|
||||||
|
- cd repoconfig
|
||||||
|
- git clone --depth 1 https://codeberg.org/Freeyourgadget/fdroid-repo-config.git || true
|
||||||
|
- ./fdroid-repo-config/repoconfig/create_issue_comment.sh "CI failed when publishing debug version"
|
||||||
|
when:
|
||||||
|
status: failure
|
||||||
|
secrets: [ commit_token ]
|
Loading…
Reference in New Issue
Block a user