move hercules CI secrets to sops
This commit is contained in:
parent
b260b29a85
commit
36a9be1663
11 changed files with 131 additions and 91 deletions
4
tasks.py
4
tasks.py
|
@ -71,7 +71,9 @@ def update_sops_files(c: Any) -> None:
|
|||
print("# AUTOMATICALLY GENERATED WITH: $ inv update-sops-files", file=f)
|
||||
|
||||
c.run(f"nix eval --json -f {ROOT}/sops.nix | yq e -P - >> {ROOT}/.sops.yaml")
|
||||
c.run("shopt -s globstar && sops updatekeys --yes **/secrets.yaml")
|
||||
c.run(
|
||||
"shopt -s globstar && sops updatekeys --yes **/secrets.yaml modules/secrets/*.yaml"
|
||||
)
|
||||
|
||||
|
||||
@task
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue