Compare commits

...

13 Commits

Author SHA1 Message Date
102403a9a3
fixed conditions
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline is pending
2023-05-21 21:24:39 +02:00
d6a43f88cf
Fixed indentation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-21 21:21:18 +02:00
445c1bc6a0
Build 2023-05-21 21:20:05 +02:00
8610b3c044
Build in Gitea 2023-05-21 21:15:54 +02:00
437e697990 „nodePoller.sh“ ändern
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-13 23:30:16 +00:00
d3450bedc7 „nodePoller.sh“ ändern
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-13 18:42:09 +00:00
8ccb88ff72 „nodePoller.sh“ ändern
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-13 17:34:22 +00:00
c03725dfac added rifu nodes
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-03 14:33:41 +00:00
a1e8b7271d Removed tdf7
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-29 17:44:24 +00:00
a4fdc26484 Added RiFu File Download
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-29 17:19:21 +00:00
eaa36a5ea1 No Rifu json
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-27 22:15:24 +00:00
f7f43079e7 set executable bit on nodePoller.sh
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-19 23:25:27 +02:00
647b5fd1c6 Add example Rifu File
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-19 21:18:59 +00:00
4 changed files with 27 additions and 22 deletions

View File

@ -1,12 +0,0 @@
kind: pipeline
name: meshviewer-cron build
steps:
- name: docker
image: plugins/docker
settings:
repo: fftdf/meshviewer-cron
username:
from_secret: docker_username
password:
from_secret: docker_password

22
.woodpecker.yml Normal file
View File

@ -0,0 +1,22 @@
pipeline:
docker-build:
image: woodpeckerci/plugin-docker-buildx
settings:
dry_run: true
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-meshviewer-cron
registry: https://git.freifunk-rhein-sieg.net
auto_tag: true
when:
event: push
docker-push:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-meshviewer-cron
registry: https://git.freifunk-rhein-sieg.net
auto_tag: true
username: api_user
password:
from_secret: gitpw
when:
event: tag

View File

@ -1 +1,3 @@
# docker-meshviewer-cron
# docker-meshviewer-cron
Build NOW

View File

@ -1,10 +1,3 @@
#!/bin/sh
for i in 4 5 6 7
do
for f in meshviewer #graph nodelist nodes
do
mkdir -p /opt/data/tdf$i/
curl http://$i.fftdf.de/$f.json -o /opt/data/tdf$i/$f.json || sed -i -e 's/"is_online":true/"is_online":false/g' /opt/data/tdf$i/$f.json
done
done
mkdir -p /opt/data/api/
curl https://ubnt-api.freifunk-rhein-sieg.net/meshviewer.json -o /opt/data/api/meshviewer.json