From fdc14ca1ccf63f86c7361bab6b8ef32b76699d08 Mon Sep 17 00:00:00 2001 From: 186526 Date: Tue, 27 Dec 2022 08:42:29 +0800 Subject: [PATCH] Add: Test for config --- .drone.yml | 11 +++++++++++ readme.md | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..537dfc6 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,11 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: test + image: alpine:latest + commands: + - sed -i '1i\include "./config-example.conf";' bird.conf + - apk add bird + - bird -p -c ./bird.conf diff --git a/readme.md b/readme.md index 64cac8f..b524cde 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,8 @@ # 186526 Network +[![Build Status](https://ci.186526.xyz/api/badges/186526/net186-config/status.svg)](https://ci.186526.xyz/186526/net186-config) +![Bird Version Needed](https://img.shields.io/badge/bird-%3E%3D%202.0.11-blue) + - Experimental global network - Maintained by 186526 (@real186526)