This is an automated email from the ASF dual-hosted git repository. aiceflower pushed a commit to branch release-1.8.0 in repository https://gitbox.apache.org/repos/asf/linkis.git
commit e947b0cba55f6c9acc675d4f41817244f1cf6134 Author: Kazuto Iris <[email protected]> AuthorDate: Fri Aug 29 12:57:52 2025 +0800 Fix KIND image loading, script typo, and cache directory creation (#5251) * fix(ci): pass `USING_KIND` variable to `install-mysql.sh` Signed-off-by: kazutoiris <[email protected]> * fix(ci): correct typo in script name Signed-off-by: kazutoiris <[email protected]> * fix(ci): create `TAR_CACHE_ROOT` directory if not exists Signed-off-by: kazutoiris <[email protected]> --------- Signed-off-by: kazutoiris <[email protected]> --- linkis-dist/bin/install-linkis-to-kubernetes.sh | 2 +- ...is-image-with-mysql-jdbc.sh => make-linkis-image-with-mysql-jdbc.sh} | 0 linkis-dist/docker/scripts/utils.sh | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/linkis-dist/bin/install-linkis-to-kubernetes.sh b/linkis-dist/bin/install-linkis-to-kubernetes.sh index 44e84e989a..00681b27b9 100644 --- a/linkis-dist/bin/install-linkis-to-kubernetes.sh +++ b/linkis-dist/bin/install-linkis-to-kubernetes.sh @@ -93,7 +93,7 @@ create_kind_cluster(){ } #mysql installation install_mysql(){ - ${ROOT_DIR}/helm/scripts/install-mysql.sh + ${ROOT_DIR}/helm/scripts/install-mysql.sh $USING_KIND } #ldh installation install_ldh(){ diff --git a/linkis-dist/docker/scripts/make-linikis-image-with-mysql-jdbc.sh b/linkis-dist/docker/scripts/make-linkis-image-with-mysql-jdbc.sh similarity index 100% rename from linkis-dist/docker/scripts/make-linikis-image-with-mysql-jdbc.sh rename to linkis-dist/docker/scripts/make-linkis-image-with-mysql-jdbc.sh diff --git a/linkis-dist/docker/scripts/utils.sh b/linkis-dist/docker/scripts/utils.sh index f7813cfe70..8c8c181de0 100755 --- a/linkis-dist/docker/scripts/utils.sh +++ b/linkis-dist/docker/scripts/utils.sh @@ -20,6 +20,8 @@ download() { TAR_FILE=$2 HARD_LINK_ROOT=$3 + mkdir -p ${TAR_CACHE_ROOT} + if [ ! -f ${TAR_CACHE_ROOT}/${TAR_FILE} ]; then echo "- downloading ${TAR_FILE} to ${TAR_CACHE_ROOT} from ${TAR_URL}" curl -L ${TAR_URL} -o ${TAR_CACHE_ROOT}/${TAR_FILE} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
