commit | 1ca25caafa82c83df69c6f704b47bb54ce23f387 | [log] [tgz] |
---|---|---|
author | chromeos-ci-prod <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> | Thu Feb 09 05:26:54 2023 -0800 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 09 13:32:05 2023 +0000 |
tree | 36eee2536bfe3225b0699bb0ab0eaf1f726c8047 | |
parent | 812dd905d647fd559bdd21057a3f81c23d988483 [diff] |
Automatic config update Generated by StarDoctor, see https://cr-buildbucket.appspot.com/build/8789633706750979905 for the recipe. BUG=None TEST=regenerated configs Change-Id: Id0af408671e9ffd8f07f0a5ff86a142a6be01e8d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/suite_scheduler/+/4236379 Bot-Commit: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Commit-Queue: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
suite-scheduler is an AppEngine Standard Python Environment V1 application. You need the Google Cloud SDK's AppEngine Python component to develop and deploy this application:
gcloud auth login <username>@google.com
gcloud components install app-engine-python
gcloud components install app-engine-python-extras
Suite-scheduler development must be done in the standard Chrome OS source checkout but entirely outside the Chrome OS chroot environment.
suite-scheduler uses infra_virtualenv to provide a stable environment for development and release.
First, make sure you install virtualenv
with version at least 20.0.
Then, to (re)initialize developer environment, run
bin/setup_environment
For testing changes beyond to the configs/
directory, and for deploying suite-scheduler, you must also obtain certain service credentials used by suite-scheduler.
bin/setup_environment --load-creds
If you get failures when trying to download credentials,
gcloud auth list
.Changes must be validated with the full test suite:
bin/run_tests bin/run_tests --debug # More verbose
These tests include some integration tests that can take over 5 minutes to run.
** WARNING: suite-scheduler unittests do not currently run in presubmit. You MUST ensure that unit-tests pass locally for your change. **
Changes to suite-scheduler configs are made in config-internal, as of 2020. Detailed instructions on adding/editing config files can be found at go/ss-configs.
There are two instances of suite-scheduler:
Detailed deployment instructions can be found at go/suite-scheduler#deployment.