stoobly-agent 1.7.1__py3-none-any.whl → 1.7.2__py3-none-any.whl
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.
- stoobly_agent/__init__.py +1 -1
- stoobly_agent/app/cli/scaffold/docker/service/builder.py +10 -9
- {stoobly_agent-1.7.1.dist-info → stoobly_agent-1.7.2.dist-info}/METADATA +1 -1
- {stoobly_agent-1.7.1.dist-info → stoobly_agent-1.7.2.dist-info}/RECORD +7 -7
- {stoobly_agent-1.7.1.dist-info → stoobly_agent-1.7.2.dist-info}/LICENSE +0 -0
- {stoobly_agent-1.7.1.dist-info → stoobly_agent-1.7.2.dist-info}/WHEEL +0 -0
- {stoobly_agent-1.7.1.dist-info → stoobly_agent-1.7.2.dist-info}/entry_points.txt +0 -0
stoobly_agent/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
COMMAND = 'stoobly-agent'
|
2
|
-
VERSION = '1.7.
|
2
|
+
VERSION = '1.7.2'
|
@@ -99,8 +99,7 @@ class ServiceBuilder(Builder):
|
|
99
99
|
environment['VIRTUAL_PROTO'] = SERVICE_SCHEME
|
100
100
|
|
101
101
|
if self.config.detached:
|
102
|
-
|
103
|
-
volumes.append(f"../..:{STOOBLY_HOME_DIR}/{DATA_DIR_NAME}/{DOCKER_NAMESPACE}")
|
102
|
+
self.__with_detached_volumes(volumes)
|
104
103
|
|
105
104
|
base = {
|
106
105
|
'environment': environment,
|
@@ -124,11 +123,7 @@ class ServiceBuilder(Builder):
|
|
124
123
|
self.__with_url_environment(environment)
|
125
124
|
|
126
125
|
if self.config.detached:
|
127
|
-
|
128
|
-
volumes.append(f"{self.service_name}:{STOOBLY_HOME_DIR}/{DATA_DIR_NAME}")
|
129
|
-
|
130
|
-
# Mount docker folder
|
131
|
-
volumes.append(f"../..:{STOOBLY_HOME_DIR}/{DATA_DIR_NAME}/{DOCKER_NAMESPACE}")
|
126
|
+
self.__with_detached_volumes(volumes)
|
132
127
|
|
133
128
|
self.with_service(self.init_base, {
|
134
129
|
'command': [f"{WORKFLOW_SCRIPTS}/{WORKFLOW_TEMPLATE}/.init", 'bin/init'],
|
@@ -149,8 +144,7 @@ class ServiceBuilder(Builder):
|
|
149
144
|
self.__with_url_environment(environment)
|
150
145
|
|
151
146
|
if self.config.detached:
|
152
|
-
|
153
|
-
volumes.append(f"../..:{STOOBLY_HOME_DIR}/{DATA_DIR_NAME}/{DOCKER_NAMESPACE}")
|
147
|
+
self.__with_detached_volumes(volumes)
|
154
148
|
|
155
149
|
base = {
|
156
150
|
'command': [f"{WORKFLOW_SCRIPTS}/{WORKFLOW_TEMPLATE}/.configure", 'bin/configure'],
|
@@ -195,6 +189,13 @@ class ServiceBuilder(Builder):
|
|
195
189
|
|
196
190
|
super().write(compose)
|
197
191
|
|
192
|
+
def __with_detached_volumes(self, volumes: list):
|
193
|
+
# Mount named volume
|
194
|
+
volumes.append(f"{self.service_name}:{STOOBLY_HOME_DIR}/{DATA_DIR_NAME}")
|
195
|
+
|
196
|
+
# Mount docker folder
|
197
|
+
volumes.append(f"../:{STOOBLY_HOME_DIR}/{DATA_DIR_NAME}/{DOCKER_NAMESPACE}")
|
198
|
+
|
198
199
|
def __with_url_environment(self, environment):
|
199
200
|
environment[SERVICE_HOSTNAME_ENV] = SERVICE_HOSTNAME
|
200
201
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
stoobly_agent/__init__.py,sha256=
|
1
|
+
stoobly_agent/__init__.py,sha256=vcAemunWrTugNqMOkhqZIYsXqnkXMq5e2XHDuIQqj-0,44
|
2
2
|
stoobly_agent/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
stoobly_agent/app/api/__init__.py,sha256=ctkB8KR-eXO0SFhj602huHiyvQ3PslFWd8fkcufgrAI,1000
|
4
4
|
stoobly_agent/app/api/application_http_request_handler.py,sha256=Vvz53yB0bR7J-QqMAkLlhcZrA4P64ZEN7w8cMbgl6o0,5261
|
@@ -81,7 +81,7 @@ stoobly_agent/app/cli/scaffold/docker/builder.py,sha256=uiGqhxBHEasZAqLzjKUGUs-1
|
|
81
81
|
stoobly_agent/app/cli/scaffold/docker/constants.py,sha256=K4u8MzpCcG75cxDXLjOV5L_JbZuy1it0jp1K7TfnKk0,730
|
82
82
|
stoobly_agent/app/cli/scaffold/docker/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
83
83
|
stoobly_agent/app/cli/scaffold/docker/service/build_decorator.py,sha256=ZU7z4bkvdS3OK5O4fJhlA9_PNwnFtZW6t7vNF7V5obQ,1003
|
84
|
-
stoobly_agent/app/cli/scaffold/docker/service/builder.py,sha256=
|
84
|
+
stoobly_agent/app/cli/scaffold/docker/service/builder.py,sha256=xgtDPAJYCCuzPfRIaG7yxjbH7qcyfO6OcI5jGs4B8S0,5577
|
85
85
|
stoobly_agent/app/cli/scaffold/docker/service/configure_gateway.py,sha256=oBp__kVxTxdiBhsLNXADPWIaSQzRQMyBF7aToQOkfOs,3302
|
86
86
|
stoobly_agent/app/cli/scaffold/docker/service/types.py,sha256=qB-yYHlu-PZDc0HYgTUvE5bWNpHxaSThC3JUG8okR1k,88
|
87
87
|
stoobly_agent/app/cli/scaffold/docker/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -744,8 +744,8 @@ stoobly_agent/test/mock_data/scaffold/docker-compose-local-service.yml,sha256=1W
|
|
744
744
|
stoobly_agent/test/mock_data/scaffold/index.html,sha256=qJwuYajKZ4ihWZrJQ3BNObV5kf1VGnnm_vqlPJzdqLE,258
|
745
745
|
stoobly_agent/test/mock_data/uspto.yaml,sha256=6U5se7C3o-86J4m9xpOk9Npias399f5CbfWzR87WKwE,7835
|
746
746
|
stoobly_agent/test/test_helper.py,sha256=m_oAI7tmRYCNZdKfNqISWhMv3e44tjeYViQ3nTUfnos,1007
|
747
|
-
stoobly_agent-1.7.
|
748
|
-
stoobly_agent-1.7.
|
749
|
-
stoobly_agent-1.7.
|
750
|
-
stoobly_agent-1.7.
|
751
|
-
stoobly_agent-1.7.
|
747
|
+
stoobly_agent-1.7.2.dist-info/LICENSE,sha256=o93sj12cdoEOsTCjPaPFsw3Xq0SXs3pPcY-9reE2sEw,548
|
748
|
+
stoobly_agent-1.7.2.dist-info/METADATA,sha256=VxdMFDuGuf-ENsJINGiL3-mzWA3G8HlZbtJgKYr2C7o,3087
|
749
|
+
stoobly_agent-1.7.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
750
|
+
stoobly_agent-1.7.2.dist-info/entry_points.txt,sha256=aq5wix5oC8MDQtmyPGU0xaFrsjJg7WH28NmXh2sc3Z8,56
|
751
|
+
stoobly_agent-1.7.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|