From 2b07eab7e2a7b97d7ace904dbea8f314b20e6bf5 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 21 May 2024 20:40:23 +0200 Subject: [PATCH] Now consider rebuild feature as stable --- README.md | 17 ++++++++++------- check_container_upgrade | 1 - 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f670706..55de8d4 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,16 @@ service nagios-nrpe-server reload ``` Usage : check_container_upgrade [-d] [-E /path/to/engine] [container1,...] - -E [path] Force a specific engine (possible values: auto docker podman, default: auto) - -x [container] Exclude specified container (could be repeat) - -M [integer] Max number of container checks to run in parallel (default: 4, 0=no limit) - -f [docker-compose.yml] To check upgrade on docker compose project, specified the path of the docker-compose.yml file - -d Debug mode - -X Enable bash tracing (=set -x) - -h Show this message + -E [path] Force a specific engine (possible values: auto docker podman, default: auto) + -x [container] Exclude specified container (could be repeat) + -M [integer] Max number of container checks to run in parallel (default: 4, 0=no limit) + -f [docker-compose.yml] To check upgrade on docker compose project, specified the path of the docker-compose.yml file + -b|--build|--rebuild Trigger container build if upgrade detected (only possible if a docker compose file if provided) + --rebuild-lock Specify rebuild lock file path (default: /var/tmp/check_container_upgrade.lock) + --rebuild-log Specify rebuild log file path (default: /var/tmp/check_container_upgrade.log) + -d Debug mode + -X Enable bash tracing (=set -x) + -h Show this message ``` ## Copyright diff --git a/check_container_upgrade b/check_container_upgrade index 175a01e..ff602df 100755 --- a/check_container_upgrade +++ b/check_container_upgrade @@ -60,7 +60,6 @@ Usage : $(basename $0) [-d] [-E /path/to/engine] [container1,...] -M [integer] Max number of container checks to run in parallel (default: $MAX_PARALLEL_CHECKS, 0=no limit) -f [docker-compose.yml] To check upgrade on docker compose project, specified the path of the docker-compose.yml file -b|--build|--rebuild Trigger container build if upgrade detected (only possible if a docker compose file if provided) - /!\\ WARNING /!\\ Beta feature, not really tested yet! --rebuild-lock Specify rebuild lock file path (default: ${REBUILD_LOCK_FILE}) --rebuild-log Specify rebuild log file path (default: ${REBUILD_LOG_FILE}) -d Debug mode