GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci(heavy): install the kind version pinned in deploy/k8s/versions.json · CortexLM/hypertrain@2ad33be

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • heavy.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/heavy.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/heavy.yml
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,23 @@ jobs:
141141
enable-cache: true
142142
cache-dependency-glob: "uv.lock"
143143
- run: uv sync --locked --all-extras --group dev
144+
# The runner image ships its own kind; the od relay tests and relay_kind_smoke.py
145+
# require the kind_version pinned in deploy/k8s/versions.json.
146+
- name: Install pinned kind
147+
env:
148+
KIND_SHA256_V0_31_0: eb244cbafcc157dff60cf68693c14c9a75c4e6e6fedaf9cd71c58117cb93e3fa
149+
run: |
150+
set -euo pipefail
151+
v="$(python3 -c 'import json; print(json.load(open("deploy/k8s/versions.json"))["kind_version"])')"
152+
if [ "$v" != v0.31.0 ]; then
153+
echo "kind_version $v: update KIND_SHA256 in heavy.yml" >&2
154+
exit 1
155+
fi
156+
mkdir -p "$RUNNER_TEMP/kind-bin"
157+
curl -fsSLo "$RUNNER_TEMP/kind-bin/kind" \
158+
"https://github.com/kubernetes-sigs/kind/releases/download/$v/kind-linux-amd64"
159+
echo "$KIND_SHA256_V0_31_0 $RUNNER_TEMP/kind-bin/kind" | sha256sum -c -
160+
chmod 755 "$RUNNER_TEMP/kind-bin/kind"
161+
"$RUNNER_TEMP/kind-bin/kind" version | grep -q "^kind $v "
162+
echo "$RUNNER_TEMP/kind-bin" >> "$GITHUB_PATH"
144163
- run: bash scripts/check.sh --ignore=tests/sim --ignore=tests/e2e

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.