测试Study 环境打包增加企业微信通知
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
df18b6678c
commit
19fbb762b0
|
|
@ -1,60 +1,5 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: ssh
|
type: ssh
|
||||||
name: ssh-linux-uat-irc-build-image
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: Linux
|
|
||||||
arch: 386
|
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
server:
|
|
||||||
host: 47.117.164.182
|
|
||||||
user: root
|
|
||||||
password:
|
|
||||||
from_secret: test_ssh_pwd
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-uat-irc
|
|
||||||
commands:
|
|
||||||
- cd /opt/1panel/xc-deploy/Uat_IRC/devops-build-publish/Uat-To-Uat
|
|
||||||
- sh pull-build-uat-irc-image.sh v${DRONE_BUILD_NUMBER}
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- Uat_IRC_Net8
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: ssh
|
|
||||||
name: ssh-linux-test-irc-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
|
|
||||||
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-study-publish
|
name: ssh-linux-test-study-publish
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
|
|
@ -71,70 +16,23 @@ server:
|
||||||
from_secret: test_ssh_pwd
|
from_secret: test_ssh_pwd
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: publish-test-study
|
- name: publish-test-sir(study)
|
||||||
commands:
|
commands:
|
||||||
- cd /opt/1panel/xc-deploy/Test_Study/devops-build-publish ; sh pull-build-test-study-image.sh v${DRONE_BUILD_NUMBER}
|
- bash /opt/1panel/xc-deploy-new/Test_Study/devops-publish/test-branch-publish.sh
|
||||||
- cd /opt/1panel/xc-deploy/Test_Study ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER}
|
- name: notify-wecom
|
||||||
|
commands:
|
||||||
|
- bash /opt/1panel/xc-deploy-new/devops-center/drone-notify-wecom.sh "$DRONE_BUILD_STATUS" "$DRONE_REPO_NAME" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR" "Test_Study_API" "sir.test.extimaging.com"
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- Test_Study_Net8
|
- Test_Study_Net8
|
||||||
|
|
||||||
---
|
|
||||||
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
|
|
||||||
|
|
||||||
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
|
|
||||||
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}
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- Test_HIR
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue