mirror of https://git.envs.net/envs/ops.git
add drone server in sysinfo.json
This commit is contained in:
parent
6fcda2bfc0
commit
efa0227fe3
|
@ -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}')",
|
||||
|
|
Loading…
Reference in New Issue