From 50eea778fa3359435ff04744cb74df749b665f9d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 28 Jun 2022 09:27:51 +0000 Subject: [PATCH] chore: Use a specific version of the flutter-linux images --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f46184fd..b7aeaa85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,11 +10,14 @@ workflow: - if: $CI_COMMIT_TAG - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH +variables: + FLUTTER_IMAGE_TAG: '3.0.3' + coverage: tags: - linux stage: coverage - image: registry.gitlab.com/famedly/company/frontend/flutter-dockerimages/flutter-linux/stable + image: registry.gitlab.com/famedly/company/frontend/flutter-dockerimages/flutter-linux/stable:${FLUTTER_IMAGE_TAG} dependencies: [] script: - sed -i 's/#\([^ ]\)/\1/g' pubspec.yaml @@ -39,7 +42,7 @@ e2ee_test: tags: - linux stage: coverage - image: registry.gitlab.com/famedly/company/frontend/flutter-dockerimages/flutter-linux/stable + image: registry.gitlab.com/famedly/company/frontend/flutter-dockerimages/flutter-linux/stable:${FLUTTER_IMAGE_TAG} dependencies: [] script: - printf "abstract class TestUser {\n static const String homeserver = '$TEST_HOMESERVER';\n static const String username = '$TEST_USER1';\n static const String username2 = '$TEST_USER2';\n static const String password = '$TEST_USER_PASSWORD';\n}" > ./test_driver/test_config.dart