From 6d08a75fd8a15146b2f1b5feef6122d15332f196 Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Thu, 21 Nov 2024 00:30:09 +0300 Subject: [PATCH] Move to Woodpecker CI --- .drone.yml => .woodpecker/woodpecker.yml | 22 ++++++---------------- README.md | 2 +- 2 files changed, 7 insertions(+), 17 deletions(-) rename .drone.yml => .woodpecker/woodpecker.yml (52%) diff --git a/.drone.yml b/.woodpecker/woodpecker.yml similarity index 52% rename from .drone.yml rename to .woodpecker/woodpecker.yml index 40ca1d2..946844d 100644 --- a/.drone.yml +++ b/.woodpecker/woodpecker.yml @@ -1,29 +1,19 @@ -kind: pipeline -type: docker -name: default - steps: - name: test + when: + event: [tag, push] image: maven:3-jdk-11 commands: - mvn -B -DskipTests clean package 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/innaircbot - cp target/InnaIrcBot-*jar /builds/innaircbot/ 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 ec027dc..7894e0d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # InnaIrcBot -[![Build Status](https://ci.redrise.ru/api/badges/desu/innaircbot/status.svg)](https://ci.redrise.ru/desu/innaircbot) +[![status-badge](https://ci.redrise.ru/api/badges/8/status.svg)](https://ci.redrise.ru/repos/8) InnaIrcBot is IRC bot.