added APK build and Gitea release to CI pipelines

This commit is contained in:
2026-02-26 13:59:22 +01:00
parent d29b8df9e3
commit f155ff88c8
3 changed files with 64 additions and 6 deletions

View File

@@ -84,6 +84,25 @@ steps:
- docker pull gitea.gilmour109.de/gilmour109/calchat-server:latest
- docker compose -f /root/calchat-mongo/docker-compose.yml up -d
- name: build_apk
image: gitea.gilmour109.de/gilmour109/eas-build:latest
environment:
EXPO_TOKEN:
from_secret: expo_token
commands:
- npm ci
- npm run build:apk
- name: release_apk
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.gilmour109.de
files:
- calchat.apk
title: latest
depends_on:
- server_build_and_test
- check_for_formatting
@@ -131,6 +150,25 @@ steps:
- export COMMIT=$DRONE_COMMIT_SHA
- envsubst < /home/debian/manifest.yml | sudo kubectl apply -f -
- name: build_apk
image: gitea.gilmour109.de/gilmour109/eas-build:latest
environment:
EXPO_TOKEN:
from_secret: expo_token
commands:
- npm ci
- npm run build:apk
- name: release_apk
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.gilmour109.de
files:
- calchat.apk
title: ${DRONE_TAG}
---
kind: pipeline
@@ -172,3 +210,22 @@ steps:
- export NAME=$TAG
- export COMMIT=$DRONE_COMMIT_SHA
- envsubst < /home/debian/manifest.yml | sudo kubectl apply -f -
- name: build_apk
image: gitea.gilmour109.de/gilmour109/eas-build:latest
environment:
EXPO_TOKEN:
from_secret: expo_token
commands:
- npm ci
- npm run build:apk
- name: release_apk
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.gilmour109.de
files:
- calchat.apk
title: ${DRONE_COMMIT_SHA:0:8}