Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.service subpkg #483

Merged
merged 38 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fe0695f
First draft storage layer cli
goodboy Jan 29, 2023
7b196b1
Support startup-config overrides to `ahabd` super
goodboy Mar 8, 2023
959e423
Add warning around detach flag to docker client
goodboy Mar 8, 2023
8c66f06
Deliver es specific ahab-super in endpoint startup config
goodboy Mar 8, 2023
05b67c2
Apply `Services` runtime state **immediately** inside starup block
goodboy Mar 8, 2023
b078a06
Doc string and types bump in loggin mod
goodboy Mar 8, 2023
7694419
Background docker-container logs processing
goodboy Mar 8, 2023
bb723ab
Always passthrough loglevel to `ahabd` supervisor
goodboy Mar 8, 2023
56629b6
Hardcode `cancel` log level for `ahabd` for now
goodboy Mar 8, 2023
bfe3ea1
Set explicit `marketstore` container startup timeout
goodboy Mar 8, 2023
93c81fa
Start `piker.service` sub-package
goodboy Mar 8, 2023
afac553
Move all docker and external db code to `piker.service`
goodboy Mar 8, 2023
dd87d11
Bump mkts timeout to 2s
goodboy Mar 8, 2023
b226b67
Fix missed `marketstore` mod imports
goodboy Mar 8, 2023
31f2b01
Move `Services` api to `.service._mngr` mod
goodboy Mar 8, 2023
a2d4093
Move actor-discovery utils to `.service._registry
goodboy Mar 8, 2023
eca048c
Move daemon spawning endpoints to `service._daemon` module
goodboy Mar 8, 2023
f95ea19
Move `pikerd` runtime boostrap to `.service._actor_runtime`
goodboy Mar 8, 2023
cec2967
Import `maybe_open_pikerd` at module level
goodboy Mar 8, 2023
441243f
Attempt to report `piker storage -d <fqsn>` errors
goodboy Mar 9, 2023
6f92c6b
Don't crash on a `xdotool` timeout..
goodboy Mar 9, 2023
cda7a54
Fix final missed `marketstore` mod import
goodboy Mar 9, 2023
fbc12b1
Add 10min timeout on CI job..
goodboy Mar 9, 2023
6540c41
Lul, fix imports in elasticsearch block..
goodboy Mar 9, 2023
31392af
Move enabled module defs to just above where used
goodboy Mar 9, 2023
75b7a8b
`marketstore`: Pull default socket from server config
goodboy Mar 9, 2023
2014019
Add reconnect loop to `marketstore` startup test
goodboy Mar 9, 2023
aa36abf
Support passing `tractor` "actor runtime vars" down the runtime
goodboy Mar 9, 2023
5aaa7f4
Pull testing config dir from `tractor` runtime vars
goodboy Mar 9, 2023
79b0db4
Pass a config `tmp_dir: Path` to the runtime when testing
goodboy Mar 9, 2023
7cc9911
Add connection poll loop to es test as well
goodboy Mar 9, 2023
9a00c45
Add `log` fixture for easy test plugin
goodboy Mar 9, 2023
15064d9
`ahabd`: Harden cancellation teardown (again XD)
goodboy Mar 9, 2023
0772b4a
Hard code version from our container, predicate renaming
goodboy Mar 9, 2023
44a3115
Expose `drop_root_perms_for_ahab` from `pikerd` factories to `ahabd`
goodboy Mar 9, 2023
97290fc
Never drop root perms in test harness
goodboy Mar 9, 2023
8ceaa27
Add ES client polling to ensure eventual connectivity..
goodboy Mar 9, 2023
12883c3
Don't double send `enable_modules` and `debug_mode` in kwargs..
goodboy Mar 10, 2023
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

testing:
name: 'install + test-suite'
timeout-minutes: 10
runs-on: ubuntu-latest
steps:

Expand Down
8 changes: 4 additions & 4 deletions piker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# piker: trading gear for hackers.
# Copyright 2020-eternity Tyler Goodlet (in stewardship for piker0)
# Copyright 2020-eternity Tyler Goodlet (in stewardship for pikers)

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Expand All @@ -14,11 +14,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

"""
'''
piker: trading gear for hackers.

"""
from ._daemon import open_piker_runtime
'''
from .service import open_piker_runtime
from .data.feed import open_feed

__all__ = [
Expand Down
Loading