From e9bf550e02e2b7121cd1cae6af16163451a9d72a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 20 Mar 2024 17:32:55 +0100 Subject: Woodpecker CI --- .drone.yml | 25 ------------------------- .woodpecker.yml | 15 +++++++++++++++ README.md | 2 +- 3 files changed, 16 insertions(+), 26 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index c7fb744..0000000 --- a/.drone.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -kind: pipeline -name: bottin - -steps: -- name: build - image: golang:stretch - commands: - - go get -d -v - - go build -v - - cd test - - go test -i -c -o test - -- name: test_bottin - image: consul:latest - environment: - BOTTIN_DEFAULT_ADMIN_PW: priZ4Cg0x5NkSyiIN/MpvWw4ZEy8f8s1 - commands: - - ash test/runner.sh - ---- -kind: signature -hmac: ff246a04c3df8a2f39c8b446dea920622d61950e6caaac886931bdb05d0706ed - -... diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..afff112 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,15 @@ +steps: +- name: build + image: golang:stretch + commands: + - go get -d -v + - go build -v + - cd test + - go test -i -c -o test + +- name: test_bottin + image: consul:latest + environment: + BOTTIN_DEFAULT_ADMIN_PW: priZ4Cg0x5NkSyiIN/MpvWw4ZEy8f8s1 + commands: + - ash test/runner.sh diff --git a/README.md b/README.md index 7d0c1c9..0cf5be1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Bottin -[![Build Status](https://drone.deuxfleurs.fr/api/badges/Deuxfleurs/bottin/status.svg?ref=refs/heads/main)](https://drone.deuxfleurs.fr/Deuxfleurs/bottin) +[![status-badge](https://woodpecker.deuxfleurs.fr/api/badges/38/status.svg)](https://woodpecker.deuxfleurs.fr/repos/38) -- cgit v1.2.3