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
35e70051
Unverified
Commit
35e70051
authored
Jul 25, 2020
by
Todd Volkert
Committed by
GitHub
Jul 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rather than timing out dashing, run it in background (#62251)
https://github.com/flutter/flutter/issues/60646
parent
5a290fc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
docs.sh
dev/bots/docs.sh
+9
-5
No files found.
dev/bots/docs.sh
View file @
35e70051
...
...
@@ -54,13 +54,17 @@ function create_docset() {
echo
"
$(
date
)
: Building Flutter docset."
rm
-rf
flutter.docset
# If dashing gets stuck, Cirrus will time out the build after an hour, and we
# never get to see the logs. Thus, we time it out after 30 minutes to see the
# logs.
(
timeout
'30m'
dashing build
--source
./doc
--config
./dashing.json
>
/tmp/dashing.log 2>&1
||
\
(
echo
'Dashing failed! Tailing last 200 lines of log...'
;
tail
-200
/tmp/dashing.log
;
exit
1
))
&&
\
# never get to see the logs. Thus, we run it in the background and tail the logs
# while we wait for it to complete.
dashing build
--source
./doc
--config
./dashing.json
>
/tmp/dashing.log 2>&1 &
dashing_pid
=
$!
tail
-f
/tmp/dashing.log &
tail_pid
=
$!
wait
$dashing_pid
&&
\
cp
./doc/flutter/static-assets/favicon.png ./flutter.docset/icon.png
&&
\
"
$DART
"
--disable-dart-dev
./dashing_postprocess.dart
&&
\
tar
cf flutter.docset.tar.gz
--use-compress-program
=
"gzip --best"
flutter.docset
tar
cf flutter.docset.tar.gz
--use-compress-program
=
"gzip --best"
flutter.docset
&&
\
kill
$tail_pid
&> /dev/null
}
# Move the offline archives into place, after all the processing of the doc
...
...
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