1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-02 15:30:38 +02:00

gitlab-ci: hide massively verbose messages from sdkmanager

This commit is contained in:
Hans-Christoph Steiner 2021-01-27 23:50:53 +01:00
parent 32a0c61010
commit e4087f1798

View File

@ -10,7 +10,7 @@ test:
script: script:
- $pip install -e .[test] - $pip install -e .[test]
# the `fdroid build` test in tests/run-tests needs android-23 # the `fdroid build` test in tests/run-tests needs android-23
- echo y | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-23" - echo y | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-23" > /dev/null
- cd tests - cd tests
- ./complete-ci-tests - ./complete-ci-tests
@ -218,8 +218,8 @@ fedora_latest:
- printf "\n79120722343a6f314e0719f863036c702b0e6b2a\n84831b9409646a918e30573bab4c9c91346d8abd" > $ANDROID_HOME/licenses/android-sdk-preview-license-old - printf "\n79120722343a6f314e0719f863036c702b0e6b2a\n84831b9409646a918e30573bab4c9c91346d8abd" > $ANDROID_HOME/licenses/android-sdk-preview-license-old
- mkdir ~/.android - mkdir ~/.android
- touch ~/.android/repositories.cfg - touch ~/.android/repositories.cfg
- echo y | $ANDROID_HOME/tools/bin/sdkmanager "platform-tools" - echo y | $ANDROID_HOME/tools/bin/sdkmanager "platform-tools" > /dev/null
- echo y | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;$BUILD_TOOLS_VERSION" - echo y | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;$BUILD_TOOLS_VERSION" > /dev/null
- chown -R testuser . - chown -R testuser .
- cd tests - cd tests
- su testuser --login --command - su testuser --login --command