Compare commits

...

6 Commits

Author SHA1 Message Date
d795a5e4cd build 2025-05-20 12:04:47 +02:00
d9c9b010a9 Update .gitlab-ci.yml file 2025-05-20 12:03:46 +02:00
a3e804c80d Update .gitlab-ci.yml file 2025-05-20 12:01:07 +02:00
dd9d7e1241 added v3 2025-05-20 11:44:56 +02:00
134e538b1f added v3 2025-05-20 09:28:18 +02:00
a2f42d41c2 added v3 2025-05-20 09:27:04 +02:00
2 changed files with 10 additions and 3 deletions

View File

@ -2,8 +2,11 @@ stages:
- build
build_job:
stage: build
rules:
- if: '$CI_COMMIT_TITLE == "build"'
script:
- echo "Running build pipeline"
- curl -X GET https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/omv_distribute/f851511c32ca9450

View File

@ -19,7 +19,7 @@ import paramiko
import numpy as np
file_path = os.path.realpath(__file__)
dir_path = os.path.dirname(file_path)
VERSION="1.0.3"
VERSION="1.0.4"
# print(file_path)
# print(dir_path)
os.chdir(dir_path)
@ -369,15 +369,19 @@ if _RESTORE:
#loaded['logo']['icon'] = "/images/morefine2.png"
logging.info(json.dumps(loaded, indent=2))
i = 0
for y in loaded:
logging.info(i)
logging.info(y)
if "logo" in y:
if host == "rpi5.home.lan":
if host == "rpi5.home.lan" or host == "rpi5":
loaded[i]['logo']['icon'] = "/images/rpi5.png"
elif host == "nas.home.lan":
loaded[i]['logo']['icon'] = "/images/qnap_nas.png"
elif host == "rack.home.lan":
loaded[i]['logo']['icon'] = "/images/rack.png"
else:
loaded[i]['logo']['icon'] = "/images/morefine2.png"
i+=1