diff --git a/CHANGES.md b/CHANGES.md index 84183ef..5c03a8a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +## 0.10.2 +- Optionally skip all `sops` operations when `DISABLE_SOPS` environment variable it set + ## 0.10.1 - First official release supporting for Pulumi stacks - Dockerfile and Alpine based public images provided incl. Pulumi binaries and podman for docker tasks diff --git a/cloudbender/__init__.py b/cloudbender/__init__.py index 3160676..2b90842 100644 --- a/cloudbender/__init__.py +++ b/cloudbender/__init__.py @@ -2,7 +2,7 @@ import logging __author__ = "Stefan Reimer" __email__ = "stefan@zero-downtimet.net" -__version__ = "0.10.1" +__version__ = "0.10.2" # Set up logging to ``/dev/null`` like a library is supposed to. diff --git a/cloudbender/jinja.py b/cloudbender/jinja.py index 58d4ee6..995b5c2 100644 --- a/cloudbender/jinja.py +++ b/cloudbender/jinja.py @@ -225,7 +225,7 @@ def _sops_loader(path): config_raw = f.read() data = yaml.safe_load(config_raw) - if data and 'sops' in data: + if data and 'sops' in data and 'DISABLE_SOPS' not in os.environ: try: result = subprocess.run([ 'sops',