diff --git a/.drone.yml b/.drone.yml index 3e42d5e..829d9eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,16 +2,23 @@ kind: pipeline name: validate-json steps: -- name: validate ucDevices.json - image: fftdf/docker-json-validate +- name: validate Richtfunk Devices + image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate commands: - - jsonlint ucDevices.json + - jsonlint rifu_devices.json when: event: push -- name: validate Devices.json - image: fftdf/docker-json-validate +- name: validate Router Devices + image: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-json-validate commands: - - jsonlint devices.json + - 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/devices.json b/rifu_devices.json similarity index 100% rename from devices.json rename to rifu_devices.json diff --git a/uisp_router.json b/uisp_router.json new file mode 100644 index 0000000..8a5d097 --- /dev/null +++ b/uisp_router.json @@ -0,0 +1,4 @@ +{ + "devices":[ + ] + } \ No newline at end of file diff --git a/ucDevices.json b/unifi_devices.json similarity index 100% rename from ucDevices.json rename to unifi_devices.json