arkitekt-next 0.7.45__tar.gz → 0.7.47__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of arkitekt-next might be problematic. Click here for more details.
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/PKG-INFO +2 -2
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/__blok__.py +2 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/arkitekt.py +14 -5
- arkitekt_next-0.7.47/arkitekt_next/bloks/orkestrator.py +60 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/pyproject.toml +2 -2
- arkitekt_next-0.7.45/arkitekt_next/bloks/orkestrator.py +0 -55
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/LICENSE +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/README.md +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/easy.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/next.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/qt.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/fakts.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/fakts_next.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/fakts_qt.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/grant_registry.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/herre.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/service/herre_qt.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/apps/types.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/admin.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/config.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/fluss.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/funcs.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/gateway.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/internal_docker.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/kabinet.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/livekit.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/lok.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/mikro.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/minio.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/mount.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/namegen.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/postgres.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/redis.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/rekuest.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/secret.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/admin.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/config.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/db.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/gateway.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/livekit.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/lok.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/mount.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/name.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/redis.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/s3.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/secret.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/services/socket.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/socket.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/bloks/tailscale.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/builders.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/call/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/call/local.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/call/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/call/remote.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/gen/compile.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/gen/init.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/gen/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/gen/watch.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/init/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/init/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/build.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/version.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/run/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/run/dev.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/run/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/run/prod.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/run/utils.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/configs/base.yaml +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/constants.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/errors.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/inspect.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/io.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/main.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/options.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/templates/filter.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/templates/simple.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/texts.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/types.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/ui.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/utils.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/validators.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/vars.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/versions/v1.yaml +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/constants.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/model.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/__init__.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/dark/gear.png +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/light/gear.png +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/builders.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/magic_bar.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/types.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/utils.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/service_registry.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/tqdm.py +0 -0
- {arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: arkitekt-next
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.47
|
|
4
4
|
Summary: client for the arkitekt_next platform
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: jhnnsrs
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Provides-Extra: all
|
|
17
17
|
Provides-Extra: blok
|
|
18
18
|
Provides-Extra: cli
|
|
19
|
-
Requires-Dist: blok (>=0.0.
|
|
19
|
+
Requires-Dist: blok (>=0.0.11) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
|
|
20
20
|
Requires-Dist: cryptography (>=40.0.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "blok")
|
|
21
21
|
Requires-Dist: dokker (>=0.1.21)
|
|
22
22
|
Requires-Dist: fakts (>=0.5.0)
|
|
@@ -2,6 +2,7 @@ from arkitekt_next.bloks.admin import AdminBlok
|
|
|
2
2
|
from arkitekt_next.bloks.arkitekt import ArkitektBlok
|
|
3
3
|
from arkitekt_next.bloks.mikro import MikroBlok
|
|
4
4
|
from arkitekt_next.bloks.fluss import FlussBlok
|
|
5
|
+
from arkitekt_next.bloks.orkestrator import OrkestratorBlok
|
|
5
6
|
from arkitekt_next.bloks.redis import RedisBlok
|
|
6
7
|
from arkitekt_next.bloks.gateway import GatewayBlok
|
|
7
8
|
from arkitekt_next.bloks.livekit import LocalLiveKitBlok
|
|
@@ -40,4 +41,5 @@ def get_bloks():
|
|
|
40
41
|
TailscaleBlok(),
|
|
41
42
|
SecretBlok(),
|
|
42
43
|
PreformedNamesBlok(),
|
|
44
|
+
OrkestratorBlok(),
|
|
43
45
|
]
|
|
@@ -9,6 +9,7 @@ from .rekuest import RekuestBlok
|
|
|
9
9
|
from .fluss import FlussBlok
|
|
10
10
|
from .gateway import GatewayBlok
|
|
11
11
|
from .internal_docker import InternalDockerBlok
|
|
12
|
+
from .orkestrator import OrkestratorBlok
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
class AdminCredentials(BaseModel):
|
|
@@ -19,7 +20,6 @@ class AdminCredentials(BaseModel):
|
|
|
19
20
|
|
|
20
21
|
@blok("live.arkitekt")
|
|
21
22
|
class ArkitektBlok:
|
|
22
|
-
|
|
23
23
|
def entry(self, renderer: Renderer):
|
|
24
24
|
renderer.render(
|
|
25
25
|
Panel(
|
|
@@ -30,10 +30,19 @@ class ArkitektBlok:
|
|
|
30
30
|
)
|
|
31
31
|
)
|
|
32
32
|
|
|
33
|
-
def preflight(
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
def preflight(
|
|
34
|
+
self,
|
|
35
|
+
lok: LocalLiveKitBlok,
|
|
36
|
+
mikro: MikroBlok,
|
|
37
|
+
kabinet: KabinetBlok,
|
|
38
|
+
rekuest: RekuestBlok,
|
|
39
|
+
fluss: FlussBlok,
|
|
40
|
+
gateway: GatewayBlok,
|
|
41
|
+
internal_engine: InternalDockerBlok,
|
|
42
|
+
scale: TailscaleBlok,
|
|
43
|
+
orkestrator: OrkestratorBlok,
|
|
44
|
+
):
|
|
45
|
+
print(lok, mikro, kabinet, rekuest, fluss, gateway, internal_engine)
|
|
36
46
|
|
|
37
47
|
def build(self, cwd):
|
|
38
48
|
pass
|
|
39
|
-
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
from typing import Dict, Any
|
|
2
|
+
import secrets
|
|
3
|
+
|
|
4
|
+
from arkitekt_next.bloks.funcs import (
|
|
5
|
+
create_default_service_yaml,
|
|
6
|
+
create_default_service_dependencies,
|
|
7
|
+
build_default_service_options,
|
|
8
|
+
)
|
|
9
|
+
from arkitekt_next.bloks.services.mount import MountService
|
|
10
|
+
from blok import blok, InitContext, ExecutionContext, Option, Command
|
|
11
|
+
from blok.tree import Repo, YamlFile
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@blok("live.arkitekt.orkestrator")
|
|
15
|
+
class OrkestratorBlok:
|
|
16
|
+
def __init__(self) -> None:
|
|
17
|
+
self.dev = False
|
|
18
|
+
self.disable = True
|
|
19
|
+
self.repo = "https://github.com/arkitektio/orkestrator-next"
|
|
20
|
+
self.build_command = ["yarn"]
|
|
21
|
+
self.up_command = ["yarn", "start"]
|
|
22
|
+
|
|
23
|
+
def preflight(self, init: InitContext, mount: MountService):
|
|
24
|
+
for key, value in init.kwargs.items():
|
|
25
|
+
setattr(self, key, value)
|
|
26
|
+
|
|
27
|
+
if self.disable:
|
|
28
|
+
return
|
|
29
|
+
self.mount = mount.register_mount("orkestrator", Repo(self.repo))
|
|
30
|
+
|
|
31
|
+
self.initialized = True
|
|
32
|
+
|
|
33
|
+
def build(self, context: ExecutionContext):
|
|
34
|
+
if self.disable:
|
|
35
|
+
return
|
|
36
|
+
|
|
37
|
+
context.install_commands.set_nested(
|
|
38
|
+
"orkestrator", Command(self.build_command, cwd=self.mount)
|
|
39
|
+
)
|
|
40
|
+
context.up_commands.set_nested(
|
|
41
|
+
"orkestrator", Command(self.up_command, cwd=self.mount)
|
|
42
|
+
)
|
|
43
|
+
pass
|
|
44
|
+
|
|
45
|
+
def get_options(self):
|
|
46
|
+
with_repos = Option(
|
|
47
|
+
subcommand="repo",
|
|
48
|
+
help="The default repo to use for the orkestrator",
|
|
49
|
+
default=self.repo,
|
|
50
|
+
)
|
|
51
|
+
with_disable = Option(
|
|
52
|
+
subcommand="disable",
|
|
53
|
+
help="Should we disable the orkestrator service?",
|
|
54
|
+
default=self.disable,
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
return [
|
|
58
|
+
with_repos,
|
|
59
|
+
with_disable,
|
|
60
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "arkitekt-next"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.47"
|
|
4
4
|
description = "client for the arkitekt_next platform"
|
|
5
5
|
authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -24,7 +24,7 @@ semver = { version = ">=3.0.1", optional = true }
|
|
|
24
24
|
dokker = ">=0.1.21"
|
|
25
25
|
koil = ">=0.3.6"
|
|
26
26
|
netifaces = { version = ">=0.11.0", python = "^3.8", optional = true }
|
|
27
|
-
blok = { version = ">=0.0.
|
|
27
|
+
blok = { version = ">=0.0.11", python = "^3.8", optional = true }
|
|
28
28
|
cryptography = { version = ">=40.0.8", python = "^3.8", optional = true }
|
|
29
29
|
namegenerator = { version = ">=1.0.6", python = "^3.8", optional = true }
|
|
30
30
|
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
from typing import Dict, Any
|
|
2
|
-
import secrets
|
|
3
|
-
|
|
4
|
-
from arkitekt_next.bloks.funcs import (
|
|
5
|
-
create_default_service_yaml,
|
|
6
|
-
create_default_service_dependencies,
|
|
7
|
-
build_default_service_options,
|
|
8
|
-
)
|
|
9
|
-
from blok import blok, InitContext, ExecutionContext, Option
|
|
10
|
-
from blok.tree import Repo, YamlFile
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
@blok("live.arkitekt.orkestrator")
|
|
14
|
-
class OrkestratorBlok:
|
|
15
|
-
def __init__(self) -> None:
|
|
16
|
-
self.dev = False
|
|
17
|
-
self.repo = "https://github.com/arkitektio/orkestrator-next"
|
|
18
|
-
self.scopes = {
|
|
19
|
-
"kabinet_deploy": "Deploy containers",
|
|
20
|
-
"kabinet_add_repo": "Add repositories to the database",
|
|
21
|
-
}
|
|
22
|
-
self.build_command = "yarn"
|
|
23
|
-
self.up_command = "yarn start"
|
|
24
|
-
|
|
25
|
-
def get_builder(self):
|
|
26
|
-
return "arkitekt.generic"
|
|
27
|
-
|
|
28
|
-
def get_dependencies(self):
|
|
29
|
-
return create_default_service_dependencies()
|
|
30
|
-
|
|
31
|
-
def preflight(self, init: InitContext):
|
|
32
|
-
for key, value in init.kwargs.items():
|
|
33
|
-
setattr(self, key, value)
|
|
34
|
-
|
|
35
|
-
self.service = create_default_service_yaml(
|
|
36
|
-
init, self, {"ensured_repos": self.ensured_repos}
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
self.initialized = True
|
|
40
|
-
|
|
41
|
-
def build(self, context: ExecutionContext):
|
|
42
|
-
context.docker_compose.set_nested("services", self.host, self.service)
|
|
43
|
-
|
|
44
|
-
def get_options(self):
|
|
45
|
-
def_options = build_default_service_options(self)
|
|
46
|
-
with_repos = Option(
|
|
47
|
-
subcommand="repos",
|
|
48
|
-
help="The default repos to enable for the service",
|
|
49
|
-
default=self.secret_key,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
return [
|
|
53
|
-
*def_options,
|
|
54
|
-
with_repos,
|
|
55
|
-
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/requirements.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/templates.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/inspect/variables.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/kabinet/validate.py
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/__init__.py
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/inspect.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/commands/manifest/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/fluss.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/gucker.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/kabinet.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/kluster.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/konviktion.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/mikro.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/mikro_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/napari.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/omero_ark.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/rekuest.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql
RENAMED
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/cli/schemas/unlok.schema.graphql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arkitekt_next-0.7.45 → arkitekt_next-0.7.47}/arkitekt_next/qt/assets/light/orange pulse.gif
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|