From 7479811a0df90a74d69f02380a377c25d6c6a27f Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Thu, 21 Nov 2024 00:35:58 +0300 Subject: [PATCH] Move to Woodpecker CI --- .drone.yml => .woodpecker/woodpecker.yml | 22 ++++++---------------- README.md | 2 ++ 2 files changed, 8 insertions(+), 16 deletions(-) rename .drone.yml => .woodpecker/woodpecker.yml (54%) diff --git a/.drone.yml b/.woodpecker/woodpecker.yml similarity index 54% rename from .drone.yml rename to .woodpecker/woodpecker.yml index cef95e6..ef66ff1 100644 --- a/.drone.yml +++ b/.woodpecker/woodpecker.yml @@ -1,30 +1,20 @@ -kind: pipeline -type: docker -name: default - steps: - name: test + when: + event: [tag, push] image: maven:3-jdk-11 commands: - mvn -B -DskipTests clean package - mvn test -B volumes: - - name: m2 - path: /root/.m2 + - /home/docker/woodpecker/files/m2:/root/.m2 - name: archive-artifact + when: + event: [tag, push] image: alpine:latest commands: - mkdir -p /builds/javausbtool - cp target/javausbtool-*jar /builds/javausbtool/ volumes: - - name: builds - path: /builds - -volumes: - - name: m2 - host: - path: /home/docker/drone/files/m2 - - name: builds - host: - path: /home/www/builds \ No newline at end of file + - /home/www/builds:/builds diff --git a/README.md b/README.md index f9d348a..2cc0b08 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # JavaUSBTool +[![status-badge](https://ci.redrise.ru/api/badges/9/status.svg)](https://ci.redrise.ru/repos/9) + Dumb tool to dump USB packets to files (Bulk transfer) GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/JavaUSBTool)