chiark / gitweb /
index: ensure index.xml timestamp is in UTC, closes #481
[fdroidserver.git] / jenkins-test
index 333255af7a2a7387fb38f8572eca8d846d8e7a2b..6af9cfd97dbf25754036e6a0ae4a05641f5ac481 100755 (executable)
@@ -25,9 +25,6 @@ export ANDROID_HOME=/usr/lib/android-sdk
 
 rm -rf "$WORKSPACE/.testfiles"
 cd tests
-echo "Debian's build-tools is too old, remove once the package has been updated"
-sed -i '/android.permission.READ_EXTERNAL_STORAGE/d' repo/index.xml
-sed -i '/^diff -uw .*index-v1.json$/d' run-tests
 ./run-tests $WORKSPACE/fdroiddata/repo
 
 # this is set up and managed by jenkins-build-all
@@ -35,7 +32,6 @@ cd $WORKSPACE/fdroiddata
 
 rm -f config.py keystore.jks
 ../fdroid init --verbose
-../fdroid update
 
 export GNUPGHOME=$WORKSPACE/tests/gnupghome
 if [ ! -e $GNUPGHOME/private-keys-v1.d ]; then
@@ -45,6 +41,7 @@ fi
 gpg --import $GNUPGHOME/secring.gpg
 
 echo "build_server_always = True" >> config.py
+echo "make_current_version_link = False" >> config.py
 echo "gpghome = '$GNUPGHOME'" >> config.py
 echo "gpgkey = 'CE71F7FB'" >> config.py
 chmod 0600 config.py
@@ -66,3 +63,7 @@ sed -i '/^repo_pubkey = /d' config.py
 
 ../fdroid rewritemeta --quiet
 git --no-pager diff
+git status
+ls -lR cache || true
+
+../fdroid checkupdates --auto --autoonly --commit