seto 2.0.2__tar.gz → 2.0.4__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.
- {seto-2.0.2 → seto-2.0.4}/PKG-INFO +1 -1
- {seto-2.0.2 → seto-2.0.4}/pyproject.toml +1 -1
- {seto-2.0.2 → seto-2.0.4}/seto/commands/deploy.py +0 -2
- {seto-2.0.2 → seto-2.0.4}/seto/core/docker.py +2 -8
- {seto-2.0.2 → seto-2.0.4}/LICENSE +0 -0
- {seto-2.0.2 → seto-2.0.4}/LICENSE_HEADER.txt +0 -0
- {seto-2.0.2 → seto-2.0.4}/README.md +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/__init__.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/__main__.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/commands/config.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/commands/down.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/commands/mount.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/commands/setup.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/commands/umount.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/commands/volumes.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/command.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/dns.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/driver.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/parser.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/permissions.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/shell.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/swarm.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/core/volume.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/drivers/gluster.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/drivers/nfs.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/shells/local.py +0 -0
- {seto-2.0.2 → seto-2.0.4}/seto/shells/remote.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "seto"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.4"
|
|
8
8
|
description = "A Docker Swarm Deployment Manager"
|
|
9
9
|
keywords = ["docker", "swarm", "manager"]
|
|
10
10
|
authors = ["Sébastien Demanou <demsking@gmail.com>"]
|
|
@@ -258,7 +258,6 @@ def execute_deploy_command(args, driver: Driver) -> None:
|
|
|
258
258
|
print(f'Building {driver.stack} swarm images...')
|
|
259
259
|
# swarm.info()
|
|
260
260
|
swarm.build()
|
|
261
|
-
swarm.push()
|
|
262
261
|
|
|
263
262
|
print(f'Deploying {driver.stack} swarm environment...')
|
|
264
263
|
swarm.deploy()
|
|
@@ -269,7 +268,6 @@ def execute_deploy_command(args, driver: Driver) -> None:
|
|
|
269
268
|
for compose in composes_items:
|
|
270
269
|
# compose.info()
|
|
271
270
|
compose.build()
|
|
272
|
-
compose.push()
|
|
273
271
|
|
|
274
272
|
print(f'Pulling {driver.stack} compose images...')
|
|
275
273
|
for compose in composes_items:
|
|
@@ -63,19 +63,13 @@ class Docker:
|
|
|
63
63
|
|
|
64
64
|
def build(self) -> None:
|
|
65
65
|
Shell.pipe_exec(
|
|
66
|
-
command=f'docker compose -f - -p {self.stack} build --
|
|
67
|
-
pipe_input=self.resolved_config,
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
def push(self) -> None:
|
|
71
|
-
Shell.pipe_exec(
|
|
72
|
-
command=f'docker compose -f - -p {self.stack} push --quiet',
|
|
66
|
+
command=f'docker compose -f - -p {self.stack} build --push --no-cache',
|
|
73
67
|
pipe_input=self.resolved_config,
|
|
74
68
|
)
|
|
75
69
|
|
|
76
70
|
def pull(self) -> None:
|
|
77
71
|
Shell.pipe_exec(
|
|
78
|
-
command=f'docker compose -f - -p {self.stack} pull --
|
|
72
|
+
command=f'docker compose -f - -p {self.stack} pull --policy=always',
|
|
79
73
|
pipe_input=self.resolved_config,
|
|
80
74
|
)
|
|
81
75
|
|
|
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
|