cluster-image
cluster-image copied to clipboard
Scripts need debug mode
Scripts need debug mode, for example: set -ex
Since the latest version of cert-manager (https://github.com/cert-manager/cert-manager/releases/download/v1.15.0/cert-manager-cmctl-linux-amd64.tar.gz) does not have this file, the init.sh script for building the cert-manager image fails, and no useful information can be viewed in the github action to fix it.
Can add debug mode to build images, or set debug mode by default.
same here when build oceanbase-dashboard:
maybe should add: --debug
/imagebuild_apps oceanbase-dashboard v0.2.1 --debug
and this to https://github.com/labring-actions/cluster-image/blob/main/.github/scripts/apps.sh
[[ -n $DEBUG ]] && set -x