mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Publish unsigned builds
This should make debugging reproducible builds easier.
This commit is contained in:
parent
0d836751e5
commit
33bff6b298
2 changed files with 9 additions and 0 deletions
|
@ -783,6 +783,10 @@ def main():
|
||||||
if config['per_app_repos']:
|
if config['per_app_repos']:
|
||||||
repo_sections += common.get_per_app_repos()
|
repo_sections += common.get_per_app_repos()
|
||||||
|
|
||||||
|
if os.path.isdir('unsigned') or (local_copy_dir is not None
|
||||||
|
and os.path.isdir(os.path.join(local_copy_dir, 'unsigned'))):
|
||||||
|
repo_sections.append('unsigned')
|
||||||
|
|
||||||
for repo_section in repo_sections:
|
for repo_section in repo_sections:
|
||||||
if local_copy_dir is not None:
|
if local_copy_dir is not None:
|
||||||
if config['sync_from_local_copy_dir']:
|
if config['sync_from_local_copy_dir']:
|
||||||
|
|
|
@ -1202,6 +1202,8 @@ if have_git_2_3; then
|
||||||
fdroid_init_with_prebuilt_keystore
|
fdroid_init_with_prebuilt_keystore
|
||||||
printf '\narchive_older: 3\n' >> config.yml
|
printf '\narchive_older: 3\n' >> config.yml
|
||||||
cp -a $WORKSPACE/tests/metadata $WORKSPACE/tests/repo $WORKSPACE/tests/stats $OFFLINE_ROOT/
|
cp -a $WORKSPACE/tests/metadata $WORKSPACE/tests/repo $WORKSPACE/tests/stats $OFFLINE_ROOT/
|
||||||
|
mkdir $OFFLINE_ROOT/unsigned
|
||||||
|
cp $WORKSPACE/tests/urzip-release-unsigned.apk $OFFLINE_ROOT/unsigned
|
||||||
|
|
||||||
echo "mirrors: ['http://foo.bar/fdroid', 'http://asdflkdsfjafdsdfhkjh.onion/fdroid']" >> config.yml
|
echo "mirrors: ['http://foo.bar/fdroid', 'http://asdflkdsfjafdsdfhkjh.onion/fdroid']" >> config.yml
|
||||||
echo "servergitmirrors: $SERVER_GIT_MIRROR" >> config.yml
|
echo "servergitmirrors: $SERVER_GIT_MIRROR" >> config.yml
|
||||||
|
@ -1216,6 +1218,7 @@ if have_git_2_3; then
|
||||||
[ `git rev-list --count HEAD` == "1" ]
|
[ `git rev-list --count HEAD` == "1" ]
|
||||||
cd ..
|
cd ..
|
||||||
$fdroid deploy --verbose
|
$fdroid deploy --verbose
|
||||||
|
test -e $LOCAL_COPY_DIR/unsigned/urzip-release-unsigned.apk
|
||||||
grep -F '<application id=' $LOCAL_COPY_DIR/repo/index.xml > /dev/null
|
grep -F '<application id=' $LOCAL_COPY_DIR/repo/index.xml > /dev/null
|
||||||
cd $ONLINE_ROOT
|
cd $ONLINE_ROOT
|
||||||
echo "local_copy_dir: $LOCAL_COPY_DIR" >> config.yml
|
echo "local_copy_dir: $LOCAL_COPY_DIR" >> config.yml
|
||||||
|
@ -1225,6 +1228,8 @@ if have_git_2_3; then
|
||||||
echo "local_copy_dir: $LOCAL_COPY_DIR" >> config.yml
|
echo "local_copy_dir: $LOCAL_COPY_DIR" >> config.yml
|
||||||
echo "binary_transparency_remote: $BINARY_TRANSPARENCY_REMOTE" >> config.yml
|
echo "binary_transparency_remote: $BINARY_TRANSPARENCY_REMOTE" >> config.yml
|
||||||
$fdroid deploy --verbose
|
$fdroid deploy --verbose
|
||||||
|
test -e $ONLINE_ROOT/unsigned/urzip-release-unsigned.apk
|
||||||
|
test -e $SERVERWEBROOT/unsigned/urzip-release-unsigned.apk
|
||||||
cd $BINARY_TRANSPARENCY_REMOTE
|
cd $BINARY_TRANSPARENCY_REMOTE
|
||||||
[ `git rev-list --count HEAD` == "1" ]
|
[ `git rev-list --count HEAD` == "1" ]
|
||||||
cd $SERVER_GIT_MIRROR
|
cd $SERVER_GIT_MIRROR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue