### _Why are the changes needed?_ - introduce `action/super-linter` with multiple linters, (https://github.com/marketplace/actions/super-linter) - using the smaller size version of image `github/super-linter/slim` for faster image pulling - enable linting for `bash_exec` for checking executable of bash scripts, with fixed `tools/spark-block-cleaner/kubernetes/docker/entrypoint.sh` - enable integrity checks for JSON files in JSONC style - enable integrity checks for XML files - enable linting for ENV files ### _How was this patch tested?_ - [x] Pass CI jobs Closes #4295 from bowenliang123/superlinter-action. Closes #4295 321d24912 [liangbowen] update 497bf801c [liangbowen] use JSONC instead of JSON to support comments 43787e233 [liangbowen] use superlinter Authored-by: liangbowen <liangbowen@gf.com.cn> Signed-off-by: liangbowen <liangbowen@gf.com.cn>
24 lines
990 B
Bash
Executable File
24 lines
990 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
# entrypoint for spark-block-cleaner
|
|
|
|
# shellcheck disable=SC2046
|
|
exec /usr/bin/tini -s -- java -cp "${CLASS_PATH}:${CLEANER_CLASSPATH}" \
|
|
org.apache.kyuubi.tools.KubernetesSparkBlockCleaner
|