From f2afb7ab1a9c1c99b865a7dc5b122b80b380d6f4 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 31 Jan 2024 15:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9C=AC=E5=9C=B0=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=8E=A8=E9=80=81=E4=B8=8A=E6=B5=B7=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E4=BA=91=E9=95=9C=E5=83=8F=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- irc_api.drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/irc_api.drone.yml b/irc_api.drone.yml index 6e76a7b0d..bfbea0941 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -109,6 +109,38 @@ trigger: --- +--- +kind: pipeline +type: ssh +name: ssh-linux-test-irc-publish + +platform: + os: Linux + arch: 386 + +clone: + 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 + commands: + - cd /opt/hang/netcore/irc-test + - sh test-irc.sh v${DRONE_BUILD_NUMBER} + +trigger: + branch: + - Test_IRC_Net8 + +--- + kind: pipeline type: ssh