feat(liminix): Add script for mass AP rebuilds
Some checks failed
Run pre-commit on all files / pre-commit (push) Successful in 36s
Check meta / check_dns (pull_request) Successful in 17s
Check meta / check_meta (pull_request) Successful in 17s
Check workflows / check_workflows (pull_request) Failing after 18s
Run pre-commit on all files / pre-commit (pull_request) Successful in 32s
Build all the nodes / build01 (pull_request) Successful in 1m20s
Build all the nodes / geo01 (pull_request) Successful in 1m20s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m21s
Build all the nodes / ap01 (pull_request) Failing after 2m0s
Build the shell / build-shell (pull_request) Successful in 2m8s
Build all the nodes / netcore02 (pull_request) Successful in 2m46s
Build all the nodes / web02 (pull_request) Successful in 3m7s
Build all the nodes / web03 (pull_request) Successful in 3m11s
Build all the nodes / compute01 (pull_request) Successful in 4m57s
Build all the nodes / bridge01 (pull_request) Successful in 7m6s
Build all the nodes / hypervisor03 (pull_request) Successful in 7m12s
Build all the nodes / hypervisor01 (pull_request) Successful in 7m13s
Build all the nodes / geo02 (pull_request) Successful in 7m17s
Build all the nodes / tower01 (pull_request) Successful in 7m16s
Build all the nodes / web01 (pull_request) Successful in 7m17s
Build all the nodes / rescue01 (pull_request) Successful in 7m17s
Build all the nodes / storage01 (pull_request) Successful in 1m38s
Build all the nodes / vault01 (pull_request) Successful in 4m9s

This commit is contained in:
Elias Coppens 2025-02-12 19:01:24 +01:00
parent f4fe820944
commit ed548109f1
Signed by: ecoppens
GPG key ID: 871893E37A732093

View file

@ -0,0 +1,25 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Elias Coppens <elias@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
password=${AP_PASSWORD-}
option=$1
export SSH_COMMAND="sshpass -p $password -o StrictHostKeyChecking=accept-new"
# Hypnos-1
for floor in $(seq 0 2); do
for ap in $(seq 1 6); do
./liminix-rebuild.sh $option 10.0.253.$((floor * 8 + ap + 2)) ap-v01-0-$floor-$ap
done
done
# Hypnos-2
for floor in $(seq 0 2); do
for ap in $(seq 1 2); do
./liminix-rebuild.sh $option 10.0.253.$((floor * 8 + ap + 2 + 32)) ap-v01-1-$floor-$ap
done
done