fix deploy: add registry to buildx steps, fix uv build module-name
Some checks failed
ci/woodpecker/push/infra-ci Pipeline failed
coverage 99% coverage
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed

- Add registry: localhost:3000 to all buildx steps in deploy.yml and
  rebuild-all.yml so auth targets the Gitea registry, not Docker Hub.
- Add explicit module-name list to pyproject.toml so uv_build finds
  the namespace packages instead of looking for src/stack/.
This commit is contained in:
kert
2026-03-22 11:08:58 -04:00
parent d70943ffac
commit 2bb959a240
3 changed files with 11 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/notebooks repo: localhost:3000/homelab/notebooks
registry: localhost:3000
dockerfile: notebooks/Dockerfile dockerfile: notebooks/Dockerfile
context: notebooks/ context: notebooks/
tags: tags:
@@ -74,6 +75,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/zotero repo: localhost:3000/homelab/zotero
registry: localhost:3000
dockerfile: zotero/Dockerfile dockerfile: zotero/Dockerfile
context: zotero/ context: zotero/
tags: tags:
@@ -115,6 +117,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/docs repo: localhost:3000/homelab/docs
registry: localhost:3000
dockerfile: docs/Dockerfile dockerfile: docs/Dockerfile
context: . context: .
tags: tags:
@@ -149,6 +152,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/api repo: localhost:3000/homelab/api
registry: localhost:3000
dockerfile: api/Dockerfile dockerfile: api/Dockerfile
context: . context: .
tags: tags:
@@ -181,6 +185,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/mc repo: localhost:3000/homelab/mc
registry: localhost:3000
dockerfile: rustfs/Dockerfile.mc dockerfile: rustfs/Dockerfile.mc
context: rustfs/ context: rustfs/
tags: tags:

View File

@@ -6,6 +6,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/notebooks repo: localhost:3000/homelab/notebooks
registry: localhost:3000
dockerfile: notebooks/Dockerfile dockerfile: notebooks/Dockerfile
context: notebooks/ context: notebooks/
tags: tags:
@@ -24,6 +25,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/zotero repo: localhost:3000/homelab/zotero
registry: localhost:3000
dockerfile: zotero/Dockerfile dockerfile: zotero/Dockerfile
context: zotero/ context: zotero/
tags: tags:
@@ -50,6 +52,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/docs repo: localhost:3000/homelab/docs
registry: localhost:3000
dockerfile: docs/Dockerfile dockerfile: docs/Dockerfile
context: . context: .
tags: tags:
@@ -70,6 +73,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/api repo: localhost:3000/homelab/api
registry: localhost:3000
dockerfile: api/Dockerfile dockerfile: api/Dockerfile
context: . context: .
tags: tags:
@@ -88,6 +92,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: localhost:3000/homelab/mc repo: localhost:3000/homelab/mc
registry: localhost:3000
dockerfile: rustfs/Dockerfile.mc dockerfile: rustfs/Dockerfile.mc
context: rustfs/ context: rustfs/
tags: tags:

View File

@@ -55,5 +55,6 @@ ignore = ["E501", "E741"]
testpaths = ["tests"] testpaths = ["tests"]
[tool.uv.build-backend] [tool.uv.build-backend]
module-name = ["aco", "api", "bcda", "bib", "bls", "ccw", "cli", "cms", "conf", "pfs", "rex"]
namespace = true namespace = true
source-exclude = ["compose.yml","grafana/**","nginx/**","prometheus/**","rustfs/**","data/**", "loki/**", "notebooks/**", "traefik/**", "woodpecker/**", "gitea/**", "polaris/**", "trino/**", "zotero/**", "tuva/**"] source-exclude = ["compose.yml","grafana/**","nginx/**","prometheus/**","rustfs/**","data/**", "loki/**", "notebooks/**", "traefik/**", "woodpecker/**", "gitea/**", "polaris/**", "trino/**", "zotero/**", "tuva/**"]