fix(cicd): Remove LINSTOR pre-provisioning steps
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 1m38s
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 1m53s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 0s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 1m38s
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 1m53s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 0s
- Supprime les étapes de création manuelle des ressources LINSTOR - Proxmox/Terraform gère automatiquement les ressources LINSTOR - Les ressources sont créées automatiquement lors du 'tofu apply' - Le script Python n'est plus nécessaire pour le workflow
This commit is contained in:
parent
4628fc266f
commit
21b387de6d
1 changed files with 0 additions and 26 deletions
|
|
@ -81,19 +81,6 @@ jobs:
|
||||||
if ! command -v tofu &> /dev/null; then
|
if ! command -v tofu &> /dev/null; then
|
||||||
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
|
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
|
||||||
fi
|
fi
|
||||||
- name: Setup Python and dependencies
|
|
||||||
run: |
|
|
||||||
apt-get update && apt-get install -y python3 python3-pip
|
|
||||||
pip3 install --break-system-packages requests urllib3
|
|
||||||
- name: Prepare LINSTOR resources for pve1
|
|
||||||
run: |
|
|
||||||
# Exécute le script dans le container, qui utilisera l'API Proxmox pour gérer LINSTOR
|
|
||||||
python3 scripts/manage_linstor_resources.py \
|
|
||||||
--terraform-dir terraform \
|
|
||||||
--api-url "${{ secrets.PROXMOX_API_URL || 'https://192.168.100.10:8006/api2/json' }}" \
|
|
||||||
--token-id "${{ secrets.PROXMOX_TOKEN_ID }}" \
|
|
||||||
--token-secret "${{ secrets.PROXMOX_TOKEN_SECRET }}" \
|
|
||||||
--verbose
|
|
||||||
- name: Terraform Apply on pve1
|
- name: Terraform Apply on pve1
|
||||||
run: |
|
run: |
|
||||||
cd terraform/pve1
|
cd terraform/pve1
|
||||||
|
|
@ -129,19 +116,6 @@ jobs:
|
||||||
if ! command -v tofu &> /dev/null; then
|
if ! command -v tofu &> /dev/null; then
|
||||||
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
|
curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7
|
||||||
fi
|
fi
|
||||||
- name: Setup Python and dependencies
|
|
||||||
run: |
|
|
||||||
apt-get update && apt-get install -y python3 python3-pip
|
|
||||||
pip3 install --break-system-packages requests urllib3
|
|
||||||
- name: Prepare LINSTOR resources for pve2
|
|
||||||
run: |
|
|
||||||
# Exécute le script dans le container, qui utilisera l'API Proxmox pour gérer LINSTOR
|
|
||||||
python3 scripts/manage_linstor_resources.py \
|
|
||||||
--terraform-dir terraform \
|
|
||||||
--api-url "${{ secrets.PROXMOX_API_URL || 'https://192.168.100.10:8006/api2/json' }}" \
|
|
||||||
--token-id "${{ secrets.PROXMOX_TOKEN_ID }}" \
|
|
||||||
--token-secret "${{ secrets.PROXMOX_TOKEN_SECRET }}" \
|
|
||||||
--verbose
|
|
||||||
- name: Terraform Apply on pve2
|
- name: Terraform Apply on pve2
|
||||||
run: |
|
run: |
|
||||||
cd terraform/pve2
|
cd terraform/pve2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue