Hans-Christoph Steiner
4aaf82c34c
Merge branch 'build-log-data-points' into 'master'
...
add data points to the build log to add debugging
See merge request fdroid/fdroidserver!429
2018-01-03 14:39:23 +00:00
Hans-Christoph Steiner
fba4fa6ca6
get minimum aapt version from fdroidserver/common.py for CI tests
2018-01-03 14:54:30 +01:00
Hans-Christoph Steiner
54965455b1
build: include buildserverid on wiki build logs, if it exists
...
When `fdroid build` is run using the buildserver, it should fetch the
buildserverid on the first build.
Seems this was really a silly bug in 837fc99d74
2018-01-03 13:58:06 +01:00
Hans-Christoph Steiner
444ae95380
build: log the start time of the current build session
...
Since `fdroid build --all` can run a long time, knowing when that command
was started will be very useful information for figuring out what the build
server is doing.
2018-01-03 12:29:29 +01:00
Hans-Christoph Steiner
9793e57302
jenkins.debian.net is Debian/stretch, its build-tools are too old
2017-12-29 16:06:45 +01:00
Hans-Christoph Steiner
c8e32c2802
gitlab-ci: and one last stoopid error in debian_testing target
2017-12-29 16:06:45 +01:00
Hans-Christoph Steiner
c7762ad7d7
gitlab-ci: fix syntax error
2017-12-29 15:35:04 +01:00
Hans-Christoph Steiner
6816ef15dd
gitlab-ci: temp disable some tests on Debian/testing
...
build-tools needs an update before these tests will work again.
2017-12-29 15:29:28 +01:00
Hans-Christoph Steiner
b70ede6761
gitlab-ci: set Fedora build to use a supported build-tools version
...
Using 25.0.2, not all of the permissions were being output:
--- /builds/fdroid/fdroidserver/tests/repo/index.xml 2017-12-28 22:33:53.624704459 +0000
+++ repo/index.xml 2017-12-28 22:41:52.207849097 +0000
@@ -35,7 +35,6 @@
<added>2017-12-22</added>
<sig>2d337e40aef77564bf62781ac424595c</sig>
<permissions>ACCESS_NETWORK_STATE,ACCESS_WIFI_STATE,CHANGE_WIFI_MULTICAST_STATE,INTERNET,READ_EXTERNAL_STORAGE,WRITE_EXTERNAL_STORAGE</permissions>
- <uses-permission maxSdkVersion="18" name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission maxSdkVersion="18" name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission-sdk-23 maxSdkVersion="27" name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
</package>
2017-12-29 15:12:49 +01:00
Hans-Christoph Steiner
463a1b5376
Merge branch 'ever-more-fixes' into 'master'
...
Ever more fixes
Closes #395 and #306
See merge request fdroid/fdroidserver!423
2017-12-28 22:33:25 +00:00
Hans-Christoph Steiner
76f20da9e8
Merge branch 'fix_no-refresh' into 'master'
...
build: fix --no-refresh
See merge request fdroid/fdroidserver!428
2017-12-28 22:08:29 +00:00
Hans-Christoph Steiner
6d32b68016
tests: correct package names in stats/known_apks.txt
...
This doesn't seem to affect the tests either way, but it is good to have
things correct there.
2017-12-28 23:07:26 +01:00
Hans-Christoph Steiner
e451ec0079
common: fix bug in new SHA-256 signatures for >= android-18
...
Luckily, this is only used in `fdroid nightly` so far.
2017-12-28 23:07:26 +01:00
Hans-Christoph Steiner
109eb928e8
aapt 26.0.0 is required to properly parse permissions and label
...
#236
closes #395
aapt 26.0.0 outputs the permissions correctly
closes #306
aapt 26.0.0 now outputs: application-label:'K-9 Mail'
2017-12-28 23:07:26 +01:00
Hans-Christoph Steiner
01f3d071ee
nightly: support arbitrary keystore files for setup
...
GitHub only allows an SSH key to be used as a Deploy Key for a single repo.
That means, each nightly build repo on GitHub/Travis must have its own
debug keystore.
2017-12-28 23:07:26 +01:00
Hans-Christoph Steiner
8ed6bb8506
jenkins: try to prevent the build node from running out of disk space
2017-12-28 22:51:55 +01:00
Marcus
195a1bbae4
Merge branch 'master' into 'master'
...
gradle file: use flavour specific versionCode/versionName, fall back to parsing line by line
See merge request fdroid/fdroidserver!426
2017-12-27 19:31:50 +00:00
mimi89999
455dcc34d8
Add Nextcloud and DavDroid test case
2017-12-27 11:51:57 +01:00
Marcus Hoffmann
e775d330c2
build: fix --no-refresh
...
This was broken by the in-source-tree .fdroid.yml file support.
Also support this for building on the buildserver.
2017-12-26 00:20:17 +01:00
Marcus
6069cad027
Merge branch 'platform-27' into 'master'
...
makebuildserver: remove platform-27
See merge request fdroid/fdroidserver!427
2017-12-24 18:39:01 +00:00
Marcus Hoffmann
14657f2642
makebuildserver: remove platform-27
...
The hash changes all the time and gradle will install this on the fly
anyway when missing.
2017-12-24 18:51:28 +01:00
mimi89999
90c7dd29df
gradle file: use flavour specific versionCode/versionName, fall back to parsing line by line
2017-12-23 17:12:54 +01:00
Michel Le Bihan
5cfa4d487f
Merge branch 'master' into 'master'
...
Revert: gradle file: use flavour specific versionCode/versionName, fall back to…
See merge request fdroid/fdroidserver!425
2017-12-23 12:01:12 +00:00
mimi89999
918bd15c45
Revert: gradle file: use flavour specific versionCode/versionName, fall back to parsing line by line
2017-12-23 12:57:34 +01:00
Marcus
8c243ee7eb
Merge branch 'limit-build-all' into 'master'
...
build: limit --all to 10 apps at a time
See merge request fdroid/fdroidserver!420
2017-12-22 13:09:16 +00:00
Hans-Christoph Steiner
69dc3cc9ce
Merge branch 'typo' into 'master'
...
Fix a typo in vmtools.py
See merge request fdroid/fdroidserver!421
2017-12-22 08:50:49 +00:00
Pierre Rudloff
ebfb35f1f7
Fix a typo in vmtools.py
2017-12-22 00:14:29 +00:00
Hans-Christoph Steiner
afc5cc6b6a
build: limit --all to 10 apps at a time
...
This needed now because the buildserver is hanging so often, that we are
often going a week or more without any builds published. Perhaps this is
only temporary, or maybe we will want to flush this feature out more as a
standard thing. But we really need it for now to at least get some builds
out on a daily basis.
Since the website deploy is also triggered by this cycle, making the build
finish more often means the website will be published more often.
2017-12-21 23:15:34 +01:00
Hans-Christoph Steiner
c29d135de1
Merge branch 'additional_tests' into 'master'
...
readme: add note about additional CI tests
See merge request fdroid/fdroidserver!419
2017-12-21 09:18:13 +00:00
Marcus Hoffmann
2b43413df8
readme: add note about additional CI tests
...
[ci-skip]
2017-12-21 00:56:42 +01:00
Hans-Christoph Steiner
5f9bfe48ff
Merge branch 'nail-down-tests' into 'master'
...
Nail down tests
Closes #432
See merge request fdroid/fdroidserver!418
2017-12-20 23:16:03 +00:00
Hans-Christoph Steiner
80844832a8
travis-ci: install babel with pip to stop easy_install
...
easy_install just fails, trying to install into ./.eggs
https://travis-ci.org/fdroidtravis/fdroidserver/jobs/319144754
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
8a58ee72e3
travis-ci: include new android-sdk-license on OSX
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
173a35b190
tests: only generate keystores when that is actually being tested
...
Generating a keystore is quite slow since it means a new RSA key is created.
That only needs to happen in the tests that check that it actually happened,
otherwise the test can just reuse the stored test keystore.
closes #432
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
eb81eaa574
README: document test suite ( closes #432 )
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
7fcb4da0e6
travis-ci: show sdkmanager logs
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
2659312a7c
update: support working with old versions of PIL/Pillow
...
Image.close() was added in Pillow 2.4 or so.
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
9087ec76f3
build: use dpkg to purge sudo, for less spammy debug logs
...
apt is quite verbose:
DEBUG: buildserver > DEBUG: > sudo SUDO_FORCE_REMOVE=yes apt-get -y purge sudo
DEBUG: buildserver > Reading package lists...
DEBUG: buildserver > Building dependency tree...
DEBUG: buildserver > Reading state information...
DEBUG: buildserver > The following package was automatically installed and is no longer required:
DEBUG: buildserver > libasprintf0c2
DEBUG: buildserver > Use 'apt-get autoremove' to remove it.
DEBUG: buildserver > The following packages will be REMOVED:
DEBUG: buildserver > sudo*
DEBUG: buildserver > 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
DEBUG: buildserver > After this operation, 2,391 kB disk space will be freed.
DEBUG: buildserver > (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73055 files and directories currently installed.)
DEBUG: buildserver > Removing sudo (1.8.10p3-1+deb8u5) ...
DEBUG: buildserver > Purging configuration files for sudo (1.8.10p3-1+deb8u5) ...
DEBUG: buildserver > Processing triggers for man-db (2.7.0.2-5) ...
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
781e3c785f
always hide PIL.PngImagePlugin's "STREAM" debug messages
...
Otherwise, enabling verbose messages gives tons of these messages:
DEBUG: STREAM b'IHDR' 16 13
DEBUG: STREAM b'IDAT' 41 32768
2017-12-20 23:46:37 +01:00
Hans-Christoph Steiner
22aaa3dcbb
Revert "revert reverted checksum of platform-27_r01.zip (google tampered there again)"
...
This reverts commit 7f13675b8c
.
2017-12-20 13:36:53 +01:00
Hans-Christoph Steiner
3d91e6a5b5
jenkins-test: import secret key into test GNUPGHOME
...
Can't run `fdroid gpgsign` without a secret key!
2017-12-20 13:36:53 +01:00
Hans-Christoph Steiner
39b76b0eda
scanner: fix tests so they work on all tested platforms
...
The standard test configuration is needed to make the tests reliably. Also,
these tests used some odd yield logic. Who knows what exactly failed, but
these tests should be reliable.
* https://gitlab.com/fdroid/fdroidserver/-/jobs/44984595
* https://gitlab.com/fdroid/fdroidserver/-/jobs/44984596
* https://travis-ci.org/f-droid/fdroidserver/builds/318071369
2017-12-19 22:51:40 +01:00
Hans-Christoph Steiner
86c5598307
Merge branch 'whitelist-firebase' into 'master'
...
Whitelist some open-source firebase libs
See merge request fdroid/fdroidserver!411
2017-12-18 12:30:30 +00:00
Hans-Christoph Steiner
873ff20a3c
Merge branch '430-UnboundLocalError-local-variable-im-referenced-before-assignment' into 'master'
...
fix handling unreadable images in update.extract_apk_icons
Closes #430
See merge request fdroid/fdroidserver!416
2017-12-18 08:56:27 +00:00
Michael Pöhn
c17aeb5231
fix handling unreadable images in update.extract_apk_icons
2017-12-16 22:06:20 +01:00
Marcus
82badb8921
Merge branch '431-Invalid-checksum-platform-27_r01.zip' into 'master'
...
revert reverted checksum of platform-27_r01.zip (google tampered there again)
Closes #431
See merge request fdroid/fdroidserver!415
2017-12-16 15:46:10 +00:00
Michael Pöhn
7f13675b8c
revert reverted checksum of platform-27_r01.zip (google tampered there again)
2017-12-16 16:23:06 +01:00
Marcus
86cb8cbce7
Merge branch 'build-tools_r27.0.2' into 'master'
...
makebuildserver: add build-tools_r27.0.2
See merge request fdroid/fdroidserver!413
2017-12-15 12:14:00 +00:00
Marcus
a6928571a5
Merge branch 'gradle-4.4' into 'master'
...
makebuildserver: add Gradle 4.4
See merge request fdroid/fdroidserver!412
2017-12-15 11:55:13 +00:00
relan
b2213f1e62
makebuildserver: add build-tools_r27.0.2
2017-12-15 14:34:40 +03:00