优化dron打包流程步骤,防止服务器一下子负载过大崩溃
parent
4ac9e83903
commit
c814736427
|
|
@ -1073,7 +1073,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
//异地登录
|
||||
loginUser.LoginState = 2;
|
||||
|
||||
|
||||
await _fusionCache.RemoveByTagAsync(CacheKeys.UserMFATag(loginUser.IdentityUserId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,29 +48,6 @@ steps:
|
|||
commands:
|
||||
- cd /opt/1panel/xc-deploy/Test_IRC/devops-build-publish;sh test-irc-update-or-create-stack.sh v${DRONE_BUILD_NUMBER}
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- Test_IRC_Net8
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-linux-test-irc-scp-publish
|
||||
|
||||
platform:
|
||||
os: Linux
|
||||
arch: 386
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host: 106.14.89.110
|
||||
user: root
|
||||
password:
|
||||
from_secret: test_ssh_pwd
|
||||
|
||||
steps:
|
||||
- name: publish-test-irc-scp
|
||||
commands:
|
||||
- cd /opt/1panel/xc-deploy/Test_IRC_SCP/devops-build-publish;sh pull-build-test-irc-scp-image.sh v${DRONE_BUILD_NUMBER}
|
||||
|
|
@ -78,7 +55,9 @@ steps:
|
|||
|
||||
trigger:
|
||||
branch:
|
||||
- Test_IRC_Net8—_SCP_Disable
|
||||
- Test_IRC_Net8
|
||||
|
||||
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
|
@ -111,37 +90,7 @@ trigger:
|
|||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-linux-test-scp-publish
|
||||
|
||||
platform:
|
||||
os: Linux
|
||||
arch: 386
|
||||
|
||||
clone:
|
||||
disable: true #禁用默认克隆
|
||||
|
||||
server:
|
||||
host: 106.14.89.110
|
||||
user: root
|
||||
password:
|
||||
from_secret: test_ssh_pwd
|
||||
|
||||
steps:
|
||||
- name: publish-test-hir-scp
|
||||
commands:
|
||||
- cd /opt/1panel/xc-deploy/Test_HIR_SCP/devops-build-publish;sh pull-build-test-hir-scp-image.sh v${DRONE_BUILD_NUMBER}
|
||||
- cd /opt/1panel/xc-deploy/Test_HIR_SCP ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER}
|
||||
trigger:
|
||||
branch:
|
||||
- Test_HIR
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-linux-test-hir-publish
|
||||
name: ssh-linux-test-hir
|
||||
|
||||
platform:
|
||||
os: Linux
|
||||
|
|
@ -161,8 +110,16 @@ steps:
|
|||
commands:
|
||||
- cd /opt/1panel/xc-deploy/Test_HIR/devops-build-publish;sh pull-build-test-hir-image.sh v${DRONE_BUILD_NUMBER}
|
||||
- cd /opt/1panel/xc-deploy/Test_HIR ; sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER}
|
||||
|
||||
- name: publish-test-hir-scp
|
||||
commands:
|
||||
- cd /opt/1panel/xc-deploy/Test_HIR_SCP/devops-build-publish;sh pull-build-test-hir-scp-image.sh v${DRONE_BUILD_NUMBER}
|
||||
- cd /opt/1panel/xc-deploy/Test_HIR_SCP ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER}
|
||||
trigger:
|
||||
branch:
|
||||
- Test_HIR
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue