Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@
# push: true
#
# Basic usage:
# - docker-compose -f ci.buildstream-remote-cache.yml up
# - docker-compose -f ci.buildstream-remote-cache.yml down
# - docker-compose -f ci.bst-artifact-server.yml up
# - docker-compose -f ci.bst-artifact-server.yml down
#
version: "3.2"

services:
controller:
image: buildstream/buildstream:dev
command: ["bst-artifact-server","--port",
"50052",
command: ["bst-artifact-server",
"--log-level", "warning",
"--port", "50052",
"--enable-push",
"/artifacts"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# push: true
#
# Basic usage:
# - docker-compose -f ci.buildbarn-remote-cache.yml up
# - docker-compose -f ci.buildbarn-remote-cache.yml down
# - docker-compose -f ci.buildbarn.yml up
# - docker-compose -f ci.buildbarn.yml down

version: '3.4'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# url: http://localhost:50051
#
# Basic usage:
# - docker-compose -f ci.remote-execution.yml up
# - docker-compose -f ci.remote-execution.yml down
# - docker-compose -f ci.buildgrid.yml up
# - docker-compose -f ci.buildgrid.yml down
#
version: "3.2"

Expand Down
6 changes: 3 additions & 3 deletions .github/compose/ci.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
environment:
BST_PLUGINS_EXPERIMENTAL_VERSION: master

remote-execution:
buildgrid:
<<: *tests-template
command: tox -vvvvv -- --color=yes --remote-execution
environment:
Expand All @@ -72,7 +72,7 @@ services:
#
network_mode: host

buildstream-remote-cache:
bst-artifact-server:
<<: *tests-template
command: tox -vvvvv -- --color=yes --remote-cache
environment:
Expand All @@ -84,7 +84,7 @@ services:
#
network_mode: host

buildbarn-remote-cache:
buildbarn:
<<: *tests-template
command: tox -vvvvv -- --color=yes --remote-cache
environment:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ jobs:
# and they also map to corresponding filenames of services which are expected
# to be run in the background
test-name:
- remote-execution
- buildstream-remote-cache
- buildbarn-remote-cache
- bst-artifact-server
- buildbarn
- buildgrid

steps:
- name: Check out repository
Expand Down
1 change: 0 additions & 1 deletion src/buildstream/_artifactelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

from . import Element
from . import _cachekey
from ._artifact import Artifact
from ._artifactproject import ArtifactProject
from ._exceptions import ArtifactElementError
from ._loader import LoadElement
Expand Down
1 change: 0 additions & 1 deletion src/buildstream/_assetcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import grpc

from . import utils
from .node import MappingNode
from ._cas import CASRemote, CASCache
from ._exceptions import AssetCacheError, RemoteError
from ._remotespec import RemoteSpec, RemoteType
Expand Down
3 changes: 3 additions & 0 deletions src/buildstream/_cas/casserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ def __init__(self):
super().__init__([m.lower() for m in LogLevel.Levels._member_names_]) # pylint: disable=no-member

def convert(self, value, param, ctx) -> "LogLevel.Levels":
if isinstance(value, LogLevel.Levels):
value = value.value

return LogLevel.Levels(super().convert(value, param, ctx))

@classmethod
Expand Down