ewoksppf merge requestshttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests2022-12-02T17:12:12+01:00https://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/74simplify gitlab template2022-12-02T17:12:12+01:00Wout De Nolfsimplify gitlab templateWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/73Release2022-12-02T16:40:30+01:00Wout De NolfReleaseWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/72fixup CI2022-11-13T16:24:45+01:00Wout De Nolffixup CIWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/71Pypushflow api change to stop a workflow2022-11-13T14:26:51+01:00Wout De NolfPypushflow api change to stop a workflow```
import os
from time import sleep
from ewoksjob.client import submit
# Assume Bliss demo worker is running:
# BEACON_HOST=lindenolf:10001 CELERY_LOADER=ewoksjob.config.EwoksLoader \
# celery -A ewoksjob.apps.ewoks worker --pool=w...```
import os
from time import sleep
from ewoksjob.client import submit
# Assume Bliss demo worker is running:
# BEACON_HOST=lindenolf:10001 CELERY_LOADER=ewoksjob.config.EwoksLoader \
# celery -A ewoksjob.apps.ewoks worker --pool=worker
os.environ["BEACON_HOST"] = "lindenolf:10001"
args = ("bes.flows.TroubleShooting",)
load_options = {"representation": "json_module", "root_module": "bes.flows"}
kwargs = {
"load_options": load_options,
"binding": "ppf",
"stop_on_signals": True, # stop workflow on SIGTERM send by celery
# as a result of calling future.revoke
"forced_interruption": True, # kill running tasks when stopping the workflow
}
future = submit(args=args, kwargs=kwargs)
sleep(0.5)
future.revoke(terminate=True)
future.get()
```Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/70include class members without docstring2022-10-19T23:19:16+02:00Wout De Nolfinclude class members without docstringWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/69Improve docs2022-09-29T13:59:48+02:00Wout De NolfImprove docsWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/68disable pre-import by default2022-07-25T11:39:00+02:00Wout De Nolfdisable pre-import by defaultEwoks pre-import's all modules used by the workflow. This provides speedup when using the same modules multiple times (because without the pre-import, it gets re-imported in a subprocess each time). However when large portions of the wor...Ewoks pre-import's all modules used by the workflow. This provides speedup when using the same modules multiple times (because without the pre-import, it gets re-imported in a subprocess each time). However when large portions of the workflow are never used, it actually slows down the overall execution.
In this MR we make pre-imports optional.Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/67src layout2022-07-18T09:23:26+02:00Wout De Nolfsrc layoutWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/66fix docs2022-07-08T16:01:28+02:00Wout De Nolffix docsWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/65bump version2022-07-03T20:40:44+02:00Wout De Nolfbump versionWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/64use ewoksutils2022-07-03T19:49:33+02:00Wout De Nolfuse ewoksutilsWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/63improved docs2022-06-23T15:15:07+02:00Wout De Nolfimproved docsWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/62graph "id" not "name"2022-06-09T11:50:37+02:00Wout De Nolfgraph "id" not "name"Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/61setuptools should not import when installing2022-06-03T21:33:48+02:00Wout De Nolfsetuptools should not import when installinghttps://gitlab.esrf.fr/workflow/ewoks/ewoks/-/merge_requests/73https://gitlab.esrf.fr/workflow/ewoks/ewoks/-/merge_requests/73Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/60bump version2022-05-12T15:21:30+02:00Wout De Nolfbump versionWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/59Resolve "Harmonize execute_graph outputs"2022-05-12T15:12:19+02:00Wout De NolfResolve "Harmonize execute_graph outputs"Closes #10Closes #10Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/58'python -m sphinx' was missing project name and release which only 'python...2022-04-08T14:29:24+02:00Wout De Nolf'python -m sphinx' was missing project name and release which only 'python...'python -m sphinx' was missing project name and release which only 'python setup.py build_sphinx' had.'python -m sphinx' was missing project name and release which only 'python setup.py build_sphinx' had.Wout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/57doc building needs test requirements2022-04-08T13:59:33+02:00Wout De Nolfdoc building needs test requirementsWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/56change docs url2022-04-08T13:15:04+02:00Wout De Nolfchange docs urlWout De NolfWout De Nolfhttps://gitlab.esrf.fr/workflow/ewoks/ewoksppf/-/merge_requests/55readthedocs configuration2022-04-08T11:19:33+02:00Wout De Nolfreadthedocs configurationWout De NolfWout De Nolf