CI: Use external runners only for integration tests

This commit is contained in:
Krille 2023-03-19 07:35:16 +01:00
parent bc6ea2af91
commit 4fc4ced3ed

View file

@ -1,9 +1,7 @@
variables: variables:
FLUTTER_VERSION: 3.7.7 FLUTTER_VERSION: 3.7.7
image: image: cirrusci/flutter:${FLUTTER_VERSION}
name: cirrusci/flutter:${FLUTTER_VERSION}
pull_policy: if-not-present
.shared_windows_runners: .shared_windows_runners:
tags: tags:
@ -22,16 +20,10 @@ code_analyze:
artifacts: artifacts:
reports: reports:
codequality: code-quality-report.json codequality: code-quality-report.json
tags:
- docker
- famedly
widget_test: widget_test:
stage: test stage: test
script: [ flutter test ] script: [ flutter test ]
tags:
- docker
- famedly
# the basic integration test configuration testing FLOSS builds on Synapse # the basic integration test configuration testing FLOSS builds on Synapse
integration_test: integration_test:
@ -149,9 +141,6 @@ build_web:
artifacts: artifacts:
paths: paths:
- build/web/ - build/web/
tags:
- docker
- famedly
# yes, we *do* build a Windows DLL on Linux. More reliable. # yes, we *do* build a Windows DLL on Linux. More reliable.
build_olm_windows: build_olm_windows:
@ -205,9 +194,6 @@ build_android_debug:
except: except:
- main - main
- tags - tags
tags:
- docker
- famedly
build_android_apk: build_android_apk:
stage: build stage: build
@ -219,9 +205,6 @@ build_android_apk:
when: on_success when: on_success
paths: paths:
- build/android/app-release.apk - build/android/app-release.apk
tags:
- docker
- famedly
only: only:
- main - main
- tags - tags
@ -237,9 +220,6 @@ deploy_playstore_internal:
paths: paths:
- build/android/app-release.aab - build/android/app-release.aab
resource_group: playstore_release resource_group: playstore_release
tags:
- docker
- famedly
only: only:
- main - main
@ -258,9 +238,6 @@ fdroid_repo:
needs: needs:
- "build_android_apk" - "build_android_apk"
resource_group: playstore_release resource_group: playstore_release
tags:
- docker
- famedly
allow_failure: true allow_failure: true
only: only:
- main - main
@ -295,9 +272,6 @@ build_linux_x86:
sudo apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install keyboard-configuration -y && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 -y, sudo apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install keyboard-configuration -y && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 -y,
] ]
script: [ ./scripts/build-linux.sh ] script: [ ./scripts/build-linux.sh ]
tags:
- docker
- famedly
artifacts: artifacts:
when: on_success when: on_success
paths: paths:
@ -320,8 +294,6 @@ build_linux_arm64:
update_dependencies: update_dependencies:
stage: build stage: build
needs: [ ] needs: [ ]
tags:
- docker
only: only:
- schedules - schedules
variables: variables:
@ -346,9 +318,6 @@ update_dependencies:
.release: .release:
stage: deploy stage: deploy
image: curlimages/curl:latest image: curlimages/curl:latest
tags:
- docker
- famedly
rules: rules:
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/' - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/'
- if: '$CI_COMMIT_TAG =~ /^rc\d+\.\d+\.\d+-\d+$/' - if: '$CI_COMMIT_TAG =~ /^rc\d+\.\d+\.\d+-\d+$/'