add drone server in sysinfo.json

This commit is contained in:
creme 2020-05-23 20:58:43 +02:00
parent 6fcda2bfc0
commit efa0227fe3
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@ DOMAIN='envs.net'
###
# define packages by category for sysinfo.php Page
services=(0x0 bbj cryptpad getwtxt gitea gophernicus halcyon ipinfo jetforce mariadb-server matrix nginx
services=(0x0 bbj cryptpad drone getwtxt gitea gophernicus halcyon ipinfo jetforce mariadb-server matrix nginx
openssh-server pleroma privatebin riot-web searx termbin tt-rss thelounge znc)
readarray -t sorted_services < <(printf '%s\n' "${services[@]}" | sort)
@ -141,6 +141,11 @@ cat<<EOM > "$TMP_JSON"
"version": "$(curl -fs https://pad."$DOMAIN"/api/config | awk -F= '/ver=/ {print $2}' | sed '$ s/"$//')",
"url": "https://pad.envs.net/"
},
"drone": {
"desc": "continuous delivery platform",
"version": "$(curl -fs https://drone."$DOMAIN"/version | jq -Mr .version)",
"url": "https://drone.envs.net/"
},
"getwtxt": {
"desc": "a twtxt registry service - microblogging for hackers",
"version": "$(curl -fs https://twtxt."$DOMAIN"/api/plain/version | awk -Fv '{print $2}')",