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

Issue 1946253003: swarming: refactor cipd input (Closed)

Created:
4 years, 7 months ago by nodir
Modified:
4 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@default-isolate-server
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

swarming: refactor cipd input Add cipd server settings that specify cipd server host and cipd client package. Refactor "packages" field in task properties and manifest to "cipd_input" message that contains the packages and cipd settings. Allow parameters in CipdPackage.package_name. A bot will provide their values. This CL changes TaskProperties schema in a backward incompatible way, but we never used "packages" datastore field so far, so it is not a problem. R=maruel@chromium.org BUG=601022 Committed: https://github.com/luci/luci-py/commit/a93d4080fc3c1ef9873174631559979c5e4d446d

Patch Set 1 #

Patch Set 2 : swarming: add cipd settings to task properties #

Patch Set 3 : rebased #

Patch Set 4 : fix import google.protobuf #

Total comments: 11

Patch Set 5 : simplify cipd server/client embedding in task properties #

Total comments: 4

Patch Set 6 : arm #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+748 lines, -192 lines) Patch
M appengine/components/components/config/validation.py View 2 chunks +4 lines, -0 lines 0 comments Download
M appengine/swarming/cipd.py View 1 2 3 4 5 3 chunks +26 lines, -2 lines 0 comments Download
M appengine/swarming/handlers_bot.py View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
M appengine/swarming/handlers_bot_test.py View 1 2 3 4 6 chunks +33 lines, -12 lines 0 comments Download
M appengine/swarming/handlers_endpoints.py View 1 2 3 4 5 6 2 chunks +28 lines, -15 lines 0 comments Download
M appengine/swarming/handlers_endpoints_test.py View 1 2 3 4 12 chunks +165 lines, -29 lines 0 comments Download
M appengine/swarming/message_conversion.py View 1 2 3 4 3 chunks +38 lines, -8 lines 0 comments Download
M appengine/swarming/proto/config.proto View 1 2 3 4 2 chunks +27 lines, -1 line 0 comments Download
M appengine/swarming/proto/config_pb2.py View 1 2 3 4 5 chunks +97 lines, -4 lines 0 comments Download
M appengine/swarming/server/config.py View 1 2 3 4 5 6 3 chunks +34 lines, -4 lines 0 comments Download
M appengine/swarming/server/config_test.py View 1 2 3 4 1 chunk +92 lines, -33 lines 0 comments Download
M appengine/swarming/server/task_request.py View 1 2 3 4 5 6 11 chunks +63 lines, -30 lines 0 comments Download
M appengine/swarming/server/task_request_test.py View 1 2 3 4 14 chunks +91 lines, -33 lines 0 comments Download
M appengine/swarming/swarming_rpcs.py View 1 2 3 4 2 chunks +25 lines, -3 lines 0 comments Download
M appengine/swarming/test_env_handlers.py View 1 2 3 4 3 chunks +17 lines, -11 lines 0 comments Download

Messages

Total messages: 45 (24 generated)
nodir
PTAL
4 years, 7 months ago (2016-05-05 20:25:41 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/40001
4 years, 7 months ago (2016-05-05 20:25:58 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Luci-py Presubmit on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Luci-py%20Presubmit/builds/789)
4 years, 7 months ago (2016-05-05 20:32:48 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/60001
4 years, 7 months ago (2016-05-10 23:07:39 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/100001
4 years, 7 months ago (2016-05-10 23:16:57 UTC) #14
nodir
Rebased. PTAL
4 years, 7 months ago (2016-05-10 23:17:25 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-10 23:20:28 UTC) #18
M-A Ruel
https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py File appengine/swarming/cipd.py (right): https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py#newcode22 appengine/swarming/cipd.py:22: # https://chromium.googlesource.com/infra/infra/+/f1072a132c68532b548458392c5444f04386d684/build/README.md why not https://chromium.googlesource.com/infra/infra/+/master/build/README.md ? https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py#newcode26 appengine/swarming/cipd.py:26: # ...
4 years, 7 months ago (2016-05-11 14:56:45 UTC) #19
nodir
https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py File appengine/swarming/cipd.py (right): https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py#newcode22 appengine/swarming/cipd.py:22: # https://chromium.googlesource.com/infra/infra/+/f1072a132c68532b548458392c5444f04386d684/build/README.md On 2016/05/11 14:56:44, M-A Ruel wrote: > ...
4 years, 7 months ago (2016-05-12 01:53:22 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/160001
4 years, 7 months ago (2016-05-12 01:53:36 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-12 01:57:05 UTC) #26
M-A Ruel
lgtm https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py File appengine/swarming/cipd.py (right): https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py#newcode26 appengine/swarming/cipd.py:26: # os can be "linux", "mac" or "windows" ...
4 years, 7 months ago (2016-05-12 13:49:45 UTC) #27
nodir
https://codereview.chromium.org/1946253003/diff/160001/appengine/swarming/swarming_rpcs.py File appengine/swarming/swarming_rpcs.py (right): https://codereview.chromium.org/1946253003/diff/160001/appengine/swarming/swarming_rpcs.py#newcode117 appengine/swarming/swarming_rpcs.py:117: cipd_input = messages.MessageField(CipdInput, 10) On 2016/05/12 13:49:45, M-A Ruel ...
4 years, 7 months ago (2016-05-12 18:00:28 UTC) #28
M-A Ruel
https://codereview.chromium.org/1946253003/diff/160001/appengine/swarming/swarming_rpcs.py File appengine/swarming/swarming_rpcs.py (right): https://codereview.chromium.org/1946253003/diff/160001/appengine/swarming/swarming_rpcs.py#newcode117 appengine/swarming/swarming_rpcs.py:117: cipd_input = messages.MessageField(CipdInput, 10) On 2016/05/12 18:00:28, nodir wrote: ...
4 years, 7 months ago (2016-05-12 18:48:05 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/180001
4 years, 7 months ago (2016-05-12 21:57:29 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-12 22:01:00 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/180001
4 years, 7 months ago (2016-05-14 01:35:22 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Luci-py%20Presubmit/builds/818)
4 years, 7 months ago (2016-05-14 01:37:32 UTC) #38
nodir
https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py File appengine/swarming/cipd.py (right): https://codereview.chromium.org/1946253003/diff/100001/appengine/swarming/cipd.py#newcode26 appengine/swarming/cipd.py:26: # os can be "linux", "mac" or "windows" and ...
4 years, 7 months ago (2016-05-14 01:51:03 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946253003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946253003/220001
4 years, 7 months ago (2016-05-14 01:53:26 UTC) #43
commit-bot: I haz the power
4 years, 7 months ago (2016-05-14 01:56:20 UTC) #45
Message was sent while issue was closed.
Committed patchset #7 (id:220001) as
https://github.com/luci/luci-py/commit/a93d4080fc3c1ef9873174631559979c5e4d446d

Powered by Google App Engine
This is Rietveld 408576698