cleanup

parent b16e1dfc
Pipeline #67022271 failed with stage
in 46 seconds
fdroid/repo/
keystore.jks
cache/versions.json
fdroid/repo/*.apk
image: ubuntu:latest
image: utoft/fdroidserver
before_script:
- echo "$fdroid_keystore" > keystore.base64
- cat keystore.base64 | base64 -d > fdroid/keystore.jks
- chmod 600 fdroid/config.py fdroid/keystore.jks
- mkdir -p fdroid/repo
- apt-get -qq update && apt-get -qqy install --no-install-recommends fdroidserver wget
pages:
stage: deploy
script:
- (cd fdroid/repo && while read -r line || [ -n "$line" ]; do rm -f $line; done < ../../cleanup.txt)
- ./download.py
- cd fdroid
- echo "keypass=\"$fdroid_keypass\"" >>config.py
......@@ -26,7 +24,3 @@ pages:
only:
- master
- schedules
cache:
paths:
- fdroid
- cache
......@@ -36,9 +36,3 @@ Add new download information in [apks.json](apks.json):
Everything except `name` and `baseUrl` is optional.
`{ver}` and `{arch}` will get automatically replaced with the corresponding version and all architectures.
Note that you can use a single `regex` string instead of `json` to query the version.
---
## Clear cache after removal
Add file names in [cleanup.txt](cleanup.txt) to remove them from cache.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment