gitops 0.10.2__tar.gz → 0.10.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gitops
3
- Version: 0.10.2
3
+ Version: 0.10.4
4
4
  Summary: Manage multiple apps across one or more k8s clusters.
5
5
  License: BSD
6
6
  Author: Jarek Głowacki
@@ -5,7 +5,7 @@ from pathlib import Path
5
5
  from . import monkeypatches # NOQA
6
6
  from .utils.cli import success, warning
7
7
 
8
- __version__ = "0.10.2"
8
+ __version__ = "0.10.4"
9
9
 
10
10
 
11
11
  # Checking gitops version matches cluster repo version.
@@ -10,7 +10,7 @@ from .utils.apps import get_apps, update_app
10
10
  from .utils.async_runner import run_tasks_async_with_progress
11
11
  from .utils.cli import colourise, progress, success, success_negative, warning
12
12
  from .utils.exceptions import AppOperationAborted
13
- from .utils.images import colour_image, get_image, get_latest_image
13
+ from .utils.images import colour_image, get_latest_image
14
14
  from .utils.kube import run_job
15
15
  from .utils.tags import colour_tag, sort_tags
16
16
 
@@ -83,7 +83,7 @@ def bump( # noqa: C901
83
83
  new_image_prefix = prefix
84
84
  new_image_tag = get_latest_image(app.image_repository_name, new_image_prefix)
85
85
  else:
86
- new_image_tag = get_image(image_tag)
86
+ new_image_tag = image_tag
87
87
 
88
88
  if not new_image_tag:
89
89
  if image_tag is None:
@@ -326,7 +326,7 @@ def unsetenv(ctx, filter, values, exclude=""):
326
326
  print(success_negative("Aborted."))
327
327
  return
328
328
  for app in apps:
329
- environment = app.values.get("environment", {})
329
+ environment = app.values.get("environment") or {}
330
330
  for e in splitenvs:
331
331
  if e in environment:
332
332
  del environment[e]
@@ -1,6 +1,7 @@
1
1
  """
2
2
  REMOVE WHEN: https://github.com/pyinvoke/invoke/commit/8f6c0617c7dc59b105dd1b92fb417e75adc21bea is released.
3
3
  """
4
+
4
5
  import inspect
5
6
 
6
7
  if not hasattr(inspect, "getargspec"):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "gitops"
3
- version = "0.10.2"
3
+ version = "0.10.4"
4
4
  description = "Manage multiple apps across one or more k8s clusters."
5
5
  authors = ["Jarek Głowacki <jarekwg@gmail.com>"]
6
6
  license = "BSD"
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