mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Update .gitea/workflows/ci-test.yaml
This commit is contained in:
@ -129,11 +129,10 @@ jobs:
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
- name: vaultwarden getsecrets
|
- name: vaultwarden getsecrets
|
||||||
working-directory: infra
|
working-directory: infra/iac
|
||||||
run: |
|
run: |
|
||||||
bw sync
|
|
||||||
# Ler o arquivo de referência
|
# Ler o arquivo de referência
|
||||||
for secret in $(jq -c '.secrets[]' iac/secrets/vault-secrets-map.json); do
|
for secret in $(jq -c '.secrets[]' ../secrets/vault-secrets-map.json); do
|
||||||
name=$(echo "$secret" | jq -r '.name')
|
name=$(echo "$secret" | jq -r '.name')
|
||||||
type=$(echo "$secret" | jq -r '.type')
|
type=$(echo "$secret" | jq -r '.type')
|
||||||
output=$(echo "$secret" | jq -r '.output')
|
output=$(echo "$secret" | jq -r '.output')
|
||||||
|
|||||||
Reference in New Issue
Block a user