labring-actions / cluster-image

Apache License 2.0
62 stars 41 forks source link

Scripts need debug mode #967

Open bxy4543 opened 3 weeks ago

bxy4543 commented 3 weeks ago

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 commented 3 weeks ago

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

willzhang commented 2 days ago

same here when build oceanbase-dashboard: image

willzhang commented 2 days ago

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