You need to sign in or sign up before continuing.
Commits on Source (5)
-
Qinusty authored
The SKIPPED message type is now used to indicate the end of a task which was successful without having to perform the given task. This overhauls the use of `Queue.done()` and therefore queues do not need to provide a processed/skipped return value from `done()`. Instead this is replaced with the action of raising a `SkipJob` exception from within `Queue.process()`.
-
Qinusty authored
Adds a test to ensure that BuildStream alerts the user of a skipped push when the remote already has the artifact cached.
-
Qinusty authored
This removes the timed_activity for an element _push action. This is unnecessary as the job is already being timed elsewhere.
-
Qinusty authored
This changes the info phrase for when an artifact is pulled from a remote server.
-
Qinusty authored
Both pulling and pushing INFO messages are now status messages. Calls to the messaging API through `self.context.message()` have now been switched to `element.info`.
Showing
- buildstream/_artifactcache/cascache.py 6 additions, 12 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_exceptions.py 14 additions, 0 deletionsbuildstream/_exceptions.py
- buildstream/_scheduler/jobs/job.py 22 additions, 5 deletionsbuildstream/_scheduler/jobs/job.py
- buildstream/_scheduler/queues/buildqueue.py 1 addition, 8 deletionsbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/queues/fetchqueue.py 4 additions, 9 deletionsbuildstream/_scheduler/queues/fetchqueue.py
- buildstream/_scheduler/queues/pullqueue.py 13 additions, 14 deletionsbuildstream/_scheduler/queues/pullqueue.py
- buildstream/_scheduler/queues/pushqueue.py 7 additions, 11 deletionsbuildstream/_scheduler/queues/pushqueue.py
- buildstream/_scheduler/queues/queue.py 15 additions, 20 deletionsbuildstream/_scheduler/queues/queue.py
- buildstream/_scheduler/queues/trackqueue.py 6 additions, 16 deletionsbuildstream/_scheduler/queues/trackqueue.py
- buildstream/element.py 9 additions, 10 deletionsbuildstream/element.py
- tests/frontend/pull.py 2 additions, 1 deletiontests/frontend/pull.py
- tests/frontend/push.py 23 additions, 0 deletionstests/frontend/push.py
- tests/testutils/runcli.py 1 addition, 1 deletiontests/testutils/runcli.py