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

Issue 1364983002: Add CIPD binary installation to DEPS runhooks. (Closed)

Created:
5 years, 3 months ago by dnj
Modified:
5 years, 2 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Add CIPD binary installation to DEPS runhooks. Adds a bootstrap script to DEPS runhooks to download a `cipd` client and install a list of packages underneath the <infra>/bin/ directory. The client version and package list are selected based on the host architecture. BUG=None TEST=local - Ran locally several times. Committed: https://chromium.googlesource.com/infra/infra/+/29ea8cd046513577b2d988bc9412401a07b6399a

Patch Set 1 : #

Patch Set 2 : Automatically hook up path in Go bootstrap env. #

Total comments: 6

Patch Set 3 : Certificate validation, Windows compat, comment updates. #

Total comments: 2

Patch Set 4 : Fixed cipd command line comment. #

Total comments: 4

Patch Set 5 : Package documentation, single install list. #

Total comments: 2

Patch Set 6 : Include Git hash, update to use a `protoc` with Git hash. #

Patch Set 7 : Use "cipd_package_root/" instead of "bin/", better class grouping. #

Total comments: 2

Patch Set 8 : Moved to /cipd, drops README, no sysroot :( #

Total comments: 4

Patch Set 9 : cipd/README.md is static now. #

Total comments: 1

Patch Set 10 : Technically correct, the best kind of correct! :) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, --1 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M DEPS View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A bootstrap/cipd/cipd_linux_amd64.txt View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md View 1 2 3 4 5 6 7 1 chunk +60 lines, -0 lines 0 comments Download
A bootstrap/install_cipd_packages.py View 1 2 3 4 5 6 7 8 1 chunk +366 lines, -0 lines 0 comments Download
A cipd/README.md View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
A + data/cacert.pem View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M go/bootstrap.py View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (8 generated)
dnj
PTAL, does need some comments, will add tomorrow.
5 years, 3 months ago (2015-09-24 03:28:28 UTC) #4
Vadim Sh.
looks good https://codereview.chromium.org/1364983002/diff/60001/bootstrap/install_cipd_packages.py File bootstrap/install_cipd_packages.py (right): https://codereview.chromium.org/1364983002/diff/60001/bootstrap/install_cipd_packages.py#newcode40 bootstrap/install_cipd_packages.py:40: 'cipd_package_version': '99439270562c887c887b7538ed634ed3a3c0dc83', since you are using resolve_cipd_instance_id ...
5 years, 3 months ago (2015-09-24 16:50:32 UTC) #5
dnj
https://codereview.chromium.org/1364983002/diff/60001/bootstrap/install_cipd_packages.py File bootstrap/install_cipd_packages.py (right): https://codereview.chromium.org/1364983002/diff/60001/bootstrap/install_cipd_packages.py#newcode40 bootstrap/install_cipd_packages.py:40: 'cipd_package_version': '99439270562c887c887b7538ed634ed3a3c0dc83', On 2015/09/24 16:50:32, Vadim Sh. wrote: > ...
5 years, 3 months ago (2015-09-24 17:19:35 UTC) #6
Vadim Sh.
lgtm with nit https://codereview.chromium.org/1364983002/diff/80001/bootstrap/install_cipd_packages.py File bootstrap/install_cipd_packages.py (right): https://codereview.chromium.org/1364983002/diff/80001/bootstrap/install_cipd_packages.py#newcode50 bootstrap/install_cipd_packages.py:50: # $ cipd resolve \ nit: ...
5 years, 3 months ago (2015-09-24 18:09:58 UTC) #7
dnj
ping iannucci@, any comments? https://codereview.chromium.org/1364983002/diff/80001/bootstrap/install_cipd_packages.py File bootstrap/install_cipd_packages.py (right): https://codereview.chromium.org/1364983002/diff/80001/bootstrap/install_cipd_packages.py#newcode50 bootstrap/install_cipd_packages.py:50: # $ cipd resolve \ ...
5 years, 3 months ago (2015-09-24 18:14:35 UTC) #8
Vadim Sh.
https://codereview.chromium.org/1364983002/diff/100001/bootstrap/install_cipd_packages.py File bootstrap/install_cipd_packages.py (right): https://codereview.chromium.org/1364983002/diff/100001/bootstrap/install_cipd_packages.py#newcode349 bootstrap/install_cipd_packages.py:349: cipd.ensure(os.path.join(CIPD_LIST_DIR, l), root) actually that will probably not work ...
5 years, 3 months ago (2015-09-24 18:20:29 UTC) #9
dnj
https://codereview.chromium.org/1364983002/diff/100001/bootstrap/install_cipd_packages.py File bootstrap/install_cipd_packages.py (right): https://codereview.chromium.org/1364983002/diff/100001/bootstrap/install_cipd_packages.py#newcode349 bootstrap/install_cipd_packages.py:349: cipd.ensure(os.path.join(CIPD_LIST_DIR, l), root) On 2015/09/24 18:20:29, Vadim Sh. wrote: ...
5 years, 3 months ago (2015-09-24 18:23:05 UTC) #10
Vadim Sh.
On 2015/09/24 18:23:05, dnj wrote: > https://codereview.chromium.org/1364983002/diff/100001/bootstrap/install_cipd_packages.py > File bootstrap/install_cipd_packages.py (right): > > https://codereview.chromium.org/1364983002/diff/100001/bootstrap/install_cipd_packages.py#newcode349 > ...
5 years, 3 months ago (2015-09-24 18:30:25 UTC) #11
iannucci
lgtm https://codereview.chromium.org/1364983002/diff/100001/bootstrap/cipd/cipd_linux_amd64.txt File bootstrap/cipd/cipd_linux_amd64.txt (right): https://codereview.chromium.org/1364983002/diff/100001/bootstrap/cipd/cipd_linux_amd64.txt#newcode2 bootstrap/cipd/cipd_linux_amd64.txt:2: infra/tools/protoc/linux-amd64 413616a6197cf9030d3b7df5956dfdcbf0388a3b it would be nice if there ...
5 years, 3 months ago (2015-09-24 18:39:48 UTC) #12
dnj
> tl;dr convert 'cipd_install_lists' from list of files to a single file, should > be ...
5 years, 3 months ago (2015-09-24 19:20:43 UTC) #14
dnj
https://codereview.chromium.org/1364983002/diff/100001/bootstrap/cipd/cipd_linux_amd64.txt File bootstrap/cipd/cipd_linux_amd64.txt (right): https://codereview.chromium.org/1364983002/diff/100001/bootstrap/cipd/cipd_linux_amd64.txt#newcode2 bootstrap/cipd/cipd_linux_amd64.txt:2: infra/tools/protoc/linux-amd64 413616a6197cf9030d3b7df5956dfdcbf0388a3b On 2015/09/24 18:39:48, iannucci wrote: > it ...
5 years, 3 months ago (2015-09-24 19:20:51 UTC) #15
Vadim Sh.
lgtm with nit https://codereview.chromium.org/1364983002/diff/140001/bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md File bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md (right): https://codereview.chromium.org/1364983002/diff/140001/bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md#newcode33 bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md:33: $ cipd create \ nit: slap ...
5 years, 3 months ago (2015-09-24 19:28:30 UTC) #16
dnj
Cool, thanks for the reviews! https://codereview.chromium.org/1364983002/diff/140001/bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md File bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md (right): https://codereview.chromium.org/1364983002/diff/140001/bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md#newcode33 bootstrap/cipd/doc/infra/tools/protoc/linux-amd64/README.md:33: $ cipd create \ ...
5 years, 3 months ago (2015-09-24 20:29:56 UTC) #17
dnj (Google)
PTAL one last time (I hope). This time I fully used `protoc` as it's installed ...
5 years, 2 months ago (2015-09-25 15:26:34 UTC) #19
Vadim Sh.
https://codereview.chromium.org/1364983002/diff/180001/.gitignore File .gitignore (right): https://codereview.chromium.org/1364983002/diff/180001/.gitignore#newcode11 .gitignore:11: /cipd_package_root/ just /cipd/ ? cipd_package_root is long.. note also ...
5 years, 2 months ago (2015-09-25 18:26:35 UTC) #20
dnj
https://codereview.chromium.org/1364983002/diff/180001/.gitignore File .gitignore (right): https://codereview.chromium.org/1364983002/diff/180001/.gitignore#newcode11 .gitignore:11: /cipd_package_root/ On 2015/09/25 18:26:35, Vadim Sh. wrote: > just ...
5 years, 2 months ago (2015-09-25 18:39:14 UTC) #21
Vadim Sh.
On 2015/09/25 18:39:14, dnj wrote: > https://codereview.chromium.org/1364983002/diff/180001/.gitignore > File .gitignore (right): > > https://codereview.chromium.org/1364983002/diff/180001/.gitignore#newcode11 > ...
5 years, 2 months ago (2015-09-25 19:28:08 UTC) #22
dnj (Google)
> > Okay. > > Also drop some cipd/README.md in there, explaining what it is ...
5 years, 2 months ago (2015-09-25 23:39:04 UTC) #24
Vadim Sh.
https://codereview.chromium.org/1364983002/diff/220001/bootstrap/cipd/doc/DEPS.README.md File bootstrap/cipd/doc/DEPS.README.md (right): https://codereview.chromium.org/1364983002/diff/220001/bootstrap/cipd/doc/DEPS.README.md#newcode3 bootstrap/cipd/doc/DEPS.README.md:3: The contents of this directory, including this file, are ...
5 years, 2 months ago (2015-09-25 23:46:33 UTC) #25
dnj (Google)
https://codereview.chromium.org/1364983002/diff/220001/bootstrap/cipd/doc/DEPS.README.md File bootstrap/cipd/doc/DEPS.README.md (right): https://codereview.chromium.org/1364983002/diff/220001/bootstrap/cipd/doc/DEPS.README.md#newcode3 bootstrap/cipd/doc/DEPS.README.md:3: The contents of this directory, including this file, are ...
5 years, 2 months ago (2015-09-26 01:10:45 UTC) #26
Vadim Sh.
lgtm with nit https://codereview.chromium.org/1364983002/diff/240001/cipd/README.md File cipd/README.md (right): https://codereview.chromium.org/1364983002/diff/240001/cipd/README.md#newcode3 cipd/README.md:3: The contents of this directory, including ...
5 years, 2 months ago (2015-09-26 01:16:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364983002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364983002/260001
5 years, 2 months ago (2015-09-26 01:22:03 UTC) #30
commit-bot: I haz the power
5 years, 2 months ago (2015-09-26 01:25:46 UTC) #31
Message was sent while issue was closed.
Committed patchset #10 (id:260001) as
https://chromium.googlesource.com/infra/infra/+/29ea8cd046513577b2d988bc94124...

Powered by Google App Engine
This is Rietveld 408576698