arkitekt-next 0.8.13__tar.gz → 0.8.14__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.

Files changed (138) hide show
  1. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/PKG-INFO +1 -1
  2. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/publish.py +2 -2
  3. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/io.py +12 -11
  4. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/types.py +2 -2
  5. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/pyproject.toml +1 -1
  6. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/LICENSE +0 -0
  7. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/README.md +0 -0
  8. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/__blok__.py +0 -0
  9. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/__init__.py +0 -0
  10. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/__init__.py +0 -0
  11. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/service/__init__.py +0 -0
  12. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/service/fakts_next.py +0 -0
  13. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/service/fakts_qt.py +0 -0
  14. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/service/grant_registry.py +0 -0
  15. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/service/herre.py +0 -0
  16. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/service/herre_qt.py +0 -0
  17. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/apps/types.py +0 -0
  18. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/base_models.py +0 -0
  19. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/__init__.py +0 -0
  20. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/admin.py +0 -0
  21. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/arkitekt.py +0 -0
  22. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/base.py +0 -0
  23. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/config.py +0 -0
  24. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/fluss.py +0 -0
  25. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/gateway.py +0 -0
  26. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/internal_docker.py +0 -0
  27. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/kabinet.py +0 -0
  28. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/livekit.py +0 -0
  29. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/lok.py +0 -0
  30. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/mikro.py +0 -0
  31. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/minio.py +0 -0
  32. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/mount.py +0 -0
  33. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/namegen.py +0 -0
  34. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/orkestrator.py +0 -0
  35. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/postgres.py +0 -0
  36. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/redis.py +0 -0
  37. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/rekuest.py +0 -0
  38. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/secret.py +0 -0
  39. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/__init__.py +0 -0
  40. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/admin.py +0 -0
  41. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/config.py +0 -0
  42. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/db.py +0 -0
  43. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/gateway.py +0 -0
  44. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/livekit.py +0 -0
  45. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/lok.py +0 -0
  46. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/mount.py +0 -0
  47. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/name.py +0 -0
  48. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/redis.py +0 -0
  49. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/s3.py +0 -0
  50. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/secret.py +0 -0
  51. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/services/socket.py +0 -0
  52. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/socket.py +0 -0
  53. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/bloks/tailscale.py +0 -0
  54. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/builders.py +0 -0
  55. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/__init__.py +0 -0
  56. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/call/__init__.py +0 -0
  57. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/call/local.py +0 -0
  58. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/call/main.py +0 -0
  59. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/call/remote.py +0 -0
  60. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
  61. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/gen/compile.py +0 -0
  62. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/gen/init.py +0 -0
  63. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/gen/main.py +0 -0
  64. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/gen/watch.py +0 -0
  65. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/init/__init__.py +0 -0
  66. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/init/main.py +0 -0
  67. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
  68. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/inspect/main.py +0 -0
  69. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/inspect/requirements.py +0 -0
  70. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
  71. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
  72. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
  73. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/build.py +0 -0
  74. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
  75. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
  76. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
  77. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
  78. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
  79. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
  80. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
  81. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
  82. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/manifest/main.py +0 -0
  83. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
  84. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/manifest/version.py +0 -0
  85. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
  86. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/run/__init__.py +0 -0
  87. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/run/dev.py +0 -0
  88. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/run/main.py +0 -0
  89. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/run/prod.py +0 -0
  90. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/commands/run/utils.py +0 -0
  91. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/configs/base.yaml +0 -0
  92. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/constants.py +0 -0
  93. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
  94. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/errors.py +0 -0
  95. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/inspect.py +0 -0
  96. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/main.py +0 -0
  97. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/options.py +0 -0
  98. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
  99. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
  100. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
  101. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
  102. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
  103. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
  104. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
  105. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
  106. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
  107. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
  108. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
  109. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
  110. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
  111. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
  112. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/templates/filter.py +0 -0
  113. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/templates/simple.py +0 -0
  114. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/texts.py +0 -0
  115. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/ui.py +0 -0
  116. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/utils.py +0 -0
  117. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/validators.py +0 -0
  118. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/vars.py +0 -0
  119. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/cli/versions/v1.yaml +0 -0
  120. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/constants.py +0 -0
  121. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/__init__.py +0 -0
  122. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/dark/gear.png +0 -0
  123. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
  124. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
  125. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
  126. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
  127. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/light/gear.png +0 -0
  128. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
  129. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
  130. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
  131. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
  132. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/builders.py +0 -0
  133. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/magic_bar.py +0 -0
  134. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/types.py +0 -0
  135. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/qt/utils.py +0 -0
  136. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/service_registry.py +0 -0
  137. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/tqdm.py +0 -0
  138. {arkitekt_next-0.8.13 → arkitekt_next-0.8.14}/arkitekt_next/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.13
3
+ Version: 0.8.14
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -23,11 +23,11 @@ def check_if_build_already_deployed(build: Build) -> None:
23
23
  A click exception if the manifest has already been deployed
24
24
  """
25
25
  config = get_deployments()
26
- for deployment in config.deployments:
26
+ for deployment in config.app_images:
27
27
  if (
28
28
  deployment.manifest.identifier == build.manifest.identifier
29
29
  and deployment.manifest.version == build.manifest.version
30
- and deployment.flavour == build.flavour
30
+ and deployment.flavour_name == build.flavour
31
31
  ):
32
32
  raise click.ClickException(
33
33
  f"Deployment of {build.manifest.identifier}/{build.manifest.version} in the {build.flavour} flavour already exists."
@@ -1,3 +1,5 @@
1
+ import datetime
2
+ import uuid
1
3
  from arkitekt_next.utils import create_arkitekt_next_folder
2
4
  import os
3
5
  from typing import Optional, List, Dict
@@ -8,7 +10,7 @@ from arkitekt_next.cli.types import (
8
10
  Flavour,
9
11
  DeploymentsConfigFile,
10
12
  )
11
- from kabinet.api.schema import InspectionInput, AppImageInput
13
+ from kabinet.api.schema import InspectionInput, AppImageInput, DockerImageInput
12
14
 
13
15
  import yaml
14
16
  import json
@@ -225,24 +227,23 @@ def generate_deployment(
225
227
 
226
228
  config_file = os.path.join(path, "deployments.yaml")
227
229
 
228
- deployment = AppImageInput(
229
- build_id=build.build_id,
230
+ app_image = AppImageInput(
231
+ appImageId=uuid.uuid4().hex,
230
232
  manifest=build.manifest,
231
- flavour_name=build.flavour,
233
+ flavourName=build.flavour,
232
234
  selectors=build.selectors,
233
235
  inspection=build.inspection,
234
- image=image,
236
+ image=DockerImageInput(imageString=image, buildAt=datetime.datetime.now()),
237
+
235
238
  )
236
239
 
237
240
  if os.path.exists(config_file):
238
241
  with open(config_file, "r") as file:
239
242
  config = DeploymentsConfigFile(**yaml.safe_load(file))
240
- config.app_images.append(deployment)
241
- config.latest_app_image = deployment.release_id
243
+ config.app_images.append(app_image)
244
+ config.latest_app_image = app_image.app_image_id
242
245
  else:
243
- config = DeploymentsConfigFile(deployments=[deployment])
244
- config.app_images = deployment_run
245
- config.latest_app_image = deployment.release_id
246
+ config = DeploymentsConfigFile(app_images=[app_image], latest_app_image=app_image.app_image_id)
246
247
 
247
248
  with open(config_file, "w") as file:
248
249
  yaml.safe_dump(
@@ -251,4 +252,4 @@ def generate_deployment(
251
252
  sort_keys=True,
252
253
  )
253
254
 
254
- return deployment
255
+ return app_image
@@ -9,7 +9,7 @@ from arkitekt_next.base_models import Requirement
9
9
  from string import Formatter
10
10
  import os
11
11
 
12
- from kabinet.api.schema import AppImageInput, InspectionInput, SelectorInput
12
+ from kabinet.api.schema import AppImageInput, InspectionInput, SelectorInput, ManifestInput
13
13
  from rekuest_next.api.schema import TemplateInput
14
14
 
15
15
  ALLOWED_BUILDER_KEYS = [
@@ -143,7 +143,7 @@ class Build(BaseModel):
143
143
  description: str = Field(default="")
144
144
  selectors: List[SelectorInput] = Field(default_factory=list)
145
145
  flavour: str = Field(default="vanilla")
146
- manifest: Manifest
146
+ manifest: ManifestInput
147
147
  build_at: datetime.datetime = Field(default_factory=datetime.datetime.now)
148
148
  base_docker_command: List[str] = Field(
149
149
  default_factory=lambda: ["docker", "run", "-it", "--net", "host"]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "arkitekt-next"
3
- version = "0.8.13"
3
+ version = "0.8.14"
4
4
  description = "client for the arkitekt_next platform"
5
5
  authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes