stoobly-agent 1.6.6__py3-none-any.whl → 1.7.0__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/constants.py +1 -0
- stoobly_agent/app/cli/scaffold/docker/constants.py +1 -0
- stoobly_agent/app/cli/scaffold/docker/service/builder.py +98 -13
- stoobly_agent/app/cli/scaffold/docker/service/configure_gateway.py +69 -28
- stoobly_agent/app/cli/scaffold/docker/workflow/builder.py +12 -60
- stoobly_agent/app/cli/scaffold/service_create_command.py +1 -1
- stoobly_agent/app/cli/scaffold/templates/__init__.py +8 -0
- stoobly_agent/app/cli/scaffold/templates/app/build/.docker-compose.base.yml +4 -2
- stoobly_agent/app/cli/scaffold/templates/app/build/mock/.docker-compose.mock.yml +2 -2
- stoobly_agent/app/cli/scaffold/templates/app/build/mock/docker-compose.yml +7 -0
- stoobly_agent/app/cli/scaffold/templates/app/build/record/.docker-compose.record.yml +2 -2
- stoobly_agent/app/cli/scaffold/templates/app/build/record/docker-compose.yml +7 -0
- stoobly_agent/app/cli/scaffold/templates/app/build/test/.docker-compose.test.yml +2 -2
- stoobly_agent/app/cli/scaffold/templates/app/build/test/docker-compose.yml +7 -0
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/.docker-compose.base.yml +4 -5
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/mock/.docker-compose.mock.yml +2 -8
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/mock/docker-compose.yml +4 -11
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/record/.docker-compose.record.yml +2 -8
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/record/docker-compose.yml +3 -6
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/test/.docker-compose.test.yml +2 -8
- stoobly_agent/app/cli/scaffold/templates/app/entrypoint/test/docker-compose.yml +3 -6
- stoobly_agent/app/cli/scaffold/templates/app/gateway/.docker-compose.base.template.yml +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/build/mock/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/build/record/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/build/test/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/entrypoint/mock/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/entrypoint/record/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/services/entrypoint/test/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/workflows/mock/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/workflows/record/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/build/workflows/test/.init +1 -1
- stoobly_agent/app/cli/scaffold/templates/run/nginx.tmpl +1060 -0
- stoobly_agent/app/cli/scaffold/templates/workflow/mock/bin/configure +2 -2
- stoobly_agent/app/cli/scaffold/templates/workflow/mock/bin/init +3 -1
- stoobly_agent/app/cli/scaffold/templates/workflow/record/bin/configure +4 -4
- stoobly_agent/app/cli/scaffold/templates/workflow/record/bin/init +3 -1
- stoobly_agent/app/cli/scaffold/templates/workflow/test/bin/configure +2 -2
- stoobly_agent/app/cli/scaffold/templates/workflow/test/bin/init +3 -1
- stoobly_agent/app/cli/scaffold/workflow_create_command.py +4 -2
- stoobly_agent/app/cli/scaffold_cli.py +2 -2
- stoobly_agent/config/data_dir.py +5 -4
- stoobly_agent/test/app/models/schemas/.stoobly/db/VERSION +1 -1
- {stoobly_agent-1.6.6.dist-info → stoobly_agent-1.7.0.dist-info}/METADATA +1 -1
- {stoobly_agent-1.6.6.dist-info → stoobly_agent-1.7.0.dist-info}/RECORD +48 -44
- {stoobly_agent-1.6.6.dist-info → stoobly_agent-1.7.0.dist-info}/WHEEL +1 -1
- {stoobly_agent-1.6.6.dist-info → stoobly_agent-1.7.0.dist-info}/LICENSE +0 -0
- {stoobly_agent-1.6.6.dist-info → stoobly_agent-1.7.0.dist-info}/entry_points.txt +0 -0
@@ -1,25 +1,19 @@
|
|
1
|
-
networks:
|
2
|
-
entrypoint:
|
3
|
-
name: entrypoint
|
4
1
|
services:
|
5
2
|
entrypoint.configure:
|
6
3
|
depends_on:
|
7
4
|
entrypoint.init:
|
8
5
|
condition: service_completed_successfully
|
9
|
-
environment: {}
|
10
6
|
extends:
|
11
7
|
file: ../.docker-compose.base.yml
|
12
8
|
service: entrypoint.configure_base
|
13
9
|
image: stoobly.${USER_ID}
|
14
10
|
profiles:
|
15
|
-
-
|
11
|
+
- ${WORKFLOW_NAME}
|
16
12
|
volumes: []
|
17
13
|
entrypoint.init:
|
18
|
-
environment: {}
|
19
14
|
extends:
|
20
15
|
file: ../.docker-compose.base.yml
|
21
16
|
service: entrypoint.init_base
|
22
17
|
image: stoobly.${USER_ID}
|
23
18
|
profiles:
|
24
|
-
-
|
25
|
-
volumes: {}
|
19
|
+
- ${WORKFLOW_NAME}
|
@@ -1,14 +1,11 @@
|
|
1
|
-
# Define
|
1
|
+
# Define services here
|
2
2
|
#
|
3
3
|
# If a container service needs access to a Stoobly defined service,
|
4
|
-
# then the container service needs to add the
|
5
|
-
#
|
6
|
-
# networks:
|
7
|
-
# - upstream
|
4
|
+
# then the container service needs to add one of the scaffolded networks to the 'networks' property
|
5
|
+
# See https://docs.stoobly.com/core-concepts/scaffold
|
8
6
|
#
|
9
7
|
# Container services that are intended to be run as part of a workflow need to have the workflow name added to the 'profiles' property
|
10
8
|
# e.g. If we want to run a service as part of the 'record' workflow, then the following should be added
|
11
9
|
# profiles:
|
12
10
|
# - record
|
13
|
-
networks: {}
|
14
11
|
services: {}
|
@@ -1,25 +1,19 @@
|
|
1
|
-
networks:
|
2
|
-
entrypoint:
|
3
|
-
name: entrypoint
|
4
1
|
services:
|
5
2
|
entrypoint.configure:
|
6
3
|
depends_on:
|
7
4
|
entrypoint.init:
|
8
5
|
condition: service_completed_successfully
|
9
|
-
environment: {}
|
10
6
|
extends:
|
11
7
|
file: ../.docker-compose.base.yml
|
12
8
|
service: entrypoint.configure_base
|
13
9
|
image: stoobly.${USER_ID}
|
14
10
|
profiles:
|
15
|
-
-
|
11
|
+
- ${WORKFLOW_NAME}
|
16
12
|
volumes: []
|
17
13
|
entrypoint.init:
|
18
|
-
environment: {}
|
19
14
|
extends:
|
20
15
|
file: ../.docker-compose.base.yml
|
21
16
|
service: entrypoint.init_base
|
22
17
|
image: stoobly.${USER_ID}
|
23
18
|
profiles:
|
24
|
-
-
|
25
|
-
volumes: {}
|
19
|
+
- ${WORKFLOW_NAME}
|
@@ -1,14 +1,11 @@
|
|
1
|
-
# Define
|
1
|
+
# Define services here
|
2
2
|
#
|
3
3
|
# If a container service needs access to a Stoobly defined service,
|
4
|
-
# then the container service needs to add the
|
5
|
-
#
|
6
|
-
# networks:
|
7
|
-
# - upstream
|
4
|
+
# then the container service needs to add one of the scaffolded networks to the 'networks' property
|
5
|
+
# See https://docs.stoobly.com/core-concepts/scaffold
|
8
6
|
#
|
9
7
|
# Container services that are intended to be run as part of a workflow need to have the workflow name added to the 'profiles' property
|
10
8
|
# e.g. If we want to run a service as part of the 'test' workflow, then the following should be added
|
11
9
|
# profiles:
|
12
10
|
# - test
|
13
|
-
networks: {}
|
14
11
|
services: {}
|