chiark / gitweb /
gitlab-ci: ensure release tag is present for metadata_v0 tests
authorHans-Christoph Steiner <hans@eds.org>
Thu, 14 Sep 2017 08:22:37 +0000 (10:22 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 15 Sep 2017 09:35:30 +0000 (11:35 +0200)
Forks won't necessarily have all the tags, so this ensures that they are
present.

.gitlab-ci.yml

index 6ce9064e37f70e86ddc45ab9d6faa9b47d7534d3..0b0a4d3e5e4562170ee85d4d3b5e4fdace523513 100644 (file)
@@ -6,10 +6,12 @@ test:
     - cd tests
     - ./complete-ci-tests
 
-# Test that the parsing of the .txt format didn't change 
-# from last released version.
+# Test that the parsing of the .txt format didn't change from last
+# released version. Ensure that the official tags are included when
+# running these tests on forks as well.
 metadata_v0:
   script:
+    - git fetch https://gitlab.com/fdroid/fdroidserver 0.8
     - cd tests
     - export GITCOMMIT=`git describe`
     - git checkout 0.8  # bump after release