fix(CI): 测试调整环境变量注入方式
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6f8b04530d
commit
c099e90c94
|
|
@ -28,6 +28,9 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
environment:
|
||||||
|
Connection:
|
||||||
|
from_secret: connection
|
||||||
settings:
|
settings:
|
||||||
host: 192.168.31.225
|
host: 192.168.31.225
|
||||||
port: 22
|
port: 22
|
||||||
|
|
@ -35,6 +38,7 @@ steps:
|
||||||
password: dronepw
|
password: dronepw
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
|
- echo $Connection
|
||||||
- docker pull 192.168.31.104:8082/tiamo/user-point-management
|
- docker pull 192.168.31.104:8082/tiamo/user-point-management
|
||||||
- docker image prune -f
|
- docker image prune -f
|
||||||
- docker stop user-point-management
|
- docker stop user-point-management
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
|
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;"
|
||||||
},
|
},
|
||||||
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,5 @@
|
||||||
"MenuRender": true,
|
"MenuRender": true,
|
||||||
"MenuHeaderRender": true,
|
"MenuHeaderRender": true,
|
||||||
"HeaderHeight": 48
|
"HeaderHeight": 48
|
||||||
},
|
}
|
||||||
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo;"
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue