buildgrid 0.0.86__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- buildgrid-0.0.86/BuildGrid.doap +22 -0
- buildgrid-0.0.86/CONTRIBUTING.rst +253 -0
- buildgrid-0.0.86/LICENSE +201 -0
- buildgrid-0.0.86/MANIFEST.in +24 -0
- buildgrid-0.0.86/PKG-INFO +85 -0
- buildgrid-0.0.86/README.rst +78 -0
- buildgrid-0.0.86/buildgrid/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_app/__init__.py +18 -0
- buildgrid-0.0.86/buildgrid/_app/cli.py +163 -0
- buildgrid-0.0.86/buildgrid/_app/commands/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_actioncache.py +186 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_browser_backend.py +231 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_capabilities.py +105 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_cas.py +274 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_cleanup.py +262 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_execute.py +379 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_logstream.py +143 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_operation.py +297 -0
- buildgrid-0.0.86/buildgrid/_app/commands/cmd_server.py +231 -0
- buildgrid-0.0.86/buildgrid/_app/commands/rpc_utils.py +20 -0
- buildgrid-0.0.86/buildgrid/_app/settings/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_app/settings/parser.py +2721 -0
- buildgrid-0.0.86/buildgrid/_app/settings/reference.yml +253 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/caches/lru-action-cache.yaml +17 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/caches/redis-action-cache.yaml +42 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/caches/with-cache.yaml +16 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/clients/asset-client.yaml +27 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/clients/metering-service-client.yaml +35 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/config.yaml +163 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/connections/redis.yaml +26 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/connections/sql.yaml +31 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/misc/channel.yaml +32 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/scheduler/memory.yaml +9 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/scheduler/sql.yaml +201 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/action-cache.yaml +28 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/bots.yaml +47 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/bytestream.yaml +18 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/cas.yaml +15 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/execution.yaml +78 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/platform-queues.yml +19 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/remote-action-cache.yaml +26 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/s3-action-cache.yaml +29 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/services/write-once-action-cache.yaml +15 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/disk.yaml +9 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/lru.yaml +10 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/operations_sql_storage.yaml +14 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/redis-index.yaml +12 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/redis.yaml +21 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/remote.yaml +28 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/s3.yaml +32 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/sharded.yaml +25 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/size-differentiated.yaml +27 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/sql-index.yaml +49 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/sql.yaml +11 -0
- buildgrid-0.0.86/buildgrid/_app/settings/schemas/storage/with-cache.yaml +16 -0
- buildgrid-0.0.86/buildgrid/_enums.py +144 -0
- buildgrid-0.0.86/buildgrid/_exceptions.py +228 -0
- buildgrid-0.0.86/buildgrid/_protos/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/__init__.py +0 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/__init__.py +1 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/remote_asset_pb2.py +60 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/remote_asset_pb2.pyi +533 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/remote_asset_pb2_grpc.py +329 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/remote_asset_pb2_grpc.pyi +298 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/remote_asset_pb2_grpc_aio.py +329 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/asset/v1/remote_asset_pb2_grpc_aio.pyi +299 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/remote_execution_pb2.py +185 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/remote_execution_pb2.pyi +2817 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/remote_execution_pb2_grpc.py +1138 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/remote_execution_pb2_grpc.pyi +928 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/remote_execution_pb2_grpc_aio.py +1138 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/execution/v2/remote_execution_pb2_grpc_aio.pyi +929 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/remote_logstream_pb2.py +31 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/remote_logstream_pb2.pyi +83 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/remote_logstream_pb2_grpc.py +258 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/remote_logstream_pb2_grpc.pyi +166 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/remote_logstream_pb2_grpc_aio.py +258 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/remote/logstream/v1/remote_logstream_pb2_grpc_aio.pyi +167 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/semver_pb2.py +27 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/semver_pb2.pyi +61 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/semver_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/semver_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/semver_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/build/bazel/semver/semver_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/__init__.py +0 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/execution_stats_pb2.py +29 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/execution_stats_pb2.pyi +100 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/execution_stats_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/execution_stats_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/execution_stats_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/build/buildbox/execution_stats_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/messaging_pb2.py +37 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/messaging_pb2.pyi +242 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/messaging_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/messaging_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/messaging_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/messaging_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/monitoring_pb2.py +44 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/monitoring_pb2.pyi +230 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/monitoring_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/monitoring_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/monitoring_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/monitoring_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/query_build_events_pb2.py +37 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/query_build_events_pb2.pyi +82 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/query_build_events_pb2_grpc.py +66 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/query_build_events_pb2_grpc.pyi +37 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/query_build_events_pb2_grpc_aio.py +66 -0
- buildgrid-0.0.86/buildgrid/_protos/buildgrid/v2/query_build_events_pb2_grpc_aio.pyi +38 -0
- buildgrid-0.0.86/buildgrid/_protos/google/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/annotations_pb2.py +27 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/annotations_pb2.pyi +28 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/annotations_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/annotations_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/annotations_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/annotations_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/client_pb2.py +26 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/client_pb2.pyi +98 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/client_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/client_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/client_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/client_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/field_behavior_pb2.py +28 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/field_behavior_pb2.pyi +146 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/field_behavior_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/field_behavior_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/field_behavior_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/field_behavior_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/http_pb2.py +31 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/http_pb2.pyi +431 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/http_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/http_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/http_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/api/http_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/bytestream_pb2.py +41 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/bytestream_pb2.pyi +200 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/bytestream_pb2_grpc.py +240 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/bytestream_pb2_grpc.pyi +192 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/bytestream_pb2_grpc_aio.py +240 -0
- buildgrid-0.0.86/buildgrid/_protos/google/bytestream/bytestream_pb2_grpc_aio.pyi +193 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_events_pb2.py +50 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_events_pb2.pyi +358 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_events_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_events_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_events_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_events_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_status_pb2.py +31 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_status_pb2.pyi +116 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_status_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_status_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_status_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/build_status_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/publish_build_event_pb2.py +57 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/publish_build_event_pb2.pyi +216 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/publish_build_event_pb2_grpc.py +157 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/publish_build_event_pb2_grpc.pyi +111 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/publish_build_event_pb2_grpc_aio.py +157 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/build/v1/publish_build_event_pb2_grpc_aio.pyi +112 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/bots_pb2.py +64 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/bots_pb2.pyi +512 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/bots_pb2_grpc.py +224 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/bots_pb2_grpc.pyi +142 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/bots_pb2_grpc_aio.py +224 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/bots_pb2_grpc_aio.pyi +143 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/command_pb2.py +56 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/command_pb2.pyi +483 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/command_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/command_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/command_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/command_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/tasks_pb2.py +53 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/tasks_pb2.pyi +246 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/tasks_pb2_grpc.py +152 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/tasks_pb2_grpc.pyi +95 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/tasks_pb2_grpc_aio.py +152 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/tasks_pb2_grpc_aio.pyi +96 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/worker_pb2.py +35 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/worker_pb2.pyi +255 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/worker_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/worker_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/worker_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/devtools/remoteworkers/v1test2/worker_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/operations_pb2.py +51 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/operations_pb2.pyi +198 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/operations_pb2_grpc.py +215 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/operations_pb2_grpc.pyi +142 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/operations_pb2_grpc_aio.py +215 -0
- buildgrid-0.0.86/buildgrid/_protos/google/longrunning/operations_pb2_grpc_aio.pyi +143 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/code_pb2.py +27 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/code_pb2.pyi +354 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/code_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/code_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/code_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/code_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/error_details_pb2.py +58 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/error_details_pb2.pyi +477 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/error_details_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/error_details_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/error_details_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/error_details_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/status_pb2.py +28 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/status_pb2.pyi +115 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/status_pb2_grpc.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/status_pb2_grpc.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/status_pb2_grpc_aio.py +4 -0
- buildgrid-0.0.86/buildgrid/_protos/google/rpc/status_pb2_grpc_aio.pyi +17 -0
- buildgrid-0.0.86/buildgrid/_types.py +47 -0
- buildgrid-0.0.86/buildgrid/_version.py +16 -0
- buildgrid-0.0.86/buildgrid/browser/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/browser/app.py +112 -0
- buildgrid-0.0.86/buildgrid/browser/rest_api.py +819 -0
- buildgrid-0.0.86/buildgrid/browser/utils.py +58 -0
- buildgrid-0.0.86/buildgrid/cleanup/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/cleanup/cleanup.py +361 -0
- buildgrid-0.0.86/buildgrid/client/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/client/actioncache.py +146 -0
- buildgrid-0.0.86/buildgrid/client/asset.py +115 -0
- buildgrid-0.0.86/buildgrid/client/auth_token_loader.py +46 -0
- buildgrid-0.0.86/buildgrid/client/authentication.py +244 -0
- buildgrid-0.0.86/buildgrid/client/capabilities.py +48 -0
- buildgrid-0.0.86/buildgrid/client/cas.py +1050 -0
- buildgrid-0.0.86/buildgrid/client/channel.py +494 -0
- buildgrid-0.0.86/buildgrid/client/logstream.py +56 -0
- buildgrid-0.0.86/buildgrid/client/retrier.py +91 -0
- buildgrid-0.0.86/buildgrid/server/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/action_cache_abc.py +129 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/lru_cache.py +136 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/redis_cache.py +136 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/remote_cache.py +167 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/s3_cache.py +282 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/with_cache.py +126 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/caches/write_once_cache.py +95 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/instance.py +106 -0
- buildgrid-0.0.86/buildgrid/server/actioncache/service.py +146 -0
- buildgrid-0.0.86/buildgrid/server/auth/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/auth/config.py +73 -0
- buildgrid-0.0.86/buildgrid/server/auth/enums.py +42 -0
- buildgrid-0.0.86/buildgrid/server/auth/exceptions.py +52 -0
- buildgrid-0.0.86/buildgrid/server/auth/manager.py +388 -0
- buildgrid-0.0.86/buildgrid/server/bots/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/bots/instance.py +215 -0
- buildgrid-0.0.86/buildgrid/server/bots/job_assigner.py +177 -0
- buildgrid-0.0.86/buildgrid/server/bots/service.py +227 -0
- buildgrid-0.0.86/buildgrid/server/build_events/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/build_events/service.py +140 -0
- buildgrid-0.0.86/buildgrid/server/build_events/storage.py +186 -0
- buildgrid-0.0.86/buildgrid/server/capabilities/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/capabilities/instance.py +148 -0
- buildgrid-0.0.86/buildgrid/server/capabilities/service.py +97 -0
- buildgrid-0.0.86/buildgrid/server/cas/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/cas/instance.py +530 -0
- buildgrid-0.0.86/buildgrid/server/cas/service.py +432 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/disk.py +104 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/index_abc.py +96 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/redis.py +297 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/sql.py +751 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/sql_dialect_delegates/__init__.py +4 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/sql_dialect_delegates/postgresqldelegate.py +60 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/index/sql_dialect_delegates/sqlitedelegate.py +60 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/lru_memory_cache.py +117 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/redis.py +141 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/remote.py +200 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/s3.py +342 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/sharded.py +151 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/size_differentiated.py +180 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/sql.py +216 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/storage_abc.py +220 -0
- buildgrid-0.0.86/buildgrid/server/cas/storage/with_cache.py +206 -0
- buildgrid-0.0.86/buildgrid/server/context.py +80 -0
- buildgrid-0.0.86/buildgrid/server/controller.py +57 -0
- buildgrid-0.0.86/buildgrid/server/execution/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/execution/instance.py +227 -0
- buildgrid-0.0.86/buildgrid/server/execution/service.py +213 -0
- buildgrid-0.0.86/buildgrid/server/job_metrics.py +89 -0
- buildgrid-0.0.86/buildgrid/server/metrics_names.py +446 -0
- buildgrid-0.0.86/buildgrid/server/metrics_utils.py +404 -0
- buildgrid-0.0.86/buildgrid/server/monitoring.py +506 -0
- buildgrid-0.0.86/buildgrid/server/operations/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/operations/filtering/__init__.py +19 -0
- buildgrid-0.0.86/buildgrid/server/operations/filtering/filter.py +32 -0
- buildgrid-0.0.86/buildgrid/server/operations/filtering/filter_grammar.lark +27 -0
- buildgrid-0.0.86/buildgrid/server/operations/filtering/interpreter.py +155 -0
- buildgrid-0.0.86/buildgrid/server/operations/filtering/parser.py +66 -0
- buildgrid-0.0.86/buildgrid/server/operations/filtering/sanitizer.py +134 -0
- buildgrid-0.0.86/buildgrid/server/operations/instance.py +118 -0
- buildgrid-0.0.86/buildgrid/server/operations/service.py +199 -0
- buildgrid-0.0.86/buildgrid/server/persistence/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/README +1 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/__pycache__/env.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/__pycache__/env.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/__pycache__/env.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/__pycache__/env.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/__pycache__/env.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/env.py +90 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/script.py.mako +38 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/083f52d97bcb_add_index_on_queued_timestamp.py +37 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/1553978c6e69_add_stream_resource_names_to_jobs.py +47 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/29e88b3e0d0a_store_tool_information_for_a_job_in_the_.py +44 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/2b49634f4459_add_job_action_column.py +41 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/316ad77858af_add_blobs_table_for_sqlstorage.py +47 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/38340cc0cfb7_partial_indices.py +74 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/53e8b8b5bed6_add_inline_blob_support.py +41 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/69ceb5938c06_add_a_deleted_flag_for_indexed_cas_.py +38 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/8d910c8de8b6_use_largebinary_to_store_action_message.py +45 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/9b595964dc25_add_job_command.py +37 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/083f52d97bcb_add_index_on_queued_timestamp.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/083f52d97bcb_add_index_on_queued_timestamp.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/083f52d97bcb_add_index_on_queued_timestamp.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/083f52d97bcb_add_index_on_queued_timestamp.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/1553978c6e69_add_stream_resource_names_to_jobs.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/1553978c6e69_add_stream_resource_names_to_jobs.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/1553978c6e69_add_stream_resource_names_to_jobs.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/1553978c6e69_add_stream_resource_names_to_jobs.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/26570f8fa002_persist_job_retry_count.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/29e88b3e0d0a_store_tool_information_for_a_job_in_the_.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/29e88b3e0d0a_store_tool_information_for_a_job_in_the_.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/29e88b3e0d0a_store_tool_information_for_a_job_in_the_.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/29e88b3e0d0a_store_tool_information_for_a_job_in_the_.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/2b49634f4459_add_job_action_column.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/2b49634f4459_add_job_action_column.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/2b49634f4459_add_job_action_column.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/2b49634f4459_add_job_action_column.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/316ad77858af_add_blobs_table_for_sqlstorage.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/38340cc0cfb7_partial_indices.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/38340cc0cfb7_partial_indices.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/38340cc0cfb7_partial_indices.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/38340cc0cfb7_partial_indices.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/3d3d83671fe9_remove_done_column_from_operations.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/40ebfa4555e6_initial_schema.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/53e8b8b5bed6_add_inline_blob_support.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/53e8b8b5bed6_add_inline_blob_support.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/587e3f62158c_store_result_digests.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/69ceb5938c06_add_a_deleted_flag_for_indexed_cas_.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/69ceb5938c06_add_a_deleted_flag_for_indexed_cas_.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/69ceb5938c06_add_a_deleted_flag_for_indexed_cas_.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/69ceb5938c06_add_a_deleted_flag_for_indexed_cas_.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/70ed46d4dac1_remove_done_column_from_operations.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/7d62c56a0f21_use_largebinary_to_store_action_message.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/8a0dbc05b5b0_add_index.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/8d0be1234820_add_command_and_platform_properties.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/8d910c8de8b6_use_largebinary_to_store_action_message.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/8d910c8de8b6_use_largebinary_to_store_action_message.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/8d910c8de8b6_use_largebinary_to_store_action_message.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/8d910c8de8b6_use_largebinary_to_store_action_message.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/9b595964dc25_add_command_and_platform_properties.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/9b595964dc25_add_job_command.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/afa46425330d_add_platform_properties_table.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/b57c30a687fa_add_client_identities_table.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/bbb77b202e31_add_job_status_code.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/bbb77b202e31_add_job_status_code.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/bbb77b202e31_add_job_status_code.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/bbb77b202e31_add_job_status_code.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/bbe7e36a3717_persist_cancellation_of_operations.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/bc324dfd3610_add_cascades_for_job_platforms_table.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/c3032fa2308f_add_a_way_to_mark_a_job_as_assigned_.cpython-36.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/c64c104b2c8b_digest_size_bytes_to_bigint.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/c64c104b2c8b_digest_size_bytes_to_bigint.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/c732c773c05c_add_instance_name_to_jobs.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/d4efbcc698ca_add_instance_name_to_jobs.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/e1448dca2c7a_add_expiry_time_to_bots.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/e287a533bbd7_new_database.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/e287a533bbd7_new_database.cpython-37.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/e287a533bbd7_new_database.cpython-38.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/e287a533bbd7_new_database.cpython-39.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/e56bbe3e03f3_add_platform_properties_table.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/ef032da607b5_checking.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/__pycache__/fcb6e8f09a1d_add_bots_table.cpython-310.pyc +0 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/afa46425330d_add_platform_properties_table.py +59 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/b57c30a687fa_add_client_identities_table.py +62 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/bbb77b202e31_add_job_status_code.py +41 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/bc324dfd3610_add_cascades_for_job_platforms_table.py +56 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/c64c104b2c8b_digest_size_bytes_to_bigint.py +39 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/d4efbcc698ca_add_instance_name_to_jobs.py +39 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/e1448dca2c7a_add_expiry_time_to_bots.py +43 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/e287a533bbd7_new_database.py +103 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/alembic/versions/fcb6e8f09a1d_add_bots_table.py +56 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/impl.py +1630 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/models.py +229 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/notifier.py +146 -0
- buildgrid-0.0.86/buildgrid/server/persistence/sql/utils.py +236 -0
- buildgrid-0.0.86/buildgrid/server/redis/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/redis/provider.py +170 -0
- buildgrid-0.0.86/buildgrid/server/request_metadata_utils.py +124 -0
- buildgrid-0.0.86/buildgrid/server/s3/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/s3/s3utils.py +530 -0
- buildgrid-0.0.86/buildgrid/server/server.py +710 -0
- buildgrid-0.0.86/buildgrid/server/servicer.py +195 -0
- buildgrid-0.0.86/buildgrid/server/sql/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/sql/provider.py +516 -0
- buildgrid-0.0.86/buildgrid/server/sql/sqlutils.py +156 -0
- buildgrid-0.0.86/buildgrid/server/threading.py +136 -0
- buildgrid-0.0.86/buildgrid/server/utils/__init__.py +13 -0
- buildgrid-0.0.86/buildgrid/server/utils/async_lru_cache.py +132 -0
- buildgrid-0.0.86/buildgrid/server/utils/context.py +31 -0
- buildgrid-0.0.86/buildgrid/server/utils/decorators.py +67 -0
- buildgrid-0.0.86/buildgrid/settings.py +152 -0
- buildgrid-0.0.86/buildgrid/utils.py +368 -0
- buildgrid-0.0.86/buildgrid.egg-info/PKG-INFO +85 -0
- buildgrid-0.0.86/buildgrid.egg-info/SOURCES.txt +483 -0
- buildgrid-0.0.86/buildgrid.egg-info/dependency_links.txt +1 -0
- buildgrid-0.0.86/buildgrid.egg-info/entry_points.txt +2 -0
- buildgrid-0.0.86/buildgrid.egg-info/requires.txt +86 -0
- buildgrid-0.0.86/buildgrid.egg-info/top_level.txt +1 -0
- buildgrid-0.0.86/data/config/all-in-one.yml +81 -0
- buildgrid-0.0.86/data/config/artifacts.yml +29 -0
- buildgrid-0.0.86/data/config/auth.yml +152 -0
- buildgrid-0.0.86/data/config/basic-with-disk.yml +64 -0
- buildgrid-0.0.86/data/config/bgd-with-auth.yml +70 -0
- buildgrid-0.0.86/data/config/bots-interface.yml +56 -0
- buildgrid-0.0.86/data/config/cache.yml +45 -0
- buildgrid-0.0.86/data/config/controller.yml +61 -0
- buildgrid-0.0.86/data/config/default.yml +65 -0
- buildgrid-0.0.86/data/config/example-auth.yml +30 -0
- buildgrid-0.0.86/data/config/index-sqlite-no-execution.yml +43 -0
- buildgrid-0.0.86/data/config/index-sqlite.yml +73 -0
- buildgrid-0.0.86/data/config/logstream.yml +20 -0
- buildgrid-0.0.86/data/config/monitoring-controller.yml +58 -0
- buildgrid-0.0.86/data/config/multi-layer-storage.yml +58 -0
- buildgrid-0.0.86/data/config/redis-cache.yml +73 -0
- buildgrid-0.0.86/data/config/s3-indexed-cas.yml +52 -0
- buildgrid-0.0.86/data/config/storage-redis.yml +60 -0
- buildgrid-0.0.86/data/config/storage-s3.yml +45 -0
- buildgrid-0.0.86/data/config/storage.yml +47 -0
- buildgrid-0.0.86/data/config/with-metering.yml +86 -0
- buildgrid-0.0.86/data/config/with-pgbouncer.yml +74 -0
- buildgrid-0.0.86/docs/Makefile +20 -0
- buildgrid-0.0.86/docs/source/data/basic-disk-cas.yml +26 -0
- buildgrid-0.0.86/docs/source/data/bazel-example-server.yml +27 -0
- buildgrid-0.0.86/docs/source/data/buildstream-example-server.yml +27 -0
- buildgrid-0.0.86/docs/source/data/cas-and-ac.yml +25 -0
- buildgrid-0.0.86/docs/source/data/cas-example-server.yml +18 -0
- buildgrid-0.0.86/docs/source/data/execution-and-bots.yml +42 -0
- buildgrid-0.0.86/docs/source/data/sqlite-index-cas-only.yml +31 -0
- buildgrid-0.0.86/docs/source/index.rst +51 -0
- buildgrid-0.0.86/pyproject.toml +151 -0
- buildgrid-0.0.86/setup.cfg +59 -0
- buildgrid-0.0.86/setup.py +19 -0
- buildgrid-0.0.86/tests/auth/data/auth.yaml +41 -0
- buildgrid-0.0.86/tests/auth/data/jwks-valid.json +6 -0
- buildgrid-0.0.86/tests/auth/data/jwt-hs256-conflicting.secret +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-hs256-expired.token +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-hs256-matching.secret +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-hs256-unbounded.token +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-hs256-valid.token +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-conflicting.pub.key +6 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-expired.token +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-jwk-encrypted.token +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-matching.priv.key +15 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-matching.pub.key +6 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-unbounded.token +1 -0
- buildgrid-0.0.86/tests/auth/data/jwt-rs256-valid.token +1 -0
- buildgrid-0.0.86/tests/test_async_lru_cache.py +141 -0
- buildgrid-0.0.86/tests/test_execution_instance.py +388 -0
- buildgrid-0.0.86/tests/test_job_assigner.py +56 -0
- buildgrid-0.0.86/tests/test_metrics_utils.py +371 -0
- buildgrid-0.0.86/tests/test_multithreaded_metrics.py +62 -0
- buildgrid-0.0.86/tests/test_parser.py +42 -0
- buildgrid-0.0.86/tests/test_request_metadata_utils.py +72 -0
- buildgrid-0.0.86/tests/test_scheduler.py +762 -0
- buildgrid-0.0.86/tests/test_utils.py +335 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
3
|
+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
|
4
|
+
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
|
5
|
+
xmlns="http://usefulinc.com/ns/doap#">
|
|
6
|
+
|
|
7
|
+
<name xml:lang="en">BuildGrid</name>
|
|
8
|
+
<shortdesc xml:lang="en">Remote execution service implementing Google's REAPI & RWAPI</shortdesc>
|
|
9
|
+
<homepage rdf:resource="https://buildgrid.build" />
|
|
10
|
+
<mailing-list rdf:resource="https://lists.buildgrid.build/cgi-bin/mailman/listinfo/buildgrid" />
|
|
11
|
+
<download-page rdf:resource="https://gitlab.com/BuildGrid/buildgrid" />
|
|
12
|
+
<bug-database rdf:resource="https://gitlab.com/BuildGrid/buildgrid/issues" />
|
|
13
|
+
|
|
14
|
+
<programming-language>python3</programming-language>
|
|
15
|
+
|
|
16
|
+
<maintainer>
|
|
17
|
+
<foaf:Person>
|
|
18
|
+
<foaf:name>Distributed Build Team</foaf:name>
|
|
19
|
+
<foaf:mbox rdf:resource="mailto:dbuild@bloomberg.net" />
|
|
20
|
+
</foaf:Person>
|
|
21
|
+
</maintainer>
|
|
22
|
+
</Project>
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
.. _contributing:
|
|
2
|
+
|
|
3
|
+
Contributing
|
|
4
|
+
============
|
|
5
|
+
|
|
6
|
+
Some guidelines for people wanting to contribute. Also please always feel free
|
|
7
|
+
to speak to us, we're very friendly :-)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.. _feature-additions:
|
|
11
|
+
|
|
12
|
+
Feature additions
|
|
13
|
+
-----------------
|
|
14
|
+
|
|
15
|
+
We welcome contributions in the form of bug fixes or feature additions. Please
|
|
16
|
+
discuss with us before submitting anything, as we may well have some important
|
|
17
|
+
context which will could help guide your efforts.
|
|
18
|
+
|
|
19
|
+
Any major feature additions should be raised first as a proposal on the
|
|
20
|
+
BuildGrid mailing list to be discussed between the core contributors. Once
|
|
21
|
+
this discussion has taken place and there is agreement on how to proceed,
|
|
22
|
+
it should be followed by with a Gitlab issue being raised which summarizes
|
|
23
|
+
the tasks required.
|
|
24
|
+
|
|
25
|
+
We strongly recommend that you propose the feature in advance of
|
|
26
|
+
commencing any work.
|
|
27
|
+
|
|
28
|
+
The author of any patch is expected to take ownership of that code and is to
|
|
29
|
+
support it for a reasonable time-frame. This means addressing any unforeseen
|
|
30
|
+
side effects and quirks the feature may have introduced.
|
|
31
|
+
|
|
32
|
+
.. _BuildGrid mailing list: https://lists.buildgrid.build/cgi-bin/mailman/listinfo/buildgrid
|
|
33
|
+
|
|
34
|
+
.. _patch-submissions:
|
|
35
|
+
|
|
36
|
+
Patch submissions
|
|
37
|
+
-----------------
|
|
38
|
+
|
|
39
|
+
Branches must be submitted as merge requests (MR) on GitLab and should have a
|
|
40
|
+
corresponding issue raised in advance (whenever possible). If it's a small change,
|
|
41
|
+
an MR without it being associated to an issue is okay, but generally we prefer an
|
|
42
|
+
issue to be raised in advance so that we can track the work that is
|
|
43
|
+
currently in progress on the project.
|
|
44
|
+
|
|
45
|
+
When submitting a merge request, please obtain a review from another committer
|
|
46
|
+
who is familiar with the area of the code base which the branch effects. Two
|
|
47
|
+
approvals from other committers who are not the patch author will be needed
|
|
48
|
+
before any merge (we use Gitlab's 'approval' feature for this).
|
|
49
|
+
|
|
50
|
+
Below is a list of good patch submission good practice:
|
|
51
|
+
|
|
52
|
+
- Each commit should address a specific issue number in the commit message. This
|
|
53
|
+
is really important for provenance reasons.
|
|
54
|
+
- Merge requests that are not yet ready for review should be prefixed with the
|
|
55
|
+
``Draft:`` identifier.
|
|
56
|
+
- Submitted branches should not contain a history of work done.
|
|
57
|
+
- Unit tests should be a separate commit.
|
|
58
|
+
|
|
59
|
+
Commit messages
|
|
60
|
+
~~~~~~~~~~~~~~~
|
|
61
|
+
|
|
62
|
+
Commit messages must be formatted with a brief summary line, optionally followed
|
|
63
|
+
by an empty line and then a free form detailed description of the change. The
|
|
64
|
+
summary line must start with what changed, followed by a colon and a very brief
|
|
65
|
+
description of the change. If there is an associated issue, it **must** be
|
|
66
|
+
mentioned somewhere in the commit message.
|
|
67
|
+
|
|
68
|
+
**Example**::
|
|
69
|
+
|
|
70
|
+
worker.py: Fixed to be more human than human
|
|
71
|
+
|
|
72
|
+
Gifted the worker with a past so we can create
|
|
73
|
+
a cushion or a pillow for their emotions and
|
|
74
|
+
consequently, we can control them better.
|
|
75
|
+
|
|
76
|
+
This fixes issue #8.
|
|
77
|
+
|
|
78
|
+
For more tips, please read `The seven rules of a great Git commit message`_.
|
|
79
|
+
|
|
80
|
+
.. _The seven rules of a great Git commit message: https://chris.beams.io/posts/git-commit/#seven-rules
|
|
81
|
+
|
|
82
|
+
.. _coding-style:
|
|
83
|
+
|
|
84
|
+
Coding style
|
|
85
|
+
------------
|
|
86
|
+
|
|
87
|
+
Python coding style for BuildGrid is `PEP 8`_. We do have a couple of minor
|
|
88
|
+
exceptions to this standard, we dont want to compromise code readability by
|
|
89
|
+
being overly restrictive on line length for instance.
|
|
90
|
+
|
|
91
|
+
BuildGrid's test suite includes a PEP8 style compliance check using `flake8`_.
|
|
92
|
+
That test suite is automatically run for every change submitted to the GitLab
|
|
93
|
+
server and the merge request sytem requires the test suite execution to succeed
|
|
94
|
+
before changes can be pulled upstream. This means you have to respect the BuildGrid
|
|
95
|
+
coding style. For convenience you can run `tox -e flake8` to perform these checks.
|
|
96
|
+
|
|
97
|
+
BuildGrid's CI also runs a static type check in the form of `mypy`_. While mypy
|
|
98
|
+
is stable, it is not yet 1.0 and thus is not able to understand every use case
|
|
99
|
+
in typing (such as recursive types and complex mutators). Nevertheless, type
|
|
100
|
+
annotations are strongly preferred for readability, with complex type issues
|
|
101
|
+
flagged with ``# type: ignore``.
|
|
102
|
+
|
|
103
|
+
Configuration and exceptions for ``flake8`` can be found in:
|
|
104
|
+
|
|
105
|
+
- The `setup.cfg`_ file for ``flake8``.
|
|
106
|
+
|
|
107
|
+
.. _PEP 8: https://www.python.org/dev/peps/pep-0008
|
|
108
|
+
.. _flake8: https://flake8.pycqa.org/en/latest/
|
|
109
|
+
.. _setup.cfg: https://gitlab.com/BuildGrid/buildgrid/blob/master/setup.cfg
|
|
110
|
+
.. _mypy: http://mypy-lang.org/
|
|
111
|
+
|
|
112
|
+
Automated code formatting should be run using `isort` and `black` before submitting
|
|
113
|
+
MRs to the project. These tools can be invoked by running `tox -e format`.
|
|
114
|
+
|
|
115
|
+
Imports
|
|
116
|
+
~~~~~~~
|
|
117
|
+
|
|
118
|
+
Both absolute and relative imports are allowed. Prefer absolute imports when
|
|
119
|
+
possible, but if the absolute import path gets too long, relative imports are
|
|
120
|
+
okay.
|
|
121
|
+
|
|
122
|
+
Absolute::
|
|
123
|
+
|
|
124
|
+
from buildgrid.worker import Worker
|
|
125
|
+
|
|
126
|
+
Relative::
|
|
127
|
+
|
|
128
|
+
from .worker import Worker
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
Symbol naming
|
|
132
|
+
'''''''''''''
|
|
133
|
+
|
|
134
|
+
Any private symbol must start with a single leading underscore for two reasons:
|
|
135
|
+
|
|
136
|
+
- So that it does not bleed into documentation and *public API*.
|
|
137
|
+
- So that it is clear to developers which symbols are not used outside of the
|
|
138
|
+
declaring *scope*.
|
|
139
|
+
|
|
140
|
+
Remember that with python, the modules (python files) are also symbols within
|
|
141
|
+
their containing *package*, as such; modules which are entirely private to
|
|
142
|
+
BuildGrid are named as such, e.g. ``_roy.py``.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
Typing
|
|
146
|
+
......
|
|
147
|
+
|
|
148
|
+
Always add type annotations to your code and ensure that mypy verifies it.
|
|
149
|
+
|
|
150
|
+
BuildGrid was started before we began adding type annotations to the codebase,
|
|
151
|
+
so you may run across functions that are not annotated. If you do, please leave
|
|
152
|
+
the functions better than you found them and add annotations. mypy was designed
|
|
153
|
+
with `this maintenance pattern <https://mypy.readthedocs.io/en/latest/existing_code.html>`_
|
|
154
|
+
in mind.
|
|
155
|
+
|
|
156
|
+
.. _codebase-testing:
|
|
157
|
+
|
|
158
|
+
Testing
|
|
159
|
+
-------
|
|
160
|
+
|
|
161
|
+
BuildGrid is using `pytest`_ for regression and newly added code testing. The
|
|
162
|
+
test suite contains a serie of unit-tests and also run linting tools in order to
|
|
163
|
+
detect coding-style_ breakage. The full test suite is automatically executed by
|
|
164
|
+
GitLab CI system for every push to the server. Passing all the tests is a
|
|
165
|
+
mandatory requirement for any merge request to the trunk.
|
|
166
|
+
|
|
167
|
+
.. _pytest: https://docs.pytest.org
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
Running tests
|
|
171
|
+
~~~~~~~~~~~~~
|
|
172
|
+
|
|
173
|
+
In order to run the entire test suite, simply run:
|
|
174
|
+
|
|
175
|
+
.. code-block:: sh
|
|
176
|
+
|
|
177
|
+
tox -e ci-venv -- pytest tests
|
|
178
|
+
|
|
179
|
+
pyest's `usage documentation section`_ details the different command line
|
|
180
|
+
options that can be used when invoking the test runner.
|
|
181
|
+
|
|
182
|
+
.. _usage documentation section: https://docs.pytest.org/en/latest/usage.html
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
Test coverage
|
|
186
|
+
~~~~~~~~~~~~~
|
|
187
|
+
|
|
188
|
+
We are doing our best at keeping BuildGrid's test coverage score as high as
|
|
189
|
+
possible. Doing so, we ask for any merge request to include necessary test
|
|
190
|
+
additions and/or modifications in order to maintain that coverage level. A
|
|
191
|
+
detailed `coverage report`_ is produced and publish for any change merged to the
|
|
192
|
+
trunk.
|
|
193
|
+
|
|
194
|
+
.. _coverage report: https://buildgrid.gitlab.io/buildgrid/coverage/
|
|
195
|
+
|
|
196
|
+
.. _gitlab-features:
|
|
197
|
+
|
|
198
|
+
GitLab features
|
|
199
|
+
---------------
|
|
200
|
+
|
|
201
|
+
We intend to make use of some of GitLab's features in order to structure the
|
|
202
|
+
activity of the BuildGrid project. In doing so we are trying to achieve the
|
|
203
|
+
following goals:
|
|
204
|
+
|
|
205
|
+
- Full transparency of the current work in progress items
|
|
206
|
+
- Provide a view of all current and planned activity which is relatively easy
|
|
207
|
+
for the viewer to digest
|
|
208
|
+
- Ensure that we keep it simple and easy to contribute to the project
|
|
209
|
+
|
|
210
|
+
Explanation of how the project is currenlty using some GitLab features:
|
|
211
|
+
|
|
212
|
+
- `Labels`_: allow us to filter tickets (ie, 'issues' in gitlab terminology)
|
|
213
|
+
in useful ways. They add complexity and effort as they grow in number, so the
|
|
214
|
+
general approach is to ensure the ones we have are actually used and are
|
|
215
|
+
applied consistently. See the `BuildGrid labels`_.
|
|
216
|
+
- `Boards`_: allow us to visualise and manage issues and labels in a simple way.
|
|
217
|
+
Issues start life in the ``Backlog`` column by default, and we move them into
|
|
218
|
+
``ToDo`` when we aim to complete them in the current development cycle.
|
|
219
|
+
``Doing`` is only for when an item is currently being worked on. When on the
|
|
220
|
+
Board view, dragging and dropping an issue from column to column automatically
|
|
221
|
+
adjusts the relevant labels. See the `BuildGrid boards`_.
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
Guidelines for using GitLab features when working on this project:
|
|
225
|
+
|
|
226
|
+
- When raising an issue, please:
|
|
227
|
+
|
|
228
|
+
- check to see if there already is an issue to cover this task (if not then
|
|
229
|
+
raise a new one)
|
|
230
|
+
- assign the appropriate label or labels (tip: the vast majority of issues
|
|
231
|
+
raised will be either an enhancement or a bug)
|
|
232
|
+
|
|
233
|
+
- If you plan to work on an issue, please:
|
|
234
|
+
|
|
235
|
+
- self-assign the ticket
|
|
236
|
+
- ensure the ticket is in the ``ToDo`` column of the board if you aim to
|
|
237
|
+
complete in the current sprint but aren't yet working on it, and
|
|
238
|
+
the ``Doing`` column if you are working on it currently.
|
|
239
|
+
|
|
240
|
+
- Please note that Gitlab issues are for either 'tasks' or 'bugs' - ie not for
|
|
241
|
+
long discussions (where the mailing list is a better choice) or for ranting,
|
|
242
|
+
for example.
|
|
243
|
+
|
|
244
|
+
The above may seem like a lot to take in, but please don't worry about getting
|
|
245
|
+
it right the first few times. The worst that can happen is that you'll get a
|
|
246
|
+
friendly message from a current contributor who explains the process. We welcome
|
|
247
|
+
and value all contributions to the project!
|
|
248
|
+
|
|
249
|
+
.. _Labels: https://docs.gitlab.com/ee/user/project/labels.html
|
|
250
|
+
.. _BuildGrid labels: https://gitlab.com/BuildGrid/buildgrid/labels
|
|
251
|
+
.. _Boards: https://docs.gitlab.com/ee/user/project/issue_board.html
|
|
252
|
+
.. _BuildGrid boards: https://gitlab.com/BuildGrid/buildgrid/boards
|
|
253
|
+
.. _Templates: https://docs.gitlab.com/ee/user/project/description_templates.html
|
buildgrid-0.0.86/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2018 BuildGrid
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Main package includes:
|
|
2
|
+
include buildgrid/_app/settings/reference.yml
|
|
3
|
+
|
|
4
|
+
# Data includes:
|
|
5
|
+
include data/config/*.yml
|
|
6
|
+
|
|
7
|
+
# Documentation includes:
|
|
8
|
+
include docs/source/data/*.yml
|
|
9
|
+
include docs/source/*.rst
|
|
10
|
+
include docs/Makefile
|
|
11
|
+
|
|
12
|
+
# Tests includes:
|
|
13
|
+
include tests/auth/data/*
|
|
14
|
+
recursive-include tests/cas/data/*
|
|
15
|
+
include tests/cas/data
|
|
16
|
+
|
|
17
|
+
# Toplevel includes:
|
|
18
|
+
include BuildGrid.doap
|
|
19
|
+
include COMMITTERS.rst
|
|
20
|
+
include CONTRIBUTING.rst
|
|
21
|
+
include LICENSE
|
|
22
|
+
include README.rst
|
|
23
|
+
include requirements.txt
|
|
24
|
+
include pyproject.toml
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: buildgrid
|
|
3
|
+
Version: 0.0.86
|
|
4
|
+
Summary: A remote execution service
|
|
5
|
+
License: Apache License, Version 2.0
|
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Dist: boto3
|
|
10
|
+
Requires-Dist: botocore
|
|
11
|
+
Requires-Dist: dnspython
|
|
12
|
+
Requires-Dist: grpcio-reflection>=1.62.0
|
|
13
|
+
Requires-Dist: grpcio>=1.62.0
|
|
14
|
+
Requires-Dist: janus>=0.6.2
|
|
15
|
+
Requires-Dist: jinja2==3.0.3
|
|
16
|
+
Requires-Dist: protobuf<4.24.0
|
|
17
|
+
Requires-Dist: alembic
|
|
18
|
+
Requires-Dist: Click
|
|
19
|
+
Requires-Dist: SQLAlchemy[mypy]<2.0,>=1.4.24
|
|
20
|
+
Requires-Dist: pydantic>2.0
|
|
21
|
+
Requires-Dist: PyYAML>=6.0.1
|
|
22
|
+
Requires-Dist: jsonschema>=3.0.0
|
|
23
|
+
Requires-Dist: lark-parser
|
|
24
|
+
Requires-Dist: pycurl
|
|
25
|
+
Requires-Dist: buildgrid-metering-client>=0.0.4
|
|
26
|
+
Requires-Dist: mmh3
|
|
27
|
+
Provides-Extra: auth
|
|
28
|
+
Requires-Dist: cryptography; extra == "auth"
|
|
29
|
+
Requires-Dist: PyJWT; extra == "auth"
|
|
30
|
+
Requires-Dist: requests; extra == "auth"
|
|
31
|
+
Provides-Extra: browser
|
|
32
|
+
Requires-Dist: aiofiles; extra == "browser"
|
|
33
|
+
Requires-Dist: aiohttp; extra == "browser"
|
|
34
|
+
Requires-Dist: aiohttp-middlewares; extra == "browser"
|
|
35
|
+
Provides-Extra: database
|
|
36
|
+
Requires-Dist: psycopg2-binary; extra == "database"
|
|
37
|
+
Provides-Extra: redis
|
|
38
|
+
Requires-Dist: fakeredis>=2.10.1; extra == "redis"
|
|
39
|
+
Requires-Dist: redis>=4.5.1; extra == "redis"
|
|
40
|
+
Requires-Dist: hiredis; extra == "redis"
|
|
41
|
+
Provides-Extra: docs
|
|
42
|
+
Requires-Dist: Sphinx<7; extra == "docs"
|
|
43
|
+
Requires-Dist: sphinx-click; extra == "docs"
|
|
44
|
+
Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
45
|
+
Requires-Dist: sphinxcontrib-apidoc; extra == "docs"
|
|
46
|
+
Requires-Dist: sphinxcontrib-napoleon; extra == "docs"
|
|
47
|
+
Provides-Extra: tests
|
|
48
|
+
Requires-Dist: coverage; extra == "tests"
|
|
49
|
+
Requires-Dist: cryptography>=38.0.0; extra == "tests"
|
|
50
|
+
Requires-Dist: flaky; extra == "tests"
|
|
51
|
+
Requires-Dist: flask; extra == "tests"
|
|
52
|
+
Requires-Dist: flask-cors; extra == "tests"
|
|
53
|
+
Requires-Dist: moto<4.1.12; extra == "tests"
|
|
54
|
+
Requires-Dist: psutil; extra == "tests"
|
|
55
|
+
Requires-Dist: pycodestyle; extra == "tests"
|
|
56
|
+
Requires-Dist: pyopenssl>=22.0.0; extra == "tests"
|
|
57
|
+
Requires-Dist: pytest; extra == "tests"
|
|
58
|
+
Requires-Dist: pytest-aiohttp; extra == "tests"
|
|
59
|
+
Requires-Dist: pytest-asyncio; extra == "tests"
|
|
60
|
+
Requires-Dist: pytest-cov; extra == "tests"
|
|
61
|
+
Requires-Dist: pytest-forked; extra == "tests"
|
|
62
|
+
Requires-Dist: pytest-pycodestyle; extra == "tests"
|
|
63
|
+
Requires-Dist: pytest-xdist; extra == "tests"
|
|
64
|
+
Requires-Dist: fakeredis>=2.10.1; extra == "tests"
|
|
65
|
+
Requires-Dist: redis>=4.5.1; extra == "tests"
|
|
66
|
+
Requires-Dist: testing.postgresql; extra == "tests"
|
|
67
|
+
Requires-Dist: psycopg2-binary; extra == "tests"
|
|
68
|
+
Provides-Extra: dev
|
|
69
|
+
Requires-Dist: flake8; extra == "dev"
|
|
70
|
+
Requires-Dist: pycodestyle; extra == "dev"
|
|
71
|
+
Requires-Dist: pytest; extra == "dev"
|
|
72
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
73
|
+
Requires-Dist: pytest-forked; extra == "dev"
|
|
74
|
+
Requires-Dist: pytest-pycodestyle; extra == "dev"
|
|
75
|
+
Requires-Dist: pytest-xdist; extra == "dev"
|
|
76
|
+
Requires-Dist: pip-tools; extra == "dev"
|
|
77
|
+
Requires-Dist: memray; extra == "dev"
|
|
78
|
+
Provides-Extra: mypy
|
|
79
|
+
Requires-Dist: mypy; extra == "mypy"
|
|
80
|
+
Requires-Dist: grpc-stubs>=1.53; extra == "mypy"
|
|
81
|
+
Requires-Dist: boto3-stubs; extra == "mypy"
|
|
82
|
+
Requires-Dist: mypy-boto3-s3; extra == "mypy"
|
|
83
|
+
Requires-Dist: sqlalchemy2-stubs<=0.0.2a22; extra == "mypy"
|
|
84
|
+
Provides-Extra: all
|
|
85
|
+
Requires-Dist: buildgrid[auth,browser,database,dev,docs,mypy,redis,tests]; extra == "all"
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.. image:: https://gitlab.com/BuildGrid/buildgrid/badges/master/pipeline.svg
|
|
2
|
+
:target: https://gitlab.com/BuildGrid/buildgrid/-/commits/master
|
|
3
|
+
:alt: pipeline status
|
|
4
|
+
|
|
5
|
+
.. image:: https://gitlab.com/BuildGrid/buildgrid/badges/master/coverage.svg
|
|
6
|
+
:target: https://gitlab.com/BuildGrid/buildgrid/-/commits/master
|
|
7
|
+
:alt: coverage report
|
|
8
|
+
|
|
9
|
+
.. image:: https://gitlab.com/BuildGrid/buildgrid/-/badges/release.svg
|
|
10
|
+
:target: https://gitlab.com/BuildGrid/buildgrid/-/releases
|
|
11
|
+
:alt: coverage report
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.. _about:
|
|
15
|
+
|
|
16
|
+
About
|
|
17
|
+
=====
|
|
18
|
+
|
|
19
|
+
.. _what-is-it:
|
|
20
|
+
|
|
21
|
+
What is BuildGrid?
|
|
22
|
+
------------------
|
|
23
|
+
|
|
24
|
+
BuildGrid is a Python remote execution service which implements Google's
|
|
25
|
+
`Remote Execution API`_ and the `Remote Workers API`_. The project's goal is to
|
|
26
|
+
be able to execute build jobs remotely on a grid of computers in order to
|
|
27
|
+
massively speed up build times. Workers on the grid should be able to run with
|
|
28
|
+
different environments. It works with clients such as `Bazel`_,
|
|
29
|
+
`BuildStream`_ and `RECC`_, and is designed to be able to work with any client
|
|
30
|
+
that conforms to the above API protocols.
|
|
31
|
+
|
|
32
|
+
BuildGrid is designed to work with any worker conforming to the `Remote Workers API`_
|
|
33
|
+
specification. Workers actually execute the jobs on the backend while BuildGrid does
|
|
34
|
+
the scheduling and storage. The `BuildBox`_ ecosystem provides a suite of workers and
|
|
35
|
+
sandboxing tools that work with the Workers API and can be used with BuildGrid.
|
|
36
|
+
|
|
37
|
+
.. _Remote Execution API: https://github.com/bazelbuild/remote-apis
|
|
38
|
+
.. _Remote Workers API: https://docs.google.com/document/d/1s_AzRRD2mdyktKUj2HWBn99rMg_3tcPvdjx3MPbFidU/edit#heading=h.1u2taqr2h940
|
|
39
|
+
.. _BuildStream: https://wiki.gnome.org/Projects/BuildStream
|
|
40
|
+
.. _Bazel: https://bazel.build
|
|
41
|
+
.. _RECC: https://gitlab.com/BuildGrid/recc
|
|
42
|
+
.. _Trexe: https://gitlab.com/BuildGrid/trexe
|
|
43
|
+
.. _BuildBox: https://buildgrid.gitlab.io/buildbox/buildbox-home/
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
.. _readme-getting-started:
|
|
47
|
+
|
|
48
|
+
Getting started
|
|
49
|
+
---------------
|
|
50
|
+
|
|
51
|
+
Please refer to the `documentation`_ for `installation`_ and `usage`_
|
|
52
|
+
instructions, plus guidelines for `contributing`_ to the project.
|
|
53
|
+
|
|
54
|
+
.. _contributing: https://buildgrid.build/developer/contributing.html
|
|
55
|
+
.. _documentation: https://buildgrid.build/
|
|
56
|
+
.. _installation: https://buildgrid.build/user/installation.html
|
|
57
|
+
.. _usage: https://buildgrid.build/user/using.html
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
.. _about-resources:
|
|
61
|
+
|
|
62
|
+
Resources
|
|
63
|
+
---------
|
|
64
|
+
|
|
65
|
+
- `Homepage`_
|
|
66
|
+
- `GitLab repository`_
|
|
67
|
+
- `Bug tracking`_
|
|
68
|
+
- `Mailing list`_
|
|
69
|
+
- `Slack channel`_ [`invite link`_]
|
|
70
|
+
- `FAQ`_
|
|
71
|
+
|
|
72
|
+
.. _Homepage: https://buildgrid.build/
|
|
73
|
+
.. _GitLab repository: https://gitlab.com/BuildGrid/buildgrid
|
|
74
|
+
.. _Bug tracking: https://gitlab.com/BuildGrid/buildgrid/boards
|
|
75
|
+
.. _Mailing list: https://lists.buildgrid.build/cgi-bin/mailman/listinfo/buildgrid
|
|
76
|
+
.. _Slack channel: https://buildteamworld.slack.com/messages/CC9MKC203
|
|
77
|
+
.. _invite link: https://bit.ly/2SG1amT
|
|
78
|
+
.. _FAQ: https://buildgrid.build/user/faq.html
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright (C) 2018 Bloomberg LP
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# <http://www.apache.org/licenses/LICENSE-2.0>
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|