mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 21:53:17 +00:00
1d8d6a43dc
This reverts commit d4fa2edf23
.
86 lines
1.8 KiB
YAML
86 lines
1.8 KiB
YAML
#kind: pipeline
|
|
#type: exec
|
|
#name: Continuous Integration
|
|
#
|
|
#steps:
|
|
#
|
|
#trigger:
|
|
# event:
|
|
# - push
|
|
# - pull_request
|
|
#
|
|
#node:
|
|
# server: builder
|
|
#
|
|
#---
|
|
|
|
kind: pipeline
|
|
type: exec
|
|
name: Release
|
|
|
|
steps:
|
|
- name: Prepare
|
|
commands:
|
|
- ln -s /var/lib/drone-runner-exec/.local $HOME/.local
|
|
|
|
- name: Build Intermediate Linux Release Artifact (Binary)
|
|
commands:
|
|
- bash ci.sh --build-linux
|
|
environment:
|
|
STANDALONE_KEYSTORE_PASS:
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
FDROID_KEYSTORE_PASS:
|
|
from_secret: FDROID_KEYSTORE_PASS
|
|
|
|
- name: Debug
|
|
commands:
|
|
- ls -la
|
|
- cat ci.sh
|
|
- bash ci.sh
|
|
|
|
- name: Build Intermediate Android Release Artifact (.APK)
|
|
commands:
|
|
- bash ci.sh --build-apk
|
|
environment:
|
|
STANDALONE_KEYSTORE_PASS:
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
FDROID_KEYSTORE_PASS:
|
|
from_secret: FDROID_KEYSTORE_PASS
|
|
|
|
- name: Sign Android Release Artifact (.APK) for Standalone Use
|
|
commands:
|
|
- ./ci.sh --sign-apk-standalone
|
|
environment:
|
|
STANDALONE_KEYSTORE_PASS:
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
FDROID_KEYSTORE_PASS:
|
|
from_secret: FDROID_KEYSTORE_PASS
|
|
|
|
- name: Sign Android Release Artifact (.APK) for F-Droid Repository
|
|
commands:
|
|
- ./ci.sh --sign-apk-fdroid
|
|
environment:
|
|
STANDALONE_KEYSTORE_PASS:
|
|
from_secret: STANDALONE_KEYSTORE_PASS
|
|
FDROID_KEYSTORE_PASS:
|
|
from_secret: FDROID_KEYSTORE_PASS
|
|
|
|
- name: Package Linux AppImage Artifact
|
|
commands:
|
|
- ./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
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|
|
|
|
node:
|
|
server: builder
|