github actions/runner-container-hooks v0.9.0

one hour ago

Important: the Kubernetes hook is now shipped as two variants

The Kubernetes hook is split into two separately published archives. Pick the one that matches your cluster's storage:

  • actions-runner-hooks-k8s-0.9.0.zip — mounts the runner's workspace volume into each job pod. Requires a shared volume. Defaults to a ReadWriteMany claim with the Kubernetes scheduler; set ACTIONS_RUNNER_HOOK_RWO=true to pin job pods to the runner's node when using ReadWriteOnce storage. This is the faster option and is recommended when shared storage is available.
  • actions-runner-hooks-k8s-novolume-0.9.0.zip — copies the workspace into and out of each job pod over the Kubernetes exec API instead of mounting a volume. Use this when shared storage is not available in your cluster. It needs no PVC, at the cost of copy time on every step.

Upgrading from 0.8.x: actions-runner-hooks-k8s-0.9.0.zip mounts a volume again. If you are currently running the volume-less behavior and want to keep it, switch ACTIONS_RUNNER_CONTAINER_HOOKS to the new k8s-novolume archive. See the k8s and k8s-novolume READMEs for the full requirements, including the RBAC permissions each needs.

Features

  • k8s: split the Kubernetes hook into volume (k8s) and no-volume (k8s-novolume) archives [#445]
  • k8s: add WebSocket heartbeats to detect stale exec connections [#333]
  • k8s-novolume: send WebSocket heartbeats during workspace copies and retry timed-out transfers [#478]

Bugs

  • k8s: resolve service name conflicts when computed names collide [#308]
  • k8s: fix error serialization so caught errors no longer log as {} [#341]
  • k8s: prevent circular-JSON crashes in debug logging [#364]
  • k8s: fix inconsistent hash calculations between runner and workflow files [#316]
  • k8s: fix misleading error and debug messages in run-container-step [#370]

Misc

SHA-256 Checksums

The SHA-256 checksums for the packages included in this build are shown below. Each archive is also published with a matching .sha256 sidecar file.

  • actions-runner-hooks-docker-0.9.0.zip f828ddaac6db808fe9caf06db63686d2a99045dfffdfc729ff682f2322217f01
  • actions-runner-hooks-k8s-0.9.0.zip 78509114bdf3e6027b51e887c41ddccc7d581acf768c4ced1fbb21dc8c971b52
  • actions-runner-hooks-k8s-novolume-0.9.0.zip 6f7a3fdd1b14b075191d506cbed1bf84804f5764bdc534aeeb5fbe331ac280dd

Don't miss a new runner-container-hooks release

NewReleases is sending notifications on new releases.