From 458d677770895fa2bb6ba7195ea9a694cf9927ff Mon Sep 17 00:00:00 2001 From: jasder <2053003901@qq.com> Date: Wed, 2 Apr 2025 15:35:15 +0800 Subject: [PATCH] Update '.trustie-pipeline.yml' --- .trustie-pipeline.yml | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index 4987635..d3d5657 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -1,21 +1,17 @@ -kind: pipeline -type: ssh -name: cicd -platform: - os: linux + +kind: pipeline +type: docker +name: deploy-unit3d +platform: + os: linux arch: amd64 -server: - host: deploy_ip - user: deploy_name - password: deploy_pwd steps: - - 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 - +- name: maven + image: maven:3-jdk-10 + commands: + - mvn install -DskipTests=true +trigger: + branch: + - main + event: + - push