dns_es
(DNS ES)
June 28, 2022, 8:18am
1
Hi,
at the moment download url looks like this:
#https://download.checkmk.com/checkmk/2.1.0p3/check-mk-raw-2.1.0p3_0.jammy_amd64.deb
Nice would be tags like latest instead of “p3”. Is this possible?
At the moment, i have to set patchlevel (p3) and subpatchlevel (p3_0) as variables manually to create the download url.
Thankfull for any ideas!
regards,
Dennis
gstolz
(Gerd Stolz)
June 28, 2022, 8:29am
2
Hi, wouldn’t parsing the complete url from the stable_downloads.json How to download latest version of MK programatically - #12 by baris.leenders be easier anyway
1 Like
dns_es
(DNS ES)
June 28, 2022, 8:34am
3
hi,
thank´s for the fast reply. i´ll have a look!
cheers,
Dennis
gstolz
(Gerd Stolz)
June 28, 2022, 8:41am
4
download_cmk.sh (2.2 KB)
stripped down a little from how we use it internally, I guess the interesting parts are the jq stuff to parse the json.
not the most beautiful script but easy to debug and read (I hope)
2 Likes
system
(system)
Closed
June 28, 2023, 8:42am
5
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.