Merge pull request 'Ops: Bundle Fastlane Metadata in our F-Droid Repository' (#120) from fdroid-metadata into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/120 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
10
.drone.yml
|
@ -6,6 +6,7 @@ steps:
|
|||
- name: Prepare
|
||||
commands:
|
||||
- ln -s /var/lib/drone-runner-exec/.local $HOME/.local
|
||||
- ln -s /var/lib/drone-runner-exec/fdroid $HOME/fdroid
|
||||
|
||||
- name: Run Tests
|
||||
commands:
|
||||
|
@ -25,6 +26,8 @@ steps:
|
|||
|
||||
- name: Sign and Commit Nightly Android Release Artifact (.APK) for F-Droid Repository
|
||||
commands:
|
||||
- rm -rf $HOME/fdroid/build/org.selfprivacy.app.nightly && mkdir $HOME/fdroid/build/org.selfprivacy.app.nightly
|
||||
- git archive --format=tar HEAD | tar x -C $HOME/fdroid/build/org.selfprivacy.app.nightly
|
||||
- ./ci.py --sign-apk-fdroid-nightly
|
||||
environment:
|
||||
STANDALONE_KEYSTORE_PASS:
|
||||
|
@ -34,7 +37,7 @@ steps:
|
|||
GOOGLE_KEYSTORE_PASS:
|
||||
from_secret: GOOGLE_KEYSTORE_PASS
|
||||
|
||||
- name: Deploy F-Droid Repo
|
||||
- name: Deploy F-Droid Repository
|
||||
commands:
|
||||
- ./ci.py --deploy-fdroid-repo
|
||||
environment:
|
||||
|
@ -60,6 +63,7 @@ steps:
|
|||
- name: Prepare
|
||||
commands:
|
||||
- ln -s /var/lib/drone-runner-exec/.local $HOME/.local
|
||||
- ln -s /var/lib/drone-runner-exec/fdroid $HOME/fdroid
|
||||
- if podman volume exists release; then podman volume rm -f release; podman volume create release; else podman volume create release; fi
|
||||
- git config user.email "builder@selfprivacy.org"
|
||||
- git config user.name "Builder"
|
||||
|
@ -117,6 +121,8 @@ steps:
|
|||
|
||||
- name: Sign and Commit Android Release Artifact (.APK) for F-Droid Repository
|
||||
commands:
|
||||
- rm -rf $HOME/fdroid/build/org.selfprivacy.app && mkdir $HOME/fdroid/build/org.selfprivacy.app
|
||||
- git archive --format=tar HEAD | tar x -C $HOME/fdroid/build/org.selfprivacy.app
|
||||
- ./ci.py --sign-apk-fdroid
|
||||
environment:
|
||||
STANDALONE_KEYSTORE_PASS:
|
||||
|
@ -175,7 +181,7 @@ steps:
|
|||
- ln -s /var/lib/drone-runner-exec/.local $HOME/.local
|
||||
- podman unshare podman volume mount release
|
||||
|
||||
- name: Create Release and Deploy Artifacts
|
||||
- name: Deploy Artifacts to Gitea
|
||||
commands:
|
||||
- ./ci.py --deploy-gitea-release
|
||||
environment:
|
||||
|
|
8
android/app/src/nightly/AndroidManifest.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="org.selfprivacy.app">
|
||||
<application
|
||||
tools:replace="android:label"
|
||||
android:label="SelfPrivacy (Nightly)">
|
||||
</application>
|
||||
</manifest>
|
BIN
android/app/src/nightly/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 544 B |
BIN
android/app/src/nightly/res/mipmap-hdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
android/app/src/nightly/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 442 B |
BIN
android/app/src/nightly/res/mipmap-mdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
android/app/src/nightly/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 721 B |
BIN
android/app/src/nightly/res/mipmap-xhdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
android/app/src/nightly/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
android/app/src/nightly/res/mipmap-xxhdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
android/app/src/nightly/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
android/app/src/nightly/res/mipmap-xxxhdpi/launcher_icon.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
4
ci.py
|
@ -127,7 +127,7 @@ def sign_apk_fdroid_nightly():
|
|||
podman_offline(f"{CONTAINER_HOME}/fdroid", f"rm -rf {CONTAINER_HOME}/fdroid/unsigned/*")
|
||||
podman_offline(f"{CONTAINER_HOME}/fdroid",
|
||||
f"test ! -f {CONTAINER_HOME}/fdroid/repo/{APP_NAME_NIGHTLY}_{APP_BUILD_ID_NIGHTLY}.apk",
|
||||
"&& cp ../src/build/app/outputs/flutter-apk/app-nightly-debug.apk",
|
||||
"&& cp ../src/build/app/outputs/flutter-apk/app-nightly-release.apk",
|
||||
f"unsigned/{APP_NAME_NIGHTLY}_{APP_BUILD_ID_NIGHTLY}.apk || echo exist")
|
||||
podman_offline(f"{CONTAINER_HOME}/fdroid", "fdroid publish")
|
||||
podman_offline(f"{CONTAINER_HOME}/fdroid", "fdroid update")
|
||||
|
@ -166,7 +166,7 @@ def ci_build_linux():
|
|||
|
||||
def ci_build_apk():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "chown -R $(id -u):$(id -g) /tmp/gradle /tmp/flutter_pub_cache",
|
||||
"&& flutter build apk --flavor nightly --debug")
|
||||
"&& flutter build apk --flavor nightly")
|
||||
|
||||
def ci_run_tests():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "flutter test",
|
||||
|
|
BIN
fastlane/metadata/android/en-US/images/icon.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 973 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 791 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1 @@
|
|||
Nightly builds of SelfPrivacy app.
|
BIN
metadata/org.selfprivacy.app.nightly/en-US/images/icon.png
Normal file
After Width: | Height: | Size: 13 KiB |
|
@ -0,0 +1 @@
|
|||
Self-hosted services without pain
|
1
metadata/org.selfprivacy.app.nightly/en-US/title.txt
Normal file
|
@ -0,0 +1 @@
|
|||
SelfPrivacy (Nightly)
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 9.4 KiB |