87 lines
1.3 KiB
YAML
87 lines
1.3 KiB
YAML
kind: pipeline
|
|
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/devops/irc-uat-to-uat
|
|
- sh build-irc-uat-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:
|
|
- echo start publish test-irc-api
|
|
- cd /opt/1panel/hang/devops/test-irc
|
|
- sh test-irc.sh v${DRONE_BUILD_NUMBER}
|
|
|
|
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:
|
|
- echo start publish test-study-api
|
|
- cd /opt/1panel/hang/devops/test-study
|
|
- sh test-study.sh v${DRONE_BUILD_NUMBER}
|
|
|
|
trigger:
|
|
branch:
|
|
- Test.Study
|
|
|
|
|
|
|