commit | f9e201f9ed370b25f5ca98949401a0be24e16cfd | [log] [tgz] |
---|---|---|
author | Jard Loucks <jaredloucks@google.com> | Wed May 17 19:59:22 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 17 20:07:14 2023 |
tree | 50c9344161cde5bd6f8130895404e558b3cb4387 | |
parent | 7426286a0001e5cd050aada330b9c87e31eb1a45 [diff] |
scheduke: dockerize scheduling_service Bug: b:260229970, b:279494971 Change-Id: I4e99b901cc6f829f4e000f3632ccc7a9b2981451 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/test-scheduling/scheduke/+/4535097 Reviewed-by: Derek Beckett <dbeckett@chromium.org> Tested-by: Jard Loucks <jaredloucks@google.com> Reviewed-by: Steve Van Der Hoeven <svdh@google.com> Commit-Queue: Jard Loucks <jaredloucks@google.com>
Scheduke is the build task scheduler for Chromium OS infrastructure.
Currently this repository contains the scheduling simulator code in simulator/
and scheduler/
This project requires the following python packages:
If you encounter an issue similar to this:
File "*/yapf/yapflib/style.py", line 680, in _CreateStyleFromConfigParser base_style = _STYLE_NAME_TO_FACTORY[based_on]() KeyError: 'yapf'
You'll need to update your yapf version to the latest, or at least 0.31 or later. Note that there might be another copy of yapf in depot_tools and the depot_tools should be updated as well.
Set up sudoless docker if you haven‘t--it’s required for gcloud and docker to work together.
Build the image
./docker_build
Launch a container with the image
./docker_run
curl localhost:8080/device_event
To open a shell into the image
./docker_debug