diff --git a/.drone.yml b/.drone.yml index 719e37e..473f50e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,36 +1,11 @@ - kind: pipeline type: docker -name: 1 -platform: - os: linux - arch: amd64 - -workspace: - base: /opt/workspace - path: work - -volumes: -- name: m2 - host: - path: /root/.m2 +name: default steps: - -- name: maven - image: maven:3-jdk-10 - volumes: - - name: m2 - path: /root/.m2 - commands: - - mvn install -- name: tomcat-deploy - image: tomcat - commands: - - cp target/webssh.war /usr/local/tomcat/webapps - - bash /usr/local/tomcat/bin/startup.sh - -trigger: - branch: - - master - event: - - push + - name: ping + image: redis + commands: + - redis-cli -h cache ping +services: + - name: cache + image: redis \ No newline at end of file