Compare commits
122
Commits
drone
..
v122092701
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad279c6683 | ||
|
|
5f0817ddb7 | ||
|
|
7124cbcacd | ||
|
|
2a710a1a08 | ||
|
|
82ec2445a1 | ||
|
|
cabb6d494d | ||
|
|
5c12481813 | ||
|
|
b16f86dda1 | ||
|
|
2bc28db2cc | ||
|
|
bf1b680b4a | ||
|
|
d81fb79b4f | ||
|
|
144067d5b6 | ||
|
|
8106faa45c | ||
|
|
d9ef301e0f | ||
|
|
90b52232ab | ||
|
|
0f000ea359 | ||
|
|
fb8f81a4c8 | ||
|
|
a76b3dd2a9 | ||
|
|
91aed5a777 | ||
|
|
8823cc6c6c | ||
|
|
74ef4da15b | ||
|
|
bd96c67788 | ||
|
|
da71de6806 | ||
|
|
0264da8ccc | ||
|
|
270d959ee0 | ||
|
|
6d11dfb80c | ||
|
|
4184bbb900 | ||
|
|
4c12c9d570 | ||
|
|
f4db02521d | ||
|
|
01763556b1 | ||
|
|
e2411c00d8 | ||
|
|
0473a5f7bc | ||
|
|
d0d6a4378c | ||
|
|
1dfa3c9f07 | ||
|
|
815f00e764 | ||
|
|
bdc77ab8ef | ||
|
|
6bd06cb458 | ||
|
|
e9e8bee6c9 | ||
|
|
ff6038dbd4 | ||
|
|
8146cff011 | ||
|
|
fc4c48dd12 | ||
|
|
94f1ec943c | ||
|
|
0278540fb2 | ||
|
|
109050d0cf | ||
|
|
0392e1b406 | ||
|
|
8b2be5c55c | ||
|
|
e6afb4702d | ||
|
|
8cf462a755 | ||
|
|
17293e5574 | ||
|
|
a99286a9b7 | ||
|
|
5531034086 | ||
|
|
fbcb428e96 | ||
|
|
e281751bb0 | ||
|
|
0eed9a8d07 | ||
|
|
9603860bae | ||
|
|
75b566a38d | ||
|
|
fb572dbb27 | ||
|
|
34028949d7 | ||
|
|
44a0469b17 | ||
|
|
c87473e8f1 | ||
|
|
de43abf019 | ||
|
|
e60f3a9d91 | ||
|
|
255fbcb12f | ||
|
|
0caeb94e64 | ||
|
|
6f6a42b878 | ||
|
|
67d54f0dd7 | ||
|
|
437aa0abec | ||
|
|
216c639a23 | ||
|
|
7258452625 | ||
|
|
d0d82751e2 | ||
|
|
3b8f4991e9 | ||
|
|
2547ce824a | ||
|
|
59eb399cfa | ||
|
|
495b101355 | ||
|
|
afcc55e907 | ||
|
|
0c570efc47 | ||
|
|
a23a4cea0e | ||
|
|
78cb5d047f | ||
|
|
a9caaefb4d | ||
|
|
4c78b22614 | ||
|
|
1d5ab3205e | ||
|
|
df4903cae5 | ||
|
|
2a78be69b5 | ||
|
|
8c69bb8c3c | ||
|
|
9203012a97 | ||
|
|
2a44162c5a | ||
|
|
20588aab81 | ||
|
|
0c8e49214f | ||
|
|
97d5063339 | ||
|
|
7c37b183d7 | ||
|
|
82c4a5a1f9 | ||
|
|
47b7062e16 | ||
|
|
b9497ca939 | ||
|
|
1258ed3ad3 | ||
|
|
d838f509d4 | ||
|
|
3c5b606a02 | ||
|
|
d1481a1db6 | ||
|
|
d654b1b0bd | ||
|
|
f56861a3c2 | ||
|
|
492e7e4aed | ||
|
|
551a3e3caa | ||
|
|
c224b8a0b3 | ||
|
|
13ea7a693b | ||
|
|
0f3c48dd8e | ||
|
|
d4c2373bac | ||
|
|
4f32097821 | ||
|
|
37fa4a1a8e | ||
|
|
112194dd4f | ||
|
|
72d9ef92d2 | ||
|
|
1392e2a571 | ||
|
|
e9cb3d2f37 | ||
|
|
dec620a409 | ||
|
|
4d29ee0b92 | ||
|
|
33333ca998 | ||
|
|
8d87eef0fc | ||
|
|
5a26513ed7 | ||
|
|
5b7f5225d8 | ||
|
|
03f53bf9c9 | ||
|
|
e06e6d580d | ||
|
|
63e8649512 | ||
|
|
6260c3fc06 | ||
|
|
77917dd940 |
+114
-8
@@ -1,20 +1,126 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: mingc/android-build-box:latest
|
||||
commands:
|
||||
- ./gradlew build
|
||||
|
||||
- name: code-analysis
|
||||
- name: Anylyse
|
||||
image: mingc/android-build-box:latest
|
||||
failure: ignore
|
||||
detach: true
|
||||
commands:
|
||||
- ls -la
|
||||
- ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN
|
||||
- echo "---------------------------------------------------------"
|
||||
- echo "Analysing..."
|
||||
- ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\""
|
||||
- echo "---------------------------------------------------------"
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: sonarScannerHostUrl
|
||||
SONAR_LOGIN:
|
||||
from_secret: sonarScannerLogin
|
||||
- name: BuildAndTest
|
||||
image: mingc/android-build-box:latest
|
||||
commands:
|
||||
- echo "Building..."
|
||||
- ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false
|
||||
- echo "---------------------------------------------------------"
|
||||
- echo "Testing..."
|
||||
- echo "---------------------------------------------------------"
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: sonarScannerHostUrl
|
||||
SONAR_LOGIN:
|
||||
from_secret: sonarScannerLogin
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Publish
|
||||
|
||||
steps:
|
||||
- name: createTag
|
||||
image: ubuntu:latest
|
||||
commands:
|
||||
- apt-get update && apt-get install -y git
|
||||
- ./build.sh --publish --from-ci
|
||||
- git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git
|
||||
- git push pushing --tags
|
||||
environment:
|
||||
GITEA_USR:
|
||||
from_secret: giteaUsr
|
||||
GITEA_PASS:
|
||||
from_secret: giteaPass
|
||||
|
||||
- name: scpFiles
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: amine-louveau.fr
|
||||
username: ubuntu
|
||||
key:
|
||||
from_secret: privateKey
|
||||
port: 22
|
||||
target: /home/ubuntu/
|
||||
source: version.txt
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: amine-louveau.fr
|
||||
user: ubuntu
|
||||
key:
|
||||
from_secret: privateKey
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- cd /home/ubuntu
|
||||
- sudo rm -rf /var/www/amine/version.txt
|
||||
- sudo chown www-data:www-data ./version.txt
|
||||
- sudo mv version.txt /var/www/amine/
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Release
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: mingc/android-build-box:latest
|
||||
commands:
|
||||
- echo "Generate APK"
|
||||
- ./gradlew :androidApp:assembleGithubConfigRelease -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false
|
||||
- echo "---------------------------------------------------------"
|
||||
- echo "Get Key"
|
||||
- wget https://amine-louveau.fr/key
|
||||
- echo "---------------------------------------------------------"
|
||||
- echo "Zipalign"
|
||||
- $ANDROID_HOME/build-tools/31.0.0/zipalign -f -v 4 androidApp/build/outputs/apk/githubConfig/release/androidApp-githubConfig-release-unsigned.apk androidApp/build/outputs/apk/githubConfig/release/android-prod-released-ziped.apk
|
||||
- echo "---------------------------------------------------------"
|
||||
- echo "Sign"
|
||||
- $ANDROID_HOME/build-tools/31.0.0/apksigner sign -v --out signed.apk --ks ./key --ks-key-alias $YOUR_KEY_ALIAS --ks-pass pass:$YOUR_KEYSTORE_PASSWORD --v1-signing-enabled true --v2-signing-enabled true androidApp/build/outputs/apk/githubConfig/release/android-prod-released-ziped.apk
|
||||
- echo "---------------------------------------------------------"
|
||||
- echo "Verify"
|
||||
- $ANDROID_HOME/build-tools/31.0.0/apksigner verify signed.apk
|
||||
environment:
|
||||
YOUR_KEYSTORE_PASSWORD:
|
||||
from_secret: keyPass
|
||||
YOUR_KEY_ALIAS:
|
||||
from_secret: keyAlias
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: giteaAPI
|
||||
base_url: https://gitea.amine-louveau.fr
|
||||
files: signed.apk
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
@@ -10,7 +10,7 @@ Please read the guidelines before contributing, and follow them (or try to) when
|
||||
|
||||
There are many ways to contribute to this project, you could [translate the app](https://crowdin.com/project/readerforselfoss), report bugs, request missing features, suggest enhancements and changes to existing ones. You also can improve the README with useful tips that could help the other users.
|
||||
|
||||
You can fork the repository, and [help me solve some issues](https://github.com/aminecmi/ReaderforSelfoss/issues?q=is%3Aissue+is%3Aopen+label%3A%22Up+For+Grabs%22) or [develop new things](https://github.com/aminecmi/ReaderforSelfoss/issues)
|
||||
You can fork the repository, and [help me solve some issues](https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/issues?q=is%3Aissue+is%3Aopen+label%3A%22Up+For+Grabs%22) or [develop new things](https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/issues)
|
||||
|
||||
### What I can't help you with.
|
||||
|
||||
@@ -28,7 +28,7 @@ Always check if the web version of your instance is working.
|
||||
|
||||
### Pull requests
|
||||
|
||||
* Don't create a PR for translations. See [here](https://github.com/aminecmi/ReaderforSelfoss/pull/170#issuecomment-355715654) for an explanation why.
|
||||
* Don't create a PR for translations.
|
||||
* Please ask before starting to work on an issue. I may be working on it, or someone else could be doing so.
|
||||
* Each pull request should implement **ONE** feature or bugfix. Keep in mind that you can submit as many PR as you want.
|
||||
* Your code must be simple and clear enough to avoid using comments to explain what it does.
|
||||
|
500 Internal Server Error
Gitea Version: 1.28.0+dev-215-g805697089e | ||||