diff options
author | Jürg Billeter <j@bitron.ch> | 2020-09-29 11:55:20 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-09-29 17:54:34 +0200 |
commit | 498e683e1defb3fe919ee14ce26f43868ec1c3c8 (patch) | |
tree | e46d8ac529d65a640034ac1b76c5c44fb2e92689 /src/buildstream/_scheduler | |
parent | c83217694faf365f3a94be03bb684a5a3e1c2d5a (diff) | |
download | buildstream-498e683e1defb3fe919ee14ce26f43868ec1c3c8.tar.gz |
_stream.py: Pull missing artifacts in push()juerg/push
As per #819, BuildStream should pull missing artifacts by default. The
previous behavior was to only pull missing buildtrees. A top-level
`--no-pull` option can easily be supported in the future.
This change makes it possible to use a single scheduler session (with
concurrent pull and push jobs). This commit also simplifies the code as
it removes the `sched_error_action` emulation, using the regular
frontend code path instead.
Diffstat (limited to 'src/buildstream/_scheduler')
-rw-r--r-- | src/buildstream/_scheduler/queues/artifactpushqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_scheduler/queues/artifactpushqueue.py b/src/buildstream/_scheduler/queues/artifactpushqueue.py index 6ed79a5ba..79597c704 100644 --- a/src/buildstream/_scheduler/queues/artifactpushqueue.py +++ b/src/buildstream/_scheduler/queues/artifactpushqueue.py @@ -32,7 +32,7 @@ class ArtifactPushQueue(Queue): complete_name = "Artifacts Pushed" resources = [ResourceType.UPLOAD] - def __init__(self, scheduler, *, skip_uncached=True): + def __init__(self, scheduler, *, skip_uncached=False): super().__init__(scheduler) self._skip_uncached = skip_uncached |