All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m42s
对齐 AirShelf 的部署模型(master→prod / dev→dev),适配 Next.js 16 SSR 形态: - frontend/Dockerfile · multi-stage(deps→builder→runner),Next.js standalone + node:20-alpine,非 root 运行 - frontend/next.config.ts · 启用 output: "standalone"(打 Docker 镜像必需) - frontend/.dockerignore · 排除 .next/node_modules/env 等 - k8s/ · web-deployment(:3000) + ingress + cert-issuer + redirect middleware - .gitea/workflows/deploy.yaml · build/push 重试 3 次,deploy 重试 5 次,失败上报日志中心 project_id=airspark - prod 域名 airspark.airlabs.art / dev 域名 airspark.test.airlabs.art Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
16 lines
396 B
YAML
16 lines
396 B
YAML
# ClusterIssuer for Let's Encrypt automatic certificate generation & renewal
|
|
apiVersion: cert-manager.io/v1
|
|
kind: ClusterIssuer
|
|
metadata:
|
|
name: letsencrypt-prod
|
|
spec:
|
|
acme:
|
|
server: https://acme-v02.api.letsencrypt.org/directory
|
|
email: airlabsv001@gmail.com
|
|
privateKeySecretRef:
|
|
name: letsencrypt-prod-key
|
|
solvers:
|
|
- http01:
|
|
ingress:
|
|
class: traefik
|