114 lines
1.7 KiB
YAML
114 lines
1.7 KiB
YAML
kind: pipeline
|
|
type: ssh
|
|
name: ssh-linux-uat-irc-build-image
|
|
|
|
platform:
|
|
os: Linux
|
|
arch: 386
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
server:
|
|
host: 101.132.253.119
|
|
user: root
|
|
password:
|
|
from_secret: test_ssh_pwd
|
|
|
|
steps:
|
|
- name: build-uat-irc
|
|
commands:
|
|
- bash /opt/1panel/xc-deploy-new/Uat_IRC/devops-publish/uat-branch-publish.sh
|
|
|
|
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:
|
|
- bash /opt/1panel/xc-deploy-new/Test_IRC_Swarm/devops-publish/test-branch-publish.sh
|
|
|
|
trigger:
|
|
branch:
|
|
- Test_IRC_Net8
|
|
|
|
|
|
|
|
---
|
|
kind: pipeline
|
|
type: ssh
|
|
name: ssh-linux-test-study-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-study
|
|
commands:
|
|
- cd /opt/1panel/xc-deploy/Test_Study/devops-build-publish ; sh pull-build-test-study-image.sh v${DRONE_BUILD_NUMBER}
|
|
- cd /opt/1panel/xc-deploy/Test_Study ;sh update-image-if-need-then-pull-aliyun.sh v${DRONE_BUILD_NUMBER}
|
|
|
|
trigger:
|
|
branch:
|
|
- Test_Study_Net8
|
|
|
|
---
|
|
kind: pipeline
|
|
type: ssh
|
|
name: ssh-linux-test-hir
|
|
|
|
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:
|
|
- bash /opt/1panel/xc-deploy-new/Test_HIR/devops-publish/test-branch-publish.sh
|
|
|
|
trigger:
|
|
branch:
|
|
- Test_HIR
|
|
|
|
|
|
|
|
|
|
|