implement ota updates
lint / ruff (push) Successful in 14s
tests / desktop (push) Successful in 22s
docker / image (push) Successful in 43s
tests / web (push) Successful in 39s
tests / android-core (push) Successful in 1m1s
tests / backend (push) Successful in 2m12s
android / apk (push) Successful in 6m50s
lint / ruff (push) Successful in 14s
tests / desktop (push) Successful in 22s
docker / image (push) Successful in 43s
tests / web (push) Successful in 39s
tests / android-core (push) Successful in 1m1s
tests / backend (push) Successful in 2m12s
android / apk (push) Successful in 6m50s
This commit is contained in:
25 files changed
+2353
-4
No files matched your search
@@ -55,6 +55,30 @@ class EnvSettings(BaseSettings):
|
||||
default=True,
|
||||
description="Run the Telegram command bot when a token is configured.",
|
||||
)
|
||||
|
||||
# ---- Android OTA updates -----------------------------------------------
|
||||
# The Gitea repository is private, so these cannot be read anonymously.
|
||||
# The token is a read-only personal access token; it never leaves the
|
||||
# backend, and the Android client only sees /api/updates/android.
|
||||
gitea_url: str = Field(
|
||||
default="https://git.timka.su",
|
||||
description="Base URL of the Gitea instance that runs the Android workflow.",
|
||||
)
|
||||
gitea_repo: str = Field(
|
||||
default="timka123/kadence",
|
||||
description="owner/repository whose Actions artifacts carry the APK.",
|
||||
)
|
||||
gitea_token: str = Field(
|
||||
default="",
|
||||
description=(
|
||||
"Read-only Gitea token used to read Actions artifacts. Empty disables "
|
||||
"the Android update endpoint."
|
||||
),
|
||||
)
|
||||
gitea_update_branch: str = Field(
|
||||
default="master",
|
||||
description="Only successful builds from this branch are offered as updates.",
|
||||
)
|
||||
api_token: str = Field(
|
||||
default="",
|
||||
description=(
|
||||
|
||||
Reference in new issue
Block a user