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
37108c4c
Unverified
Commit
37108c4c
authored
Feb 05, 2019
by
xster
Committed by
GitHub
Feb 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some instructions to the README for packaging archives locally (#27116)
parent
de321b9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
README.md
dev/bots/README.md
+17
-3
No files found.
dev/bots/README.md
View file @
37108c4c
...
...
@@ -43,6 +43,20 @@ To work on this infrastructure you will need:
-
Python package installer:
`sudo apt-get install python-pip`
-
Python coverage package (only needed for
`training_simulation`
):
`sudo pip install coverage`
To run prepare_package.dart locally:
-
Make sure the depot_tools is in your PATH. If you're on Windows, you also need
an environment variable called DEPOT_TOOLS with the path to depot_tools as value.
-
Run
`gsutil.py config`
(or
`python %DEPOT_TOOLS%\gsutil.py`
on Windows) to
authenticate with your auth token. When asked, the GCP project ID is
`turquoise-dev`
.
-
Create a local temp directory.
`cd`
into it.
-
Run
`dart [path to your normal Flutter repo]/dev/bots/prepare_package.dart
--temp_dir=. --revision=[revision to package] --branch=[branch to deploy to]
--publish`
.
-
If you're running into gsutil permission issues, check with @Hixie to make sure
you have the right push permissions.
### Getting the code
The following will get way more than just recipe code, but it _will_ get the recipe code:
...
...
@@ -77,9 +91,9 @@ The typical cycle for editing a recipe is:
1.
Make your edits (probably to files in
`//chrome_infra/build/scripts/slave/recipes/flutter`
).
1.
Update the tests. Run
`build/scripts/slave/recipes.py
--use-bootstrap test
train`
to update existing expected output to match the new output. Verify
c
ompletely new test c
ases by altering the
`GenTests`
method of the recipe.
1.
Update the tests. Run
`build/scripts/slave/recipes.py
test train`
to update
existing expected output to match the new output. Verify completely new test
cases by altering the
`GenTests`
method of the recipe.
The recipe is required to have 100% test coverage.
1.
Run
`build/scripts/slave/recipes.py run flutter/<repo> slavename=<slavename>
mastername=client.flutter buildername=<buildername> buildnumber=1234`
where
`<repo>`
is one
...
...
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