commit | b6847a51724f8271a221e3e6d01db5d5e9d368a4 | [log] [tgz] |
---|---|---|
author | Addison Luh <aluh@chromium.org> | Thu May 25 00:52:24 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 21:10:08 2023 |
tree | cfdc87b1298bb3c7e96689762f2fa37e9c7ca51c | |
parent | c6ce45efa84fbf81ecbd7f314cfc7e590f0daa03 [diff] |
kuota: add database client and initialization The database client will self-initialize upon construction and perform basic health check. This change also updates some library dependencies. BUG=b:277121319 TEST=scheduke-staging Change-Id: Ibc70e4d3e3c371277939be60bc490df1aafe35cf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/test-scheduling/scheduke/+/4564514 Auto-Submit: Addison Luh <aluh@chromium.org> Reviewed-by: Julio Hurtado <juahurta@google.com> Tested-by: Addison Luh <aluh@chromium.org> Commit-Queue: Addison Luh <aluh@chromium.org>
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