mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-09-30 20:46:32 +00:00
Build the API image beside the console, from a caller GitHub runs
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
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
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]>
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
# Build and test, read by hanzoai/ci (.hanzo/workflows/cicd.yml) on our own runners.
|
# Build and test, read by hanzoai/ci (.github/workflows/cicd.yml) on our own runners.
|
||||||
#
|
#
|
||||||
# One image, the web console. It serves every white-label host, and the brand is
|
# Two images under one repository, told apart by tag suffix. `web` is the
|
||||||
# chosen in the browser from the hostname (console/lib/brand.ts).
|
# 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:
|
images:
|
||||||
- name: web
|
- name: web
|
||||||
context: .
|
context: .
|
||||||
@@ -10,6 +13,12 @@ images:
|
|||||||
tag-suffix: web
|
tag-suffix: web
|
||||||
# The console's own version names the image.
|
# The console's own version names the image.
|
||||||
version: "sh:jq -r .version console/package.json"
|
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:
|
test:
|
||||||
- name: console
|
- name: console
|
||||||
|
|||||||
Reference in New Issue
Block a user