fix(cicd): Use IP address instead of hostname for LINSTOR host
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 16s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 1m54s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 16s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 8s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 1m54s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
- Replace 'thinkpad' with 192.168.100.30 - Docker containers cannot resolve local hostnames - Résout l'erreur 'Could not resolve hostname thinkpad'
This commit is contained in:
parent
10e61edbc7
commit
6628870938
1 changed files with 4 additions and 2 deletions
|
|
@ -87,7 +87,8 @@ jobs:
|
|||
- name: Prepare LINSTOR resources for pve1
|
||||
run: |
|
||||
# Exécute le script dans le container, qui utilisera SSH pour communiquer avec LINSTOR
|
||||
python3 scripts/manage_linstor_resources.py --terraform-dir terraform --remote-host thinkpad --verbose
|
||||
# Utilise l'IP au lieu du hostname car le container Docker ne peut pas résoudre les noms locaux
|
||||
python3 scripts/manage_linstor_resources.py --terraform-dir terraform --remote-host 192.168.100.30 --verbose
|
||||
- name: Terraform Apply on pve1
|
||||
run: |
|
||||
cd terraform/pve1
|
||||
|
|
@ -129,7 +130,8 @@ jobs:
|
|||
- name: Prepare LINSTOR resources for pve2
|
||||
run: |
|
||||
# Exécute le script dans le container, qui utilisera SSH pour communiquer avec LINSTOR
|
||||
python3 scripts/manage_linstor_resources.py --terraform-dir terraform --remote-host thinkpad --verbose
|
||||
# Utilise l'IP au lieu du hostname car le container Docker ne peut pas résoudre les noms locaux
|
||||
python3 scripts/manage_linstor_resources.py --terraform-dir terraform --remote-host 192.168.100.30 --verbose
|
||||
- name: Terraform Apply on pve2
|
||||
run: |
|
||||
cd terraform/pve2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue