19 lines
379 B
YAML
19 lines
379 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: deploy
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|
|
- custom
|
|
|
|
steps:
|
|
- name: deploy
|
|
image: bitnami/kubectl:latest
|
|
commands:
|
|
- kubectl apply -k k8s/base/
|
|
- kubectl rollout restart deploy/xiaohongshu-mcp -n xiaohongshu-mcp
|
|
- kubectl rollout status deploy/xiaohongshu-mcp -n xiaohongshu-mcp --timeout=120s
|