Files
blood-brain-barrier/.woodpecker/build.yml
Mikhail Kilin d23043a489
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Remove rollout status check (too many open files in CI)
Rollout restart is enough — status monitoring is optional and
fails with fsnotify watcher limit in the CI pod.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 11:24:57 +03:00

45 lines
1.2 KiB
YAML

when:
- branch: main
event: push
steps:
- name: build-backend
image: woodpeckerci/plugin-kaniko
settings:
registry: git.mikhailkilin.ru
repo: killingdruid/bbb-backend
dockerfile: backend/Dockerfile
context: backend
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: build-frontend
image: woodpeckerci/plugin-kaniko
settings:
registry: git.mikhailkilin.ru
repo: killingdruid/bbb-frontend
dockerfile: frontend/Dockerfile
context: frontend
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: deploy
image: bitnami/kubectl:latest
environment:
K8S_TOKEN:
from_secret: k8s_token
K8S_SERVER:
from_secret: k8s_server
commands:
- kubectl config set-cluster k3s --server=$K8S_SERVER --insecure-skip-tls-verify=true
- kubectl config set-credentials deployer --token=$K8S_TOKEN
- kubectl config set-context deploy --cluster=k3s --user=deployer --namespace=bbb
- kubectl config use-context deploy
- kubectl rollout restart deploy/bbb-backend deploy/bbb-frontend -n bbb