Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
34c977f6
Unverified
Commit
34c977f6
authored
Sep 03, 2020
by
Christopher Fujino
Committed by
GitHub
Sep 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove flutter update-packages from tools-tests (#61593)
parent
418681d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
3 deletions
+40
-3
.cirrus.yml
.cirrus.yml
+40
-3
No files found.
.cirrus.yml
View file @
34c977f6
...
...
@@ -66,6 +66,7 @@ task:
CIRRUS_DOCKER_CONTEXT
:
"
dev/"
PATH
:
"
$CIRRUS_WORKING_DIR/bin:$CIRRUS_WORKING_DIR/bin/cache/dart-sdk/bin:$PATH"
ANDROID_SDK_ROOT
:
"
/opt/android_sdk"
SHOULD_UPDATE_PACKAGES
:
'
TRUE'
# can be overridden at the task level
USE_IN_MEMORY_DISK
:
false
pub_cache
:
folder
:
$HOME/.pub-cache
...
...
@@ -85,8 +86,8 @@ task:
-
git fetch origin
-
git fetch origin master
# To set FETCH_HEAD, so that "git merge-base" works.
-
flutter config --no-analytics
-
if [ "$SHOULD_UPDATE_PACKAGES" == TRUE ]; then flutter update-packages; fi
-
flutter doctor -v
-
flutter update-packages
-
./dev/bots/accept_android_sdk_licenses.sh
-
date
on_failure
:
...
...
@@ -142,7 +143,12 @@ task:
# CPUs, and needed at least 10G of RAM to not run out of memory.
CPU
:
4
MEMORY
:
10G
SHOULD_UPDATE_PACKAGES
:
"
FALSE"
script
:
-
(cd packages/flutter_tools; pub get)
-
(cd packages/flutter_tools/test/data/asset_test/main; pub get)
-
(cd packages/flutter_tools/test/data/asset_test/font; pub get)
-
(cd dev/bots; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
tool_tests-commands-linux
...
...
@@ -153,7 +159,10 @@ task:
# Increased to 10GB on 19th Nov 2019 due to significant number of OOMKilled failures on PR builds.
CPU
:
6
MEMORY
:
10G
SHOULD_UPDATE_PACKAGES
:
"
FALSE"
script
:
-
(cd packages/flutter_tools; pub get)
-
(cd dev/bots; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
tool_tests-integration-linux
...
...
@@ -164,7 +173,11 @@ task:
CPU
:
6
MEMORY
:
8G
CHROME_NO_SANDBOX
:
true
SHOULD_UPDATE_PACKAGES
:
"
FALSE"
script
:
-
(cd packages/flutter_tools; pub get)
-
(cd dev/bots; pub get)
-
(cd dev/tools; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
tool_coverage-linux
# linux-only
...
...
@@ -176,7 +189,12 @@ task:
CPU
:
8
MEMORY
:
24G
CODECOV_TOKEN
:
ENCRYPTED[7c76a7f8c9264f3b7f3fd63fcf186f93c62c4dfe43ec288861c2f506d456681032b89efe7b7a139c82156350ca2c752c]
SHOULD_UPDATE_PACKAGES
:
"
FALSE"
script
:
-
(cd packages/flutter_tools; pub get)
-
(cd packages/flutter_tools/test/data/asset_test/main; pub get)
-
(cd packages/flutter_tools/test/data/asset_test/font; pub get)
-
(cd dev/bots; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
-
bash <(curl -s https://codecov.io/bash) -c -f packages/flutter_tools/coverage/lcov.info -F flutter_tool
...
...
@@ -270,6 +288,7 @@ task:
MEMORY
:
2G
# 256M-24G without compute credits, 256M-90G with
CIRRUS_WORKING_DIR
:
"
C:
\\
Windows
\\
Temp
\\
$FLUTTER_SDK_PATH_WITH_SPACE"
PATH
:
"
$CIRRUS_WORKING_DIR/bin;$CIRRUS_WORKING_DIR/bin/cache/dart-sdk/bin;$PATH"
SHOULD_UPDATE_PACKAGES
:
"
TRUE"
pub_cache
:
folder
:
$APPDATA\Pub\Cache
fingerprint_script
:
...
...
@@ -289,7 +308,7 @@ task:
-
git fetch origin master
# To set FETCH_HEAD, so that "git merge-base" works.
-
flutter config --no-analytics
-
flutter doctor -v
-
flutter update-packages
-
CMD /C IF "%SHOULD_UPDATE_PACKAGES%" EQU "TRUE"
flutter update-packages
-
git fetch origin master
matrix
:
-
name
:
hostonly_devicelab_tests-0-windows
...
...
@@ -343,6 +362,7 @@ task:
COCOAPODS_DISABLE_STATS
:
true
CPU
:
2
MEMORY
:
8G
SHOULD_UPDATE_PACKAGES
:
'
TRUE'
setup_script
:
-
date
-
which flutter
...
...
@@ -353,8 +373,8 @@ task:
-
git fetch origin
-
git fetch origin master
# To set FETCH_HEAD, so that "git merge-base" works.
-
flutter config --no-analytics
-
if [ "$SHOULD_UPDATE_PACKAGES" == TRUE ]; then flutter update-packages; fi
-
flutter doctor -v
-
flutter update-packages
-
date
-
which flutter
on_failure
:
...
...
@@ -391,20 +411,35 @@ task:
-
name
:
tool_tests-general-macos
only_if
:
"
changesInclude('.cirrus.yml',
'dev/**',
'packages/flutter_tools/**',
'bin/**')
||
$CIRRUS_PR
==
''"
environment
:
SHOULD_UPDATE_PACKAGES
:
'
FALSE'
script
:
-
ulimit -S -n 2048
# https://github.com/flutter/flutter/issues/2976
-
(cd packages/flutter_tools; pub get)
-
(cd packages/flutter_tools/test/data/asset_test/main; pub get)
-
(cd packages/flutter_tools/test/data/asset_test/font; pub get)
-
(cd dev/bots; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
tool_tests-commands-macos
only_if
:
"
changesInclude('.cirrus.yml',
'dev/**',
'packages/flutter_tools/**',
'bin/**')
||
$CIRRUS_PR
==
''"
environment
:
SHOULD_UPDATE_PACKAGES
:
'
FALSE'
script
:
-
ulimit -S -n 2048
# https://github.com/flutter/flutter/issues/2976
-
(cd packages/flutter_tools; pub get)
-
(cd dev/bots; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
tool_tests-integration-macos
only_if
:
"
changesInclude('.cirrus.yml',
'dev/**',
'packages/flutter_tools/**',
'bin/**')
||
$CIRRUS_PR
==
''"
environment
:
SHOULD_UPDATE_PACKAGES
:
'
FALSE'
script
:
-
ulimit -S -n 2048
# https://github.com/flutter/flutter/issues/2976
-
(cd packages/flutter_tools; pub get)
-
(cd dev/bots; pub get)
-
(cd dev/tools; pub get)
-
dart --enable-asserts ./dev/bots/test.dart
# TODO(ianh): Enable Web tests on macOS.
...
...
@@ -412,11 +447,13 @@ task:
-
name
:
build_tests-0-macos
only_if
:
"
changesInclude('.cirrus.yml',
'dev/**',
'bin/**')
||
$CIRRUS_PR
==
''"
# https://github.com/flutter/flutter/issues/41940
script
:
-
ulimit -S -n 2048
# https://github.com/flutter/flutter/issues/2976
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
build_tests-1_last-macos
only_if
:
"
changesInclude('.cirrus.yml',
'dev/**',
'bin/**')
||
$CIRRUS_PR
==
''"
# https://github.com/flutter/flutter/issues/41940
script
:
-
ulimit -S -n 2048
# https://github.com/flutter/flutter/issues/2976
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
hostonly_devicelab_tests-0-macos
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment