mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
gitlab-ci: add yamllint job
This commit is contained in:
parent
642499ec94
commit
1f96a84f9a
6 changed files with 38 additions and 10 deletions
|
@ -274,6 +274,35 @@ safety:
|
||||||
- python3 -m safety --key "$SAFETY_API_KEY" --stage cicd scan
|
- python3 -m safety --key "$SAFETY_API_KEY" --stage cicd scan
|
||||||
|
|
||||||
|
|
||||||
|
# TODO tests/*/*/*.yaml are not covered
|
||||||
|
yamllint:
|
||||||
|
image: debian:bookworm-slim
|
||||||
|
rules:
|
||||||
|
# once only:/changes: are ported to rules:, this could be removed:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
when: never
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "push"
|
||||||
|
changes:
|
||||||
|
- .gitlab-ci.yml
|
||||||
|
- .safety-policy.yml
|
||||||
|
- .yamllint
|
||||||
|
- tests/*.yml
|
||||||
|
- tests/*/*.yml
|
||||||
|
- tests/*/*/.*.yml
|
||||||
|
<<: *apt-template
|
||||||
|
variables:
|
||||||
|
LANG: C.UTF-8
|
||||||
|
script:
|
||||||
|
- apt-get install yamllint
|
||||||
|
- yamllint
|
||||||
|
.gitlab-ci.yml
|
||||||
|
.safety-policy.yml
|
||||||
|
.yamllint
|
||||||
|
tests/*.yml
|
||||||
|
tests/*/*.yml
|
||||||
|
tests/*/*/.*.yml
|
||||||
|
|
||||||
|
|
||||||
# Run all the various linters and static analysis tools.
|
# Run all the various linters and static analysis tools.
|
||||||
locales:
|
locales:
|
||||||
image: debian:bookworm-slim
|
image: debian:bookworm-slim
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
Summary: This should be overridden by metadata/info.guardianproject.urzip.yml
|
Summary: This should be overridden by metadata/info.guardianproject.urzip.yml
|
||||||
Builds:
|
Builds:
|
||||||
- versionCode: 50
|
- versionCode: 50
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Categories:
|
Categories:
|
||||||
- tests
|
- tests
|
||||||
Name: Duplicate Permisssions
|
Name: Duplicate Permisssions
|
||||||
Summary: 'Test app for all possible <uses-permissions>'
|
Summary: 'Test app for all possible <uses-permissions>'
|
||||||
|
|
|
@ -3,10 +3,10 @@ AutoUpdateMode: None
|
||||||
Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk
|
Bitcoin: 1Fi5xUHiAPRKxHvyUGVFGt9extBe8Srdbk
|
||||||
OpenCollective: f-droid-just-testing
|
OpenCollective: f-droid-just-testing
|
||||||
Categories:
|
Categories:
|
||||||
- Development
|
- Development
|
||||||
- GuardianProject
|
- GuardianProject
|
||||||
- 1
|
- 1
|
||||||
- 2.0
|
- 2.0
|
||||||
CurrentVersionCode: 2147483647
|
CurrentVersionCode: 2147483647
|
||||||
AuthorWebSite: https://guardianproject.info
|
AuthorWebSite: https://guardianproject.info
|
||||||
Description: |
|
Description: |
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Categories:
|
Categories:
|
||||||
- Development
|
- Development
|
||||||
Name: Caffeine Tile
|
Name: Caffeine Tile
|
||||||
Summary: Test app for extracting icons when an XML one is default
|
Summary: Test app for extracting icons when an XML one is default
|
||||||
|
|
|
@ -317,7 +317,7 @@ Builds:
|
||||||
prebuild: sed -i '/ant/d' ../Makefile && ln -s vlc-android/$$VLC-2.2$$ ../vlc
|
prebuild: sed -i '/ant/d' ../Makefile && ln -s vlc-android/$$VLC-2.2$$ ../vlc
|
||||||
build: cd ../ && ANDROID_ABI=armeabi-v7a ./compile.sh release
|
build: cd ../ && ANDROID_ABI=armeabi-v7a ./compile.sh release
|
||||||
|
|
||||||
#0.9.10 vercodes were off
|
# 0.9.10 vercodes were off
|
||||||
- versionName: 1.0.0
|
- versionName: 1.0.0
|
||||||
versionCode: 10006
|
versionCode: 10006
|
||||||
disable: doesn't build
|
disable: doesn't build
|
||||||
|
@ -328,7 +328,7 @@ Builds:
|
||||||
prebuild: sed -i '/ant/d' ../Makefile && ln -s vlc-android/$$VLC-2.2$$ ../vlc
|
prebuild: sed -i '/ant/d' ../Makefile && ln -s vlc-android/$$VLC-2.2$$ ../vlc
|
||||||
build: cd ../ && ANDROID_ABI=x86 ./compile.sh release
|
build: cd ../ && ANDROID_ABI=x86 ./compile.sh release
|
||||||
|
|
||||||
#0.9.10 vercodes were off
|
# 0.9.10 vercodes were off
|
||||||
- versionName: 1.0.0
|
- versionName: 1.0.0
|
||||||
versionCode: 10007
|
versionCode: 10007
|
||||||
disable: doesn't build
|
disable: doesn't build
|
||||||
|
@ -339,7 +339,7 @@ Builds:
|
||||||
prebuild: sed -i '/ant/d' ../Makefile && ln -s vlc-android/$$VLC-2.2$$ ../vlc
|
prebuild: sed -i '/ant/d' ../Makefile && ln -s vlc-android/$$VLC-2.2$$ ../vlc
|
||||||
build: cd ../ && ANDROID_ABI=armeabi ./compile.sh release
|
build: cd ../ && ANDROID_ABI=armeabi ./compile.sh release
|
||||||
|
|
||||||
#0.9.10 vercodes were off
|
# 0.9.10 vercodes were off
|
||||||
- versionName: 1.0.0
|
- versionName: 1.0.0
|
||||||
versionCode: 10008
|
versionCode: 10008
|
||||||
disable: doesn't build
|
disable: doesn't build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue