Browse Source

update pipeline for interface branch

interface
parent
commit
828ca9bdfb
1 changed files with 2 additions and 29 deletions
  1. +2
    -29
      .drone.yml

+ 2
- 29
.drone.yml View File

@@ -1,14 +1,9 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: masterpipe
name: 1
platform: platform:
os: linux os: linux
arch: arm64 arch: arm64

volumes:
- name: cache
host:
path: /var/lib/cache
steps: steps:
- name: maven - name: maven
image: maven:3-jdk-10 image: maven:3-jdk-10
@@ -17,30 +12,8 @@ steps:
path: /root/.m2 path: /root/.m2
commands: commands:
- mvn compile - mvn compile
- name: test
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
commands:
- mvn test

- name: 远程主机部署
image: appleboy/drone-ssh
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- ./home/deploy.sh
trigger: trigger:
branch: branch:
- master
- interface
event: event:
- push - push
- pull_request

Loading…
Cancel
Save