feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 11:29:37 +08:00
parent a38ba51948
commit bf30b19151
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: backset.cn admin & web 资源发布 name: admin & web 资源发布
volumes: volumes:
- name: node_modules - name: node_modules
@ -67,7 +67,7 @@ steps:
--- ---
kind: pipeline kind: pipeline
type: exec type: exec
name: backset.cn server 镜像生产&容器发布 name: server 镜像生产&容器发布
steps: steps:
- name: deprecate container - name: deprecate container

View File

@ -9,7 +9,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
* *
*/ */
type: 'mysql', type: 'mysql',
host: 'localhost', host: '172.31.0.15',
port: 43306, port: 43306,
username: 'backset', username: 'backset',
password: 'backset', password: 'backset',
@ -25,7 +25,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
}, },
redis: { redis: {
client: { client: {
host: 'localhost', // Redis host host: '172.31.0.15', // Redis host
port: 46379, // Redis port port: 46379, // Redis port
password: 'cr654654.', password: 'cr654654.',
db: 0, db: 0,