fix: correct MySQL private domain name (remove extra hyphen)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
36ff1b5aca
commit
1c4b491e10
@ -91,8 +91,8 @@ jobs:
|
|||||||
|
|
||||||
# Replace DB config for production
|
# Replace DB config for production
|
||||||
if [[ "${{ env.DEPLOY_ENV }}" == "production" ]]; then
|
if [[ "${{ env.DEPLOY_ENV }}" == "production" ]]; then
|
||||||
sed -i "s|mysql-8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/backend-deployment.yaml
|
sed -i "s|mysql8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/backend-deployment.yaml
|
||||||
sed -i "s|mysql-8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/celery-deployment.yaml
|
sed -i "s|mysql8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/celery-deployment.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Replace CORS origin
|
# Replace CORS origin
|
||||||
|
|||||||
@ -34,7 +34,7 @@ spec:
|
|||||||
key: DJANGO_SECRET_KEY
|
key: DJANGO_SECRET_KEY
|
||||||
# Database (Volcano Engine RDS - 默认测试环境,生产环境通过 CI 替换)
|
# Database (Volcano Engine RDS - 默认测试环境,生产环境通过 CI 替换)
|
||||||
- name: DB_HOST
|
- name: DB_HOST
|
||||||
value: "mysql-8351f937d637.rds.ivolces.com"
|
value: "mysql8351f937d637.rds.ivolces.com"
|
||||||
- name: DB_NAME
|
- name: DB_NAME
|
||||||
value: "video_auto"
|
value: "video_auto"
|
||||||
- name: DB_USER
|
- name: DB_USER
|
||||||
|
|||||||
@ -36,7 +36,7 @@ spec:
|
|||||||
value: "redis://zyc:Zyc188208@redis-shzlsczo52dft8mia.redis.ivolces.com:6379/0"
|
value: "redis://zyc:Zyc188208@redis-shzlsczo52dft8mia.redis.ivolces.com:6379/0"
|
||||||
# Database (Volcano Engine RDS - 默认测试环境,生产环境通过 CI 替换)
|
# Database (Volcano Engine RDS - 默认测试环境,生产环境通过 CI 替换)
|
||||||
- name: DB_HOST
|
- name: DB_HOST
|
||||||
value: "mysql-8351f937d637.rds.ivolces.com"
|
value: "mysql8351f937d637.rds.ivolces.com"
|
||||||
- name: DB_NAME
|
- name: DB_NAME
|
||||||
value: "video_auto"
|
value: "video_auto"
|
||||||
- name: DB_USER
|
- name: DB_USER
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user