Files
k8s/hanzo.yml
T
zeekayandHanzo Dev 7163867904 initial commit, on zip v1.20.0
The tree was staged but never committed — this is the repo's first commit, so it
carries both the existing content and the zip v1.18.8 -> v1.20.0 migration.

Migration: Prepare() is replaced by Build() error, and both test harnesses assert
the verdict rather than discarding it. main.go:59's Use call needed no change —
the three middleware constructors already return zip.Handler, which satisfies the
closed Component interface.

The committed projections (k8s.plugin.json, openapi.json, ops/zipdoc_gen.go) are
regenerated: v1.20.0 splits an op's prose into summary (first line) + description
and zipdoc now emits per-field docs, so all three artifacts move with the bump.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-02 14:20:05 -07:00

22 lines
898 B
YAML

# Canonical CI/CD config for hanzoai/k8s — read by the hanzoai/ci reusable workflow
# (.github/workflows/cicd.yml) and by platform.hanzo.ai.
#
# This is a zip PLUGIN, so it ships as a BINARY a running host installs and verifies by
# digest, not as an image a cluster runs. There is no images: lane and no deploy: lane:
# the composition that serves /v1/k8s is hanzoai/cloud's, and it installs this artifact
# by URL + SHA-256 from the index published below.
binaries:
- name: k8s
main: .
platforms: [linux/amd64, linux/arm64]
test:
- name: go-test
# `make test`, never a bare `go test`: the target carries `go vet` and the four
# regeneration gates (declaration, OpenAPI, zipdoc, the op/plane bijection), and a
# bare run would skip every one of them while still exiting 0.
run: |
set -e
export GOPRIVATE='github.com/hanzoai/*' GOWORK=off
make test