feat: add DISABLE_SOPS
This commit is contained in:
parent
af4100c84a
commit
e64621547e
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.10.2
|
||||||
|
- Optionally skip all `sops` operations when `DISABLE_SOPS` environment variable it set
|
||||||
|
|
||||||
## 0.10.1
|
## 0.10.1
|
||||||
- First official release supporting for Pulumi stacks
|
- First official release supporting for Pulumi stacks
|
||||||
- Dockerfile and Alpine based public images provided incl. Pulumi binaries and podman for docker tasks
|
- Dockerfile and Alpine based public images provided incl. Pulumi binaries and podman for docker tasks
|
||||||
|
@ -2,7 +2,7 @@ import logging
|
|||||||
|
|
||||||
__author__ = "Stefan Reimer"
|
__author__ = "Stefan Reimer"
|
||||||
__email__ = "stefan@zero-downtimet.net"
|
__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.
|
# Set up logging to ``/dev/null`` like a library is supposed to.
|
||||||
|
@ -225,7 +225,7 @@ def _sops_loader(path):
|
|||||||
config_raw = f.read()
|
config_raw = f.read()
|
||||||
data = yaml.safe_load(config_raw)
|
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:
|
try:
|
||||||
result = subprocess.run([
|
result = subprocess.run([
|
||||||
'sops',
|
'sops',
|
||||||
|
Loading…
Reference in New Issue
Block a user