mirror of
https://github.com/hanzoai/o11y-foundry.git
synced 2026-10-30 18:26:45 +00:00
github.com has no runner for hanzo-build-linux-amd64, so a caller under .github/workflows is a gate that can never be scheduled. This is the ~7-line caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1. Co-authored-by: Hanzo Dev <[email protected]>
21 lines
905 B
YAML
21 lines
905 B
YAML
# Canonical CI/CD config for hanzoai/o11y-foundry — the one file both the
|
|
# hanzoai/ci reusable (.hanzo/workflows/cicd.yml) and platform.hanzo.ai read.
|
|
#
|
|
# No `images:`: the only Dockerfile here is Dockerfile.multi-arch, which
|
|
# packages the foundryctl binary for a release rather than a service this repo
|
|
# deploys, and no push should mint one.
|
|
#
|
|
# The gate is the Go build and the suite. Note what is NOT used: the Makefile's
|
|
# `test` target is `make forge && make docker` — it stands infrastructure up, it
|
|
# does not assert anything, so it would go green over zero tests. `go test ./...`
|
|
# runs the 21 suites that actually make claims, with `-count=1` so a pass is
|
|
# this commit rather than the test cache, and `go vet` first for the class of
|
|
# defect a compiler lets through.
|
|
test:
|
|
- name: build
|
|
run: |
|
|
set -e
|
|
go build ./...
|
|
go vet ./...
|
|
go test -race -count=1 ./...
|