From 0e6684995c31f17a27a83de0b18f613725f66042 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 13 Sep 2025 19:42:32 -0400 Subject: [PATCH] ci(ssh): replace raw connection strings with arch-quirks Signed-off-by: Xe Iaso --- .github/workflows/ssh-ci.yml | 8 ++++---- test/ssh-ci/rigging.sh | 9 ++++++++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ssh-ci.yml b/.github/workflows/ssh-ci.yml index 98838902..55066aef 100644 --- a/.github/workflows/ssh-ci.yml +++ b/.github/workflows/ssh-ci.yml @@ -16,10 +16,10 @@ jobs: strategy: matrix: host: - - ubuntu@riscv64.techaro.lol - - ci@ppc64le.techaro.lol - - rocky@192.168.2.52 # aile, aarch64-4k - - ci@192.168.2.28 # t-elos, aarch64-16k + - riscv64 + - ppc64le + - aarch64-4k + - aarch64-16k steps: - name: Checkout code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 diff --git a/test/ssh-ci/rigging.sh b/test/ssh-ci/rigging.sh index b6fda8cc..284164ef 100644 --- a/test/ssh-ci/rigging.sh +++ b/test/ssh-ci/rigging.sh @@ -7,10 +7,17 @@ if [ "$#" -ne 1 ]; then echo "Usage: rigging.sh " fi +declare -A Hosts + +Hosts["riscv64"]="ubuntu@riscv64.techaro.lol" # GOARCH=riscv64 GOOS=linux +Hosts["ppc64le"]="ci@ppc64le.techaro.lol" # GOARCH=ppc64le GOOS=linux +Hosts["aarch64-4k"]="rocky@192.168.2.52" # GOARCH=arm64 GOOS=linux 4k page size +Hosts["aarch64-16k"]="ci@192.168.2.28" # GOARCH=arm64 GOOS=linux 16k page size + CIRunnerImage="ghcr.io/techarohq/anubis/ci-runner:latest" RunID=${GITHUB_RUN_ID:-$(uuidgen)} RunFolder="anubis/runs/${RunID}" -Target="${1}" +Target="${Hosts["$1"]}" ssh "${Target}" uname -av ssh "${Target}" mkdir -p "${RunFolder}"