Commit 47d18c3d authored by Raoul Hidalgo Charman's avatar Raoul Hidalgo Charman

PushQueue -> ArtifactPushQueue

Rename to be consistent with SourcePushQueue

Part of #440
parent 0619bf6a
Pipeline #53181657 passed with stages
in 43 minutes and 42 seconds
......@@ -23,7 +23,7 @@ from .queues.fetchqueue import FetchQueue
from .queues.sourcepushqueue import SourcePushQueue
from .queues.trackqueue import TrackQueue
from .queues.buildqueue import BuildQueue
from .queues.pushqueue import PushQueue
from .queues.artifactpushqueue import ArtifactPushQueue
from .queues.pullqueue import PullQueue
from .scheduler import Scheduler, SchedStatus
......
......@@ -26,7 +26,7 @@ from ..._exceptions import SkipJob
# A queue which pushes element artifacts
#
class PushQueue(Queue):
class ArtifactPushQueue(Queue):
action_name = "Push"
complete_name = "Pushed"
......
......@@ -35,7 +35,7 @@ from ._artifactelement import verify_artifact_ref
from ._exceptions import StreamError, ImplError, BstError, ArtifactElementError, CASCacheError
from ._message import Message, MessageType
from ._scheduler import Scheduler, SchedStatus, TrackQueue, FetchQueue, \
SourcePushQueue, BuildQueue, PullQueue, PushQueue
SourcePushQueue, BuildQueue, PullQueue, ArtifactPushQueue
from ._pipeline import Pipeline, PipelineSelection
from ._profile import Topics, profile_start, profile_end
from .types import _KeyStrength
......@@ -266,7 +266,7 @@ class Stream():
self._add_queue(BuildQueue(self._scheduler))
if self._artifacts.has_push_remotes():
self._add_queue(PushQueue(self._scheduler))
self._add_queue(ArtifactPushQueue(self._scheduler))
if self._sourcecache.has_push_remotes():
self._add_queue(SourcePushQueue(self._scheduler))
......@@ -439,7 +439,7 @@ class Stream():
self._add_queue(PullQueue(self._scheduler))
self._enqueue_plan(require_buildtrees)
push_queue = PushQueue(self._scheduler)
push_queue = ArtifactPushQueue(self._scheduler)
self._add_queue(push_queue)
self._enqueue_plan(elements, queue=push_queue)
self._run()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment