From 156b081261154a337a16b063bbb9aa55614def39 Mon Sep 17 00:00:00 2001 From: jasder <2053003901@qq.com> Date: Wed, 2 Apr 2025 15:35:23 +0800 Subject: [PATCH] Update .trustie-pipeline.yml --- .trustie-pipeline.yml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index d3d5657..4987635 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -1,17 +1,21 @@ - -kind: pipeline -type: docker -name: deploy-unit3d -platform: - os: linux +kind: pipeline +type: ssh +name: cicd +platform: + os: linux arch: amd64 +server: + host: deploy_ip + user: deploy_name + password: deploy_pwd steps: -- name: maven - image: maven:3-jdk-10 - commands: - - mvn install -DskipTests=true -trigger: - branch: - - main - event: - - push + - name: cicd + commands: + - echo ======= + - nerdctl rm -f testnginx + - nerdctl run --name testnginx -d -p 58080:80 nginx + - echo ==== nginx======= + - curl 127.0.0.1:58080 + - echo ========== + - echo http://localhost:555 +