Update registry references and node selector in configuration files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
gyurix
2025-03-05 17:30:18 +01:00
parent 59db7bc9e8
commit b4f570ee8f
4 changed files with 59 additions and 53 deletions

View File

@@ -3,7 +3,7 @@ type: kubernetes
name: default name: default
node_selector: node_selector:
physical-node: dev2 physical-node: dev1
trigger: trigger:
branch: branch:

View File

@@ -8,5 +8,5 @@ Once crontab.txt changed it's affected after 1 minute.
## Usage: ## Usage:
docker run --volume <host-path-to-crontab.txt>:/crontab.txt registry.format.hu/cron docker run --volume <host-path-to-crontab.txt>:/crontab.txt safebox/cron

View File

@@ -5,7 +5,7 @@
}, },
"containers": [ "containers": [
{ {
"IMAGE": "registry.format.hu/cron", "IMAGE": "safebox/cron",
"NAME": "cron", "NAME": "cron",
"UPDATE": "true", "UPDATE": "true",
"MEMORY": "64M", "MEMORY": "64M",
@@ -33,13 +33,19 @@
"TYPE": "ro" "TYPE": "ro"
} }
], ],
"PORTS": [ ], "PORTS": [],
"READYNESS": [ "READYNESS": [
{"tcp": ""}, {
{"HTTP": ""}, "tcp": ""
{"EXEC": "/ready.sh"} },
{
"HTTP": ""
},
{
"EXEC": "/ready.sh"
}
], ],
"ENVS": [ ], "ENVS": [],
"EXTRA": "--privileged --restart unless-stopped", "EXTRA": "--privileged --restart unless-stopped",
"DEPEND": "null", "DEPEND": "null",
"START_ON_BOOT": "false", "START_ON_BOOT": "false",

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
SERVICE_FILE=$1 SERVICE_FILE=$1
DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL:-registry.format.hu} DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL:-safebox}
SETUP_VERSION=${SETUP_VERSION:-latest} SETUP_VERSION=${SETUP_VERSION:-latest}
if [[ -n "$DOCKER_REGISTRY_URL" && "$DOCKER_REGISTRY_URL" != "null" ]]; then if [[ -n "$DOCKER_REGISTRY_URL" && "$DOCKER_REGISTRY_URL" != "null" ]]; then