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
0299398d
Unverified
Commit
0299398d
authored
Feb 04, 2020
by
Dan Field
Committed by
GitHub
Feb 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "install goldctl in docker build (#46640)" (#50088)
This reverts commit
7a13d8a0
.
parent
39d13a03
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
22 deletions
+25
-22
.cirrus.yml
.cirrus.yml
+21
-2
Dockerfile
dev/ci/docker_linux/Dockerfile
+3
-10
docker_build.sh
dev/ci/docker_linux/docker_build.sh
+1
-10
No files found.
.cirrus.yml
View file @
0299398d
...
...
@@ -23,7 +23,6 @@ environment:
# LINUX SHARDS
task
:
container
:
# https://cirrus-ci.org/guide/docker-builder-vm/#dockerfile-as-a-ci-environment
dockerfile
:
"
dev/ci/docker_linux/Dockerfile"
cpu
:
$CPU
memory
:
$MEMORY
...
...
@@ -36,7 +35,7 @@ task:
CPU
:
1
# 0.1-8 without compute credits, 0.1-30 with (yes, you can go fractional)
MEMORY
:
4G
# 256M-24G without compute credits, 256M-90G with
CIRRUS_WORKING_DIR
:
"
/tmp/$FLUTTER_SDK_PATH_WITH_SPACE"
CIRRUS_DOCKER_CONTEXT
:
"
dev/"
CIRRUS_DOCKER_CONTEXT
:
"
dev/
ci/docker_linux
"
PATH
:
"
$CIRRUS_WORKING_DIR/bin:$CIRRUS_WORKING_DIR/bin/cache/dart-sdk/bin:$PATH"
ANDROID_SDK_ROOT
:
"
/opt/android_sdk"
pub_cache
:
...
...
@@ -76,8 +75,10 @@ task:
# We use 3 CPUs because that's the minimum required to get framework_tests-widgets-linux
# running fast enough that it is not the long pole, as of OCtober 2019.
CPU
:
3
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
framework_tests-libraries-linux
...
...
@@ -87,8 +88,10 @@ task:
# framework_tests-libraries-linux shard running fast enough that it is not the long pole, as
# of October 2019.
CPU
:
3
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
framework_tests-misc-linux
...
...
@@ -150,8 +153,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-1-linux
...
...
@@ -160,8 +165,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-2-linux
...
...
@@ -170,8 +177,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-3-linux
...
...
@@ -180,8 +189,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-4-linux
...
...
@@ -190,8 +201,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-5-linux
...
...
@@ -200,8 +213,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-6-linux
...
...
@@ -210,8 +225,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
web_tests-7_last-linux
# last Web shard must end with _last
...
...
@@ -220,8 +237,10 @@ task:
# As of October 2019, the Web shards needed more than 6G of RAM.
CPU
:
2
MEMORY
:
8G
GOLDCTL
:
"
$CIRRUS_WORKING_DIR/depot_tools/goldctl"
GOLD_SERVICE_ACCOUNT
:
ENCRYPTED[3afeea5ac7201151c3d0dc9648862f0462b5e4f55dc600ca8b692319622f7c3eda3d577b1b16cc2ef0311b7314c1c095]
script
:
-
./dev/bots/download_goldctl.sh
-
dart --enable-asserts ./dev/bots/test.dart
-
name
:
build_tests-linux
...
...
dev/ci/docker_linux/Dockerfile
View file @
0299398d
...
...
@@ -107,7 +107,7 @@ RUN dpkg-query -L nodejs
RUN
/usr/bin/npm
--verbose
install
-g
firebase-tools
# TODO(dnfield): Remove this once Firebase has a fix upstream for
# https://github.com/flutter/flutter/issues/34435
COPY
ci/docker_linux/
patch_firebase.sh /root/patch_firebase.sh
COPY
patch_firebase.sh /root/patch_firebase.sh
RUN
/root/patch_firebase.sh
# Install golang more recent than in repo (necessary for dashing to build)
...
...
@@ -124,18 +124,11 @@ RUN $GOBINARY get -u github.com/technosophos/dashing
RUN
locale-gen en_US
"en_US.UTF-8"
&&
dpkg-reconfigure locales
ENV
LANG en_US.UTF-8
# Install fastlane via pinned Gemfile & Gemfile.lock
# Skip all the documentation (-N) since it's just on CI.
RUN
gem
install
bundler
-N
# Gemfile last edited 1/6/2019 (update to trigger a rebuild of Docker image)
COPY
ci/docker_linux/
Gemfile /Gemfile
COPY
ci/docker_linux/
Gemfile.lock /Gemfile.lock
COPY
Gemfile /Gemfile
COPY
Gemfile.lock /Gemfile.lock
RUN
bundle
install
--system
# Install goldctl, for Golden testing
# Last updated 1/8/19 (update to rebuild Dockerfile with latest goldctl)
COPY
bots/download_goldctl.sh /download_goldctl.sh
ENV
GOLDCTL '/depot_tools/goldctl'
RUN
/download_goldctl.sh
dev/ci/docker_linux/docker_build.sh
View file @
0299398d
...
...
@@ -3,12 +3,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Capture the directory this script resides in
SCRIPT_DIRECTORY
=
"
$(
dirname
$(
readlink
-f
"
$0
"
))
"
# Set context to flutter/dev
CONTEXT
=
"
${
SCRIPT_DIRECTORY
}
/../.."
TAG
=
"
${
CIRRUS_TAG
:-
latest
}
"
# Convert "+" to "-" to make hotfix tags legal Docker tag names.
...
...
@@ -18,7 +12,4 @@ TAG=${TAG/+/-}
# pull to make sure we are not rebuilding for nothing
sudo
docker pull
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
sudo
docker build
"
$@
"
\
--tag
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
\
--file
"
$SCRIPT_DIRECTORY
/Dockerfile"
\
"
$CONTEXT
"
sudo
docker build
"
$@
"
--tag
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
.
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