seto 2.0.2__tar.gz → 2.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: seto
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: A Docker Swarm Deployment Manager
5
5
  License: Apache 2.0
6
6
  Keywords: docker,swarm,manager
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "seto"
7
- version = "2.0.2"
7
+ version = "2.0.3"
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 --quiet',
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 --quiet --policy=always',
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