Skip to content

Commit 4ee7ea4

Browse files
authored
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]>
1 parent dac7e73 commit 4ee7ea4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

linkis-dist/bin/install-linkis-to-kubernetes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ create_kind_cluster(){
9393
}
9494
#mysql installation
9595
install_mysql(){
96-
${ROOT_DIR}/helm/scripts/install-mysql.sh
96+
${ROOT_DIR}/helm/scripts/install-mysql.sh $USING_KIND
9797
}
9898
#ldh installation
9999
install_ldh(){

linkis-dist/docker/scripts/utils.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ download() {
2020
TAR_FILE=$2
2121
HARD_LINK_ROOT=$3
2222

23+
mkdir -p ${TAR_CACHE_ROOT}
24+
2325
if [ ! -f ${TAR_CACHE_ROOT}/${TAR_FILE} ]; then
2426
echo "- downloading ${TAR_FILE} to ${TAR_CACHE_ROOT} from ${TAR_URL}"
2527
curl -L ${TAR_URL} -o ${TAR_CACHE_ROOT}/${TAR_FILE}

0 commit comments

Comments
 (0)