mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Add webhook to CI and update image version
This commit is contained in:
parent
23ff7d18f2
commit
cf53d161cc
@ -1,5 +1,5 @@
|
||||
default:
|
||||
image: "docker.io/abb128/android-build:latest@sha256:8df16e2badb5e42d2f5e3862683c7ff0ebdcc348affe059385e42eebef79302f"
|
||||
image: "docker.io/abb128/android-build:v2@sha256:4e544373291dc0866fcfc03a2894eda7e3c939e3686ddf3c45d933433c49b49a"
|
||||
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
@ -16,6 +16,7 @@ build:
|
||||
- ./setUpPropertiesCI.sh
|
||||
- gradle assembleRelease -s
|
||||
- mv build/outputs/apk/release/latinime-release.apk ./LatinIME-release-$CI_COMMIT_SHORT_SHA.apk
|
||||
- ./sendZulipMessage.sh "Alpha Keyboard Build - https://gitlab.futo.org/alex/latinime/-/jobs/$CI_JOB_ID/artifacts/raw/LatinIME-release-$CI_COMMIT_SHORT_SHA.apk"
|
||||
artifacts:
|
||||
name: "LatinIME-release-$CI_COMMIT_SHORT_SHA"
|
||||
paths:
|
||||
|
2
sendZulipMessage.sh
Executable file
2
sendZulipMessage.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
curl -X POST https://zulip.futo.org/api/v1/messages -u ${ZULIP_WEBHOOK?Need zulip webhook} --data-urlencode type=stream --data-urlencode 'to="Android Keyboard"' --data-urlencode topic=builds --data-urlencode "content=${1?Need content}"
|
Loading…
Reference in New Issue
Block a user