gitlab-ci: update metadata_v0 test for latest metadata fields

This is a lot easier than trying to do some elaborate multiline sed regexp!

https://gitlab.com/fdroid/fdroidserver/merge_requests/529#note_86955227
This commit is contained in:
Hans-Christoph Steiner 2018-07-10 17:25:57 +02:00
parent 90e3a67cef
commit 6ca09e1bb2
1 changed files with 1 additions and 3 deletions

View File

@ -16,7 +16,7 @@ test:
metadata_v0:
image: registry.gitlab.com/fdroid/ci-images-server:latest
variables:
RELEASE_COMMIT_ID: 2f563f533b3571c80f7a09c6fbb453398658f723 # 1.0.2
RELEASE_COMMIT_ID: 90e3a67cefe89b27afecbdab8e07c9f37ee77a0c # 1.1a~
script:
- git fetch https://gitlab.com/fdroid/fdroidserver $RELEASE_COMMIT_ID
- cd tests
@ -33,9 +33,7 @@ metadata_v0:
- echo "accepted_formats = ('txt', 'yml')" >> config.py
- ../tests/dump_internal_metadata_format.py
- sed -i
-e '/Translation:/d'
-e '/kivy:\sfalse/d'
-e '/timeout:\s/d'
metadata/dump_*/*.yaml
- diff -uw metadata/dump_*