refactor sops secrets
This commit is contained in:
parent
c9e9ae7b2d
commit
9c17a146cb
4 changed files with 4 additions and 8 deletions
8
tasks.py
8
tasks.py
|
@ -97,13 +97,9 @@ def update_sops_files(c):
|
|||
c.run(
|
||||
"""
|
||||
find . \
|
||||
-not -path "./.github/*" \
|
||||
-not -path "./.mergify.yml" \
|
||||
-not -path "./_config.yml" \
|
||||
-type f \
|
||||
\( -iname '*.enc.json' -o -iname '*.yaml' \) \
|
||||
-print0 | \
|
||||
xargs -0 -n1 sops updatekeys --yes
|
||||
\( -iname '*.enc.json' -o -iname 'secrets.yaml' \) \
|
||||
-exec sops updatekeys --yes {} \;
|
||||
"""
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue