修复 LXC 内 microVM Runner 启动链路 #11

Merged
panxiao81 merged 11 commits from fix/microvm-lxc-bootstrap into main 2026-09-16 18:02:51 +00:00
Showing only changes of commit ce4c9f13b5 - Show all commits
+32
View File
@@ -0,0 +1,32 @@
name: VM kind smoke
on:
pull_request:
workflow_dispatch:
jobs:
kind:
runs-on: [self-hosted, vm]
steps:
- name: Verify Docker
run: docker info
- name: Install kind
shell: bash
run: |
set -euo pipefail
version=v0.33.0
curl --fail --location --silent --show-error \
--output /tmp/kind "https://kind.sigs.k8s.io/dl/${version}/kind-linux-amd64"
curl --fail --location --silent --show-error \
--output /tmp/kind.sha256sum "https://kind.sigs.k8s.io/dl/${version}/kind-linux-amd64.sha256sum"
printf '%s %s\n' "$(cat /tmp/kind.sha256sum)" /tmp/kind | sha256sum --check
chmod 0755 /tmp/kind
- name: Create and delete kind cluster
shell: bash
run: |
set -euo pipefail
trap '/tmp/kind delete cluster --name smoke' EXIT
/tmp/kind create cluster --name smoke --wait 180s
test "$(/tmp/kind get clusters)" = smoke