修改yml文件
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f2afb7ab1a
commit
fadd8a7f79
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: irc-netcore-api
|
||||
|
||||
clone:
|
||||
disable: true #禁用默认克隆
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone-repo
|
||||
|
@ -46,7 +47,6 @@ steps:
|
|||
- cd /work/netcore-repo/IRaCIS.Core.API
|
||||
- dotnet publish ./IRaCIS.Core.API.csproj -c Release --no-restore -o /work/publish
|
||||
|
||||
|
||||
- name: docker-build
|
||||
image: docker
|
||||
pull: if-not-exists
|
||||
|
@ -77,6 +77,7 @@ trigger:
|
|||
- master
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-linux-test-irc-publish
|
||||
|
@ -86,15 +87,13 @@ platform:
|
|||
arch: 386
|
||||
|
||||
clone:
|
||||
disable: true #禁用默认克隆
|
||||
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host: 123.56.94.154
|
||||
user: root
|
||||
password:
|
||||
from_secret: test_ssh_pwd
|
||||
# ssh_key:
|
||||
# from_secret: rsa_key
|
||||
|
||||
steps:
|
||||
- name: publish-test-irc
|
||||
|
@ -109,28 +108,25 @@ trigger:
|
|||
|
||||
---
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-linux-test-irc-publish
|
||||
name: test-irc-publish-image-push-aliyun
|
||||
|
||||
platform:
|
||||
os: Linux
|
||||
arch: 386
|
||||
|
||||
clone:
|
||||
disable: true #禁用默认克隆
|
||||
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host: 192.168.3.68
|
||||
user: root
|
||||
password:
|
||||
from_secret: local_pwd
|
||||
# ssh_key:
|
||||
# from_secret: rsa_key
|
||||
|
||||
steps:
|
||||
- name: build and push image
|
||||
- name: build-and-push-image
|
||||
commands:
|
||||
- cd /opt/hang/netcore/irc-test
|
||||
- sh test-irc.sh v${DRONE_BUILD_NUMBER}
|
||||
|
@ -141,7 +137,6 @@ trigger:
|
|||
|
||||
---
|
||||
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-linux-test-study-publish
|
||||
|
@ -151,8 +146,8 @@ platform:
|
|||
arch: 386
|
||||
|
||||
clone:
|
||||
disable: true #禁用默认克隆
|
||||
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host: 123.56.94.154
|
||||
user: root
|
||||
|
@ -168,6 +163,4 @@ steps:
|
|||
|
||||
trigger:
|
||||
branch:
|
||||
- Test.Study
|
||||
|
||||
|
||||
- Test.Study
|
||||
|
|
Loading…
Reference in New Issue