40 lines
931 B
YAML
40 lines
931 B
YAML
# UNT (NOVA) — Build Workflow
|
|
#
|
|
# Runs on the dev-side agent (label: location=local) to avoid server OOM.
|
|
# Pushes images to the registry over WireGuard (10.8.0.1:5000, plain HTTP,
|
|
# trusted because of the WG perimeter).
|
|
#
|
|
# Triggered together with deploy.yml; deploy depends on this one.
|
|
# See ppl/def/ci-cd/local-agent-rollout.md for the full flow.
|
|
|
|
when:
|
|
- event: manual
|
|
|
|
labels:
|
|
location: local
|
|
|
|
steps:
|
|
- name: build-api
|
|
image: plugins/docker
|
|
settings:
|
|
repo: 10.8.0.1:5000/unt/api
|
|
registry: 10.8.0.1:5000
|
|
insecure: true
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_SHA:0:7}
|
|
dockerfile: ctrl/Dockerfile.api
|
|
context: .
|
|
|
|
- name: build-ui
|
|
image: plugins/docker
|
|
settings:
|
|
repo: 10.8.0.1:5000/unt/ui
|
|
registry: 10.8.0.1:5000
|
|
insecure: true
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_SHA:0:7}
|
|
dockerfile: ctrl/Dockerfile.ui
|
|
context: .
|