mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-02 03:00:23 +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
|
skip=0
|
||||||
#files to be skipped
|
#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() {
|
function check_file_present() {
|
||||||
local file=$1
|
local file=$1
|
||||||
for FILE in "${FILES[@]}"; do
|
for FILE in "${FILES[@]}"; do
|
||||||
if [[ $file =~ $FILE ]]; then
|
if [[ $file =~ $FILE ]]; then
|
||||||
if [[ $file =~ (minikube.sh|travis-functest.sh) ]]; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user