cluster-image icon indicating copy to clipboard operation
cluster-image copied to clipboard

Scripts need debug mode

Open bxy4543 opened this issue 1 year ago • 3 comments

image

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.

bxy4543 avatar Jun 07 '24 10:06 bxy4543

Can add debug mode to build images, or set debug mode by default.

bxy4543 avatar Jun 07 '24 10:06 bxy4543

same here when build oceanbase-dashboard: image

weironz avatar Jul 02 '24 01:07 weironz

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

weironz avatar Jul 02 '24 01:07 weironz