This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.8.0
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/dev-1.8.0 by this push:
new 4ee7ea45e1 Fix KIND image loading, script typo, and cache directory
creation (#5251)
4ee7ea45e1 is described below
commit 4ee7ea45e1ad1e4cf0d6c4c4b1b10c37a0b6f541
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]