Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Issue 2154873002: Update ADD handling in Dockerfiles and test bundle creation (Closed)

Created:
4 years, 5 months ago by Jess
Modified:
4 years, 5 months ago
Reviewers:
Sriram, maniscalco, *Wez
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update ADD handling in Dockerfiles and test bundle creation. Current Dockerfiles were written with a misunderstanding of how wildcards and directory sources interact with the ADD command. This was discovered in testing using the generated tarballs. The change fixes an incorrect comment in the engine Dockerfile. Additionally, create_bundle.py was updated to tar up the filesystem state from a context other than the build directory. These changes mean that for the env_tests bundle, running the Dockerfile in the context of the tarball results in a system file structure such that /blimp/ contains the set of dpendencies for the testing binaries in the same directory structure as // (the chromium src directory). This change does not remove the duplicate ./third_party/blimp_fonts (./fonts is used instead) for the engine environment. BUG=616945, 608487, 630438 Committed: https://crrev.com/6df4245122709b6a19e5f898d49a777b153c9bd7 Cr-Commit-Position: refs/heads/master@{#407237}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move filesystem manipulations for tests into the bundle creation script. #

Patch Set 3 : Lint clean up. #

Patch Set 4 : Lint clean up. #

Total comments: 4

Patch Set 5 : Rename varables to py style guide. #

Total comments: 12

Patch Set 6 : Dockerfile comments and follow up based on bundle script changes. #

Patch Set 7 : Clarifying new script behavior in comments and argument naming. #

Total comments: 12

Patch Set 8 : Minor cleanups. #

Patch Set 9 : Remove always true if. #

Total comments: 4

Patch Set 10 : Update create-bundle.py comments to reflect most recent behavior changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -19 lines) Patch
M blimp/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/engine/Dockerfile View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M blimp/engine/testing/Dockerfile View 1 2 3 4 5 6 7 1 chunk +8 lines, -8 lines 0 comments Download
M blimp/tools/create-bundle.py View 1 2 3 4 5 6 7 8 9 3 chunks +22 lines, -9 lines 0 comments Download

Messages

Total messages: 59 (36 generated)
Jess
Clarifying note inline. https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile File blimp/engine/testing/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile#newcode13 blimp/engine/testing/Dockerfile:13: # Docker copies directory CONTENTS rather ...
4 years, 5 months ago (2016-07-15 20:26:59 UTC) #4
maniscalco
https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile File blimp/engine/testing/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile#newcode13 blimp/engine/testing/Dockerfile:13: # Docker copies directory CONTENTS rather than the directories ...
4 years, 5 months ago (2016-07-15 20:54:01 UTC) #5
Sriram
https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile File blimp/engine/testing/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile#newcode13 blimp/engine/testing/Dockerfile:13: # Docker copies directory CONTENTS rather than the directories ...
4 years, 5 months ago (2016-07-15 22:23:10 UTC) #6
Jess
https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile File blimp/engine/testing/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/1/blimp/engine/testing/Dockerfile#newcode13 blimp/engine/testing/Dockerfile:13: # Docker copies directory CONTENTS rather than the directories ...
4 years, 5 months ago (2016-07-15 22:45:08 UTC) #7
Jess
Move filesystem manipulations for tests into the bundle creation script.
4 years, 5 months ago (2016-07-15 23:58:05 UTC) #8
Jess
PTAL
4 years, 5 months ago (2016-07-16 00:06:29 UTC) #12
Wez
https://codereview.chromium.org/2154873002/diff/60001/blimp/engine/Dockerfile File blimp/engine/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/60001/blimp/engine/Dockerfile#newcode8 blimp/engine/Dockerfile:8: # contents of any subdirectory there. *scratches head* How ...
4 years, 5 months ago (2016-07-16 00:26:36 UTC) #17
Jess
https://codereview.chromium.org/2154873002/diff/60001/blimp/engine/Dockerfile File blimp/engine/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/60001/blimp/engine/Dockerfile#newcode8 blimp/engine/Dockerfile:8: # contents of any subdirectory there. On 2016/07/16 00:26:36, ...
4 years, 5 months ago (2016-07-16 01:10:33 UTC) #20
maniscalco
https://codereview.chromium.org/2154873002/diff/80001/blimp/engine/Dockerfile File blimp/engine/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/80001/blimp/engine/Dockerfile#newcode8 blimp/engine/Dockerfile:8: # contents of any subdirectory there. nit: I'd probably ...
4 years, 5 months ago (2016-07-18 16:01:05 UTC) #23
Jess
https://codereview.chromium.org/2154873002/diff/80001/blimp/engine/Dockerfile File blimp/engine/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/80001/blimp/engine/Dockerfile#newcode8 blimp/engine/Dockerfile:8: # contents of any subdirectory there. On 2016/07/18 16:01:04, ...
4 years, 5 months ago (2016-07-18 17:19:14 UTC) #25
Jess
https://codereview.chromium.org/2154873002/diff/80001/blimp/tools/create-bundle.py File blimp/tools/create-bundle.py (right): https://codereview.chromium.org/2154873002/diff/80001/blimp/tools/create-bundle.py#newcode19 blimp/tools/create-bundle.py:19: """Read the manifest and return the list of dependencies. ...
4 years, 5 months ago (2016-07-19 21:36:09 UTC) #30
maniscalco
LGTM % a few more comments. https://codereview.chromium.org/2154873002/diff/120001/blimp/engine/testing/Dockerfile File blimp/engine/testing/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/120001/blimp/engine/testing/Dockerfile#newcode11 blimp/engine/testing/Dockerfile:11: # Put all ...
4 years, 5 months ago (2016-07-19 21:52:36 UTC) #32
Jess
Thanks for hanging on Wez. Please review for OWNERs approval. https://codereview.chromium.org/2154873002/diff/120001/blimp/engine/testing/Dockerfile File blimp/engine/testing/Dockerfile (right): https://codereview.chromium.org/2154873002/diff/120001/blimp/engine/testing/Dockerfile#newcode11 ...
4 years, 5 months ago (2016-07-19 22:32:42 UTC) #36
Jess
Reminder ping.
4 years, 5 months ago (2016-07-21 23:35:13 UTC) #40
Sriram
https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py File blimp/tools/create-bundle.py (left): https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py#oldcode68 blimp/tools/create-bundle.py:68: "-C", args.build_dir] + deps I am a little confused... ...
4 years, 5 months ago (2016-07-22 00:38:52 UTC) #41
Wez
nit: In the description "testing of the testing export" reads oddly and it wasn't clear ...
4 years, 5 months ago (2016-07-22 00:42:44 UTC) #42
Jess
On 2016/07/22 00:38:52, Sriram wrote: > https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py > File blimp/tools/create-bundle.py (left): > > https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py#oldcode68 > ...
4 years, 5 months ago (2016-07-22 00:46:55 UTC) #43
Wez
lgtm https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py File blimp/tools/create-bundle.py (right): https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py#newcode19 blimp/tools/create-bundle.py:19: """Read the manifest. Takes each dependency found within, ...
4 years, 5 months ago (2016-07-22 00:50:28 UTC) #44
Jess
https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py File blimp/tools/create-bundle.py (left): https://codereview.chromium.org/2154873002/diff/160001/blimp/tools/create-bundle.py#oldcode68 blimp/tools/create-bundle.py:68: "-C", args.build_dir] + deps On 2016/07/22 00:38:51, Sriram wrote: ...
4 years, 5 months ago (2016-07-22 01:01:51 UTC) #48
Sriram
lgtm
4 years, 5 months ago (2016-07-22 19:42:38 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2154873002/180001
4 years, 5 months ago (2016-07-22 19:54:09 UTC) #55
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-22 19:58:37 UTC) #57
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 20:00:12 UTC) #59
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6df4245122709b6a19e5f898d49a777b153c9bd7
Cr-Commit-Position: refs/heads/master@{#407237}

Powered by Google App Engine
This is Rietveld 408576698