mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: do not mark script changes as doc-only
Changes in scripts will affect the CI jobs as the scripts are used while deploying minikube, Rook and other components. These changes need testing, just like anything else. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
7c6dbfdb8e
commit
5db647ba64
@ -12,15 +12,12 @@ CHANGED_FILES=$(git diff --name-only "${GIT_SINCE}")
|
||||
|
||||
skip=0
|
||||
#files to be skipped
|
||||
declare -a FILES=(^docs/ .md$ ^scripts/ LICENSE .mergify.yml .github .gitignore .commitlintrc.yml)
|
||||
declare -a FILES=(^docs/ .md$ LICENSE .mergify.yml .github .gitignore .commitlintrc.yml)
|
||||
|
||||
function check_file_present() {
|
||||
local file=$1
|
||||
for FILE in "${FILES[@]}"; do
|
||||
if [[ $file =~ $FILE ]]; then
|
||||
if [[ $file =~ (minikube.sh|travis-functest.sh) ]]; then
|
||||
continue
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user