From 6c283d0cd9e0e93b679411f2a82547a2e3a08a90 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 13 Sep 2025 20:15:23 -0400 Subject: [PATCH] ci: add aarch64 for ssh CI (#1112) * ci: add aarch64 for ssh CI Signed-off-by: Xe Iaso * ci: better comment aile and t-elos' roles Signed-off-by: Xe Iaso * ci: fix aile Signed-off-by: Xe Iaso * ci: update ssh known hosts secret Signed-off-by: Xe Iaso * ci(ssh): replace raw connection strings with arch-quirks Signed-off-by: Xe Iaso * ci(ssh): disable this check in PRs again Signed-off-by: Xe Iaso --------- Signed-off-by: Xe Iaso --- .github/workflows/ssh-ci.yml | 8 +++++--- test/ssh-ci/rigging.sh | 25 ++++++++++++++++--------- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ssh-ci.yml b/.github/workflows/ssh-ci.yml index b396c46..d3a8661 100644 --- a/.github/workflows/ssh-ci.yml +++ b/.github/workflows/ssh-ci.yml @@ -12,12 +12,14 @@ permissions: jobs: ssh: if: github.repository == 'TecharoHQ/anubis' - runs-on: ubuntu-24.04 + runs-on: alrest-techarohq strategy: matrix: host: - - ubuntu@riscv64.techaro.lol - - ci@ppc64le.techaro.lol + - 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 9aebdb5..284164e 100644 --- a/test/ssh-ci/rigging.sh +++ b/test/ssh-ci/rigging.sh @@ -4,30 +4,37 @@ set -euo pipefail [ ! -z "${DEBUG:-}" ] && set -x if [ "$#" -ne 1 ]; then - echo "Usage: rigging.sh " + 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}" git archive HEAD | ssh "${Target}" tar xC "${RunFolder}" -ssh "${Target}" << EOF +ssh "${Target}" <