Files
bootnode/hanzo.yml
T
zeekayandHanzo Dev 883cc050cd
Hanzo CI/CD / test (linux-amd64) (push) Failing after 14m24s
Hanzo CI/CD / test (linux-arm64) (push) Successful in 6m47s
Hanzo CI/CD / cicd (push) Skipped
CI/CD / cicd (push) Failing after 31m52s
Build the API image beside the console, from a caller GitHub runs
hanzo.yml declares ghcr.io/hanzoai/bootnode:<version>-api, built from api/
with api/Dockerfile for linux/amd64 and versioned by api/pyproject.toml.

The caller moves to .github/workflows/cicd.yml. GitHub is where this
repository is written and it reads no other directory; git.hanzo.ai holds a
pull mirror that runs no workflows, so the caller under .hanzo/workflows fired
nothing on push.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-23 14:55:34 -07:00

26 lines
931 B
YAML

# Build and test, read by hanzoai/ci (.github/workflows/cicd.yml) on our own runners.
#
# Two images under one repository, told apart by tag suffix. `web` is the
# console: it serves every white-label host, and the brand is chosen in the
# browser from the hostname (console/lib/brand.ts). `api` is the Python API in
# api/, versioned by api/pyproject.toml; its Dockerfile fetches amd64 kubectl and
# helm, so it is built for linux/amd64 alone.
images:
- name: web
context: .
dockerfile: console/Dockerfile
repo: ghcr.io/hanzoai/bootnode
tag-suffix: web
# The console's own version names the image.
version: "sh:jq -r .version console/package.json"
- name: api
context: api
dockerfile: api/Dockerfile
platforms: [linux/amd64]
repo: ghcr.io/hanzoai/bootnode
tag-suffix: api
test:
- name: console
run: cd console && pnpm install --frozen-lockfile && pnpm test && pnpm typecheck