diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 829d9eb..0000000 --- a/.drone.yml +++ /dev/null @@ -1,24 +0,0 @@ -kind: pipeline -name: validate-json - -steps: -- name: validate Richtfunk Devices - image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate - commands: - - jsonlint rifu_devices.json - when: - event: push - -- name: validate Router Devices - image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate - commands: - - jsonlint uisp_router.json - when: - event: push - -- name: validate Unifi Devices - image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate - commands: - - jsonlint unifi_devices.json - when: - event: push \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..91de5f0 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,28 @@ +pipeline: + validate_rifu: + image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate + commands: + - jsonlint rifu_devices.json + when: + event: push + + validate_router: + image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate + commands: + - jsonlint uisp_router.json + when: + event: push + + validate_unifi: + image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate + commands: + - jsonlint unifi_devices.json + when: + event: push + + validate_gateways: + image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate + commands: + - jsonlint gateways.json + when: + event: push \ No newline at end of file