fix(core-git): секреты Infisical и compose без up до миграции
ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-rus-central / deploy (push) Successful in 1m6s
ansible-core-git / deploy (push) Successful in 14s
ansible-core-mon / deploy (push) Successful in 23s
ansible-ger-nod-02 / deploy (push) Successful in 1m28s
ansible-opnsense / deploy (push) Successful in 6s
ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-rus-central / deploy (push) Successful in 1m6s
ansible-core-git / deploy (push) Successful in 14s
ansible-core-mon / deploy (push) Successful in 23s
ansible-ger-nod-02 / deploy (push) Successful in 1m28s
ansible-opnsense / deploy (push) Successful in 6s
Подключает POSTGRES_USER/DB/PASSWORD, пишет compose при секретах, поднимает стек только при наличии PG_VERSION. Terraform: import-core-git. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c507ed1fdb
commit
8e217b8585
6 files changed
+47
-19
No files matched your search
@@ -11,12 +11,13 @@ on:
|
||||
- netcore
|
||||
default: netcore
|
||||
action:
|
||||
description: 'Действие Terraform (plan / apply)'
|
||||
description: 'Действие Terraform (plan / apply / import-core-git)'
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- plan
|
||||
- apply
|
||||
- import-core-git
|
||||
default: plan
|
||||
|
||||
jobs:
|
||||
@@ -88,4 +89,11 @@ jobs:
|
||||
terraform plan
|
||||
elif [ "${ACTION}" = "apply" ]; then
|
||||
terraform apply -auto-approve
|
||||
elif [ "${ACTION}" = "import-core-git" ]; then
|
||||
# CT 904 уже создан; ID в bpg/proxmox: <node>/<vmid>
|
||||
terraform import 'proxmox_virtual_environment_container.core_git' 'netcore/904'
|
||||
terraform plan
|
||||
else
|
||||
echo "Неизвестное действие: ${ACTION}" >&2
|
||||
exit 2
|
||||
fi
|
||||
Reference in new issue
Block a user