Files
nova/.woodpecker/deploy.yml
buenosairesam 487ea57579
Some checks failed
ci/woodpecker/manual/build Pipeline failed
ci/woodpecker/manual/deploy unknown status
add readme
2026-05-06 11:52:38 -03:00

39 lines
974 B
YAML

# UNT (NOVA) — Deploy Workflow
#
# Runs on the server-side agent (label: location=server).
# Depends on build.yml completing — pulls the just-pushed images via the
# public HTTPS path and runs docker compose on the host daemon.
#
# The edge compose dir is mounted read-only so we structurally cannot stomp
# the server's .env (see ppl/def/ci-cd/auth-tiers.md context).
when:
- event: manual
labels:
location: server
depends_on:
- build
# deploy doesn't need the repo — it runs docker compose against a host-mounted
# dir. Skip the default clone to keep the UI clean.
clone:
- name: skip-clone
image: alpine
commands:
- ":"
steps:
- name: deploy
image: docker:24-cli
commands:
- cd /edge
- docker compose pull
- docker compose up -d --remove-orphans
- docker image prune -f
- docker compose ps
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/mariano/unt/ctrl/edge:/edge:ro