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
1d0aa02a
Unverified
Commit
1d0aa02a
authored
Jun 18, 2019
by
Dan Field
Committed by
GitHub
Jun 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enable docs with new container (#34681)
parent
9dbc6697
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
9 deletions
+24
-9
.cirrus.yml
.cirrus.yml
+8
-9
Dockerfile
dev/ci/docker_linux/Dockerfile
+4
-0
patch_firebase.sh
dev/ci/docker_linux/patch_firebase.sh
+12
-0
No files found.
.cirrus.yml
View file @
1d0aa02a
...
...
@@ -24,15 +24,14 @@ task:
fingerprint_script
:
echo $OS; cat bin/internal/engine.version
setup_script
:
./dev/bots/cirrus_setup.sh
matrix
:
# TODO(flutter/flutter#34435): re-enable the docs shard
# - name: docs
# env:
# SHARD: docs
# # For uploading master docs to Firebase master branch staging site
# FIREBASE_MASTER_TOKEN: ENCRYPTED[eb768d18798fdc5abfe09b224e1724c4d82831d715ccf90df2c79d618c317216cbd99493278361f6fe7948b409b603f0]
# # For uploading beta docs to Firebase public live site
# FIREBASE_PUBLIC_TOKEN: ENCRYPTED[37e8b82f167864cae9a3f4d2cf3f37dea331d9375c295327c45de524f6c588fa6f6d63e5784f10f6d43ce29689f36c92]
# docs_script: ./dev/bots/docs.sh
-
name
:
docs
env
:
SHARD
:
docs
# For uploading master docs to Firebase master branch staging site
FIREBASE_MASTER_TOKEN
:
ENCRYPTED[eb768d18798fdc5abfe09b224e1724c4d82831d715ccf90df2c79d618c317216cbd99493278361f6fe7948b409b603f0]
# For uploading beta docs to Firebase public live site
FIREBASE_PUBLIC_TOKEN
:
ENCRYPTED[37e8b82f167864cae9a3f4d2cf3f37dea331d9375c295327c45de524f6c588fa6f6d63e5784f10f6d43ce29689f36c92]
docs_script
:
./dev/bots/docs.sh
-
name
:
deploy_gallery
depends_on
:
-
docs
...
...
dev/ci/docker_linux/Dockerfile
View file @
1d0aa02a
...
...
@@ -103,6 +103,10 @@ RUN dpkg-query -L nodejs
# Install Firebase
# This is why we need nodejs installed.
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
patch_firebase.sh /root/patch_firebase.sh
RUN
/root/patch_firebase.sh
# Install dashing
# This is why we need golang installed.
...
...
dev/ci/docker_linux/patch_firebase.sh
0 → 100755
View file @
1d0aa02a
#!/bin/bash
FIREBASE_CMD_LOC
=
$(
which firebase
)
NODE_DIR
=
$(
dirname
$(
dirname
$FIREBASE_CMD_LOC
))
echo
"Node directory is located at
$NODE_DIR
"
UPLOADER_FILE
=
"
$NODE_DIR
""/lib/node_modules/firebase-tools/lib/deploy/hosting/uploader.js"
echo
"File to modify is
$UPLOADER_FILE
"
REPLACE
=
's#populateBatchSize || 1000;#populateBatchSize || 100;#'
echo
"Going to replace with
$REPLACE
"
sed
-i
"
$REPLACE
"
"
$UPLOADER_FILE
"
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