2022-09-09 13:58:08 +00:00
|
|
|
#kind: pipeline
|
|
|
|
#type: exec
|
|
|
|
#name: Continuous Integration
|
|
|
|
#
|
|
|
|
#steps:
|
|
|
|
#
|
|
|
|
#trigger:
|
|
|
|
# event:
|
|
|
|
# - push
|
|
|
|
# - pull_request
|
|
|
|
#
|
|
|
|
#node:
|
|
|
|
# server: builder
|
|
|
|
#
|
|
|
|
#---
|
|
|
|
|
2022-08-27 12:18:03 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
2022-09-09 13:58:08 +00:00
|
|
|
name: Release
|
2022-09-09 11:25:08 +00:00
|
|
|
|
2022-09-09 14:28:09 +00:00
|
|
|
environment:
|
|
|
|
HOME: /var/lib/drone-runner-exec
|
|
|
|
|
2022-08-31 10:17:35 +00:00
|
|
|
steps:
|
2022-09-09 14:00:40 +00:00
|
|
|
- name: Debug
|
|
|
|
commands:
|
2022-09-09 14:28:09 +00:00
|
|
|
- echo $HOME
|
2022-09-09 14:24:24 +00:00
|
|
|
- podman images
|
2022-09-09 14:00:40 +00:00
|
|
|
- ls -la
|
|
|
|
|
2022-09-09 13:58:08 +00:00
|
|
|
- name: Build Intermediate Linux Release Artifact (Binary)
|
|
|
|
commands:
|
|
|
|
- ./ci.sh --build-linux
|
2022-09-09 14:11:38 +00:00
|
|
|
environment:
|
|
|
|
STANDALONE_KEYSTORE_PASS:
|
|
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
|
|
FDROID_KEYSTORE_PASS:
|
|
|
|
from_secret: FDROID_KEYSTORE_PASS
|
2022-09-09 13:58:08 +00:00
|
|
|
|
|
|
|
- name: Build Intermediate Android Release Artifact (.APK)
|
|
|
|
commands:
|
|
|
|
- ./ci.sh --build-apk
|
2022-09-09 14:11:38 +00:00
|
|
|
environment:
|
|
|
|
STANDALONE_KEYSTORE_PASS:
|
|
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
|
|
FDROID_KEYSTORE_PASS:
|
|
|
|
from_secret: FDROID_KEYSTORE_PASS
|
2022-09-09 13:58:08 +00:00
|
|
|
|
|
|
|
- name: Sign Android Release Artifact (.APK) for Standalone Use
|
|
|
|
commands:
|
|
|
|
- ./ci.sh --sign-apk-standalone
|
2022-09-09 14:11:38 +00:00
|
|
|
environment:
|
|
|
|
STANDALONE_KEYSTORE_PASS:
|
|
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
|
|
FDROID_KEYSTORE_PASS:
|
|
|
|
from_secret: FDROID_KEYSTORE_PASS
|
2022-09-09 13:58:08 +00:00
|
|
|
|
|
|
|
- name: Sign Android Release Artifact (.APK) for F-Droid Repository
|
|
|
|
commands:
|
|
|
|
- ./ci.sh --sign-apk-fdroid
|
2022-09-09 14:11:38 +00:00
|
|
|
environment:
|
|
|
|
STANDALONE_KEYSTORE_PASS:
|
|
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
|
|
FDROID_KEYSTORE_PASS:
|
|
|
|
from_secret: FDROID_KEYSTORE_PASS
|
2022-09-09 13:58:08 +00:00
|
|
|
|
|
|
|
- name: Package Linux AppImage Artifact
|
2022-08-31 10:17:35 +00:00
|
|
|
commands:
|
2022-09-09 13:58:08 +00:00
|
|
|
- ./ci.sh --package-linux-appimage
|
|
|
|
|
|
|
|
- name: Package Linux Flatpak Artifact
|
|
|
|
commands:
|
|
|
|
- ./ci.sh --package-linux-flatpak
|
|
|
|
|
|
|
|
- name: Package Linux Archive Artifact
|
|
|
|
commands:
|
|
|
|
- ./ci.sh --package-linux-archive
|
2022-08-31 10:17:35 +00:00
|
|
|
|
2022-08-31 11:55:54 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
2022-09-09 13:58:08 +00:00
|
|
|
- tag
|
2022-08-31 11:55:54 +00:00
|
|
|
|
2022-08-31 10:17:35 +00:00
|
|
|
node:
|
|
|
|
server: builder
|