Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts need debug mode #967

Open
bxy4543 opened this issue Jun 7, 2024 · 3 comments
Open

Scripts need debug mode #967

bxy4543 opened this issue Jun 7, 2024 · 3 comments

Comments

@bxy4543
Copy link
Collaborator

bxy4543 commented Jun 7, 2024

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
Copy link
Collaborator Author

bxy4543 commented Jun 7, 2024

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

@willzhang
Copy link
Collaborator

same here when build oceanbase-dashboard:
image

@willzhang
Copy link
Collaborator

willzhang commented Jul 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants