poetry-plugin-ivcap 0.2.8__py3-none-any.whl → 0.3.1__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.
- poetry_plugin_ivcap/docker.py +1 -0
- poetry_plugin_ivcap/plugin.py +7 -2
- {poetry_plugin_ivcap-0.2.8.dist-info → poetry_plugin_ivcap-0.3.1.dist-info}/METADATA +1 -1
- poetry_plugin_ivcap-0.3.1.dist-info/RECORD +11 -0
- poetry_plugin_ivcap-0.2.8.dist-info/RECORD +0 -11
- {poetry_plugin_ivcap-0.2.8.dist-info → poetry_plugin_ivcap-0.3.1.dist-info}/AUTHORS.md +0 -0
- {poetry_plugin_ivcap-0.2.8.dist-info → poetry_plugin_ivcap-0.3.1.dist-info}/LICENSE +0 -0
- {poetry_plugin_ivcap-0.2.8.dist-info → poetry_plugin_ivcap-0.3.1.dist-info}/WHEEL +0 -0
- {poetry_plugin_ivcap-0.2.8.dist-info → poetry_plugin_ivcap-0.3.1.dist-info}/entry_points.txt +0 -0
poetry_plugin_ivcap/docker.py
CHANGED
poetry_plugin_ivcap/plugin.py
CHANGED
|
@@ -29,7 +29,8 @@ Supporting the development of services and tools for the IVCAP platform
|
|
|
29
29
|
Available subcommands:
|
|
30
30
|
run Run the service locally
|
|
31
31
|
docker-build Build the docker image for this service
|
|
32
|
-
docker-run Run the service's docker image locally
|
|
32
|
+
docker-run Run the service's docker image locally for testing
|
|
33
|
+
deploy Deploy the service to IVCAP (calls docker-publish, service-register and tool-register)
|
|
33
34
|
docker-publish Publish the service's docker image to IVCAP
|
|
34
35
|
service-register Register the service with IVCAP
|
|
35
36
|
create-service-id Create a unique service ID for the service
|
|
@@ -49,7 +50,7 @@ Configurable options in pyproject.toml:
|
|
|
49
50
|
|
|
50
51
|
# Optional
|
|
51
52
|
{DOCKER_BUILD_TEMPLATE_OPT} = "docker buildx build -t #DOCKER_NAME# ."
|
|
52
|
-
{DOCKER_RUN_TEMPLATE_OPT} = "docker run
|
|
53
|
+
{DOCKER_RUN_TEMPLATE_OPT} = "docker run --rm -p #PORT#:#PORT# #DOCKER_NAME#"
|
|
53
54
|
"""
|
|
54
55
|
arguments = [
|
|
55
56
|
argument("subcommand", optional=True, description="Subcommand: run, deploy, etc."),
|
|
@@ -83,6 +84,10 @@ Configurable options in pyproject.toml:
|
|
|
83
84
|
docker_build(data, self.line)
|
|
84
85
|
elif sub == "docker-run":
|
|
85
86
|
docker_run(data, args, self.line)
|
|
87
|
+
elif sub == "deploy" or sub == "publish":
|
|
88
|
+
docker_publish(data, self.line)
|
|
89
|
+
service_register(data, self.line)
|
|
90
|
+
tool_register(data, self.line)
|
|
86
91
|
elif sub == "docker-publish":
|
|
87
92
|
docker_publish(data, self.line)
|
|
88
93
|
elif sub == "service-register":
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
poetry_plugin_ivcap/constants.py,sha256=lW5K-iNdlYMXTdxRWlSQOfbqbU8PHfZ066JMcsM_jr0,1183
|
|
2
|
+
poetry_plugin_ivcap/docker.py,sha256=L4HrUP94TzIfM5t1vwu6y7grmT8mrYM4sAFq9aHhvBk,7265
|
|
3
|
+
poetry_plugin_ivcap/ivcap.py,sha256=sheKyHnkDOd6MOEOF8OIELhvLut7eopJLqQQa_aYxoc,5742
|
|
4
|
+
poetry_plugin_ivcap/plugin.py,sha256=f1vadDtxgCZUZaBV4otkbWXf4wTMzRNKrLN2gTCF31k,5044
|
|
5
|
+
poetry_plugin_ivcap/util.py,sha256=bcjjbKoV_pAgeuC7Ws9XbJa3phFpNVyrRAlFJ1VubRg,3429
|
|
6
|
+
poetry_plugin_ivcap-0.3.1.dist-info/AUTHORS.md,sha256=s9xR4_HAHQgbNlj505LViebt5AtACQmhPf92aJvNYgg,88
|
|
7
|
+
poetry_plugin_ivcap-0.3.1.dist-info/LICENSE,sha256=dsQrDPPwW7iJs9pxahgJKDW8RNPf5FyXG70MFUlxcuk,1587
|
|
8
|
+
poetry_plugin_ivcap-0.3.1.dist-info/METADATA,sha256=y0Ef8Mm-yefaJp7_4JmJTnWvGgzI6poAjUfWLC7XR_4,3032
|
|
9
|
+
poetry_plugin_ivcap-0.3.1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
10
|
+
poetry_plugin_ivcap-0.3.1.dist-info/entry_points.txt,sha256=3xagEFBkGgrVe8WyjmhlHLr4JDEWPN_W4DwxnIBWbNY,74
|
|
11
|
+
poetry_plugin_ivcap-0.3.1.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
poetry_plugin_ivcap/constants.py,sha256=lW5K-iNdlYMXTdxRWlSQOfbqbU8PHfZ066JMcsM_jr0,1183
|
|
2
|
-
poetry_plugin_ivcap/docker.py,sha256=q86wl5Y-yzRdzeDI8RoBHx-ZWSJFvIVdzQzPdvnbkHs,7208
|
|
3
|
-
poetry_plugin_ivcap/ivcap.py,sha256=sheKyHnkDOd6MOEOF8OIELhvLut7eopJLqQQa_aYxoc,5742
|
|
4
|
-
poetry_plugin_ivcap/plugin.py,sha256=QIMurRBJE8cG7mVE9P46ckjF6Gjhku3l-U5H2KQo_Rg,4723
|
|
5
|
-
poetry_plugin_ivcap/util.py,sha256=bcjjbKoV_pAgeuC7Ws9XbJa3phFpNVyrRAlFJ1VubRg,3429
|
|
6
|
-
poetry_plugin_ivcap-0.2.8.dist-info/AUTHORS.md,sha256=s9xR4_HAHQgbNlj505LViebt5AtACQmhPf92aJvNYgg,88
|
|
7
|
-
poetry_plugin_ivcap-0.2.8.dist-info/LICENSE,sha256=dsQrDPPwW7iJs9pxahgJKDW8RNPf5FyXG70MFUlxcuk,1587
|
|
8
|
-
poetry_plugin_ivcap-0.2.8.dist-info/METADATA,sha256=Dk8pv4toVsVuXaqq-TgUokz0WVKLv6QkeTScy0r_7dU,3032
|
|
9
|
-
poetry_plugin_ivcap-0.2.8.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
10
|
-
poetry_plugin_ivcap-0.2.8.dist-info/entry_points.txt,sha256=3xagEFBkGgrVe8WyjmhlHLr4JDEWPN_W4DwxnIBWbNY,74
|
|
11
|
-
poetry_plugin_ivcap-0.2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{poetry_plugin_ivcap-0.2.8.dist-info → poetry_plugin_ivcap-0.3.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|