Update registry references and node selector in configuration files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -3,7 +3,7 @@ type: kubernetes
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
node_selector:
|
node_selector:
|
||||||
physical-node: dev2
|
physical-node: dev1
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
14
cron.json
14
cron.json
@@ -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",
|
||||||
@@ -35,9 +35,15 @@
|
|||||||
],
|
],
|
||||||
"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",
|
||||||
|
2
service
2
service
@@ -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
|
||||||
|
Reference in New Issue
Block a user