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 +