Stopped the folder filter from ignore panel folders

This commit is contained in:
andrewc
2024-01-17 18:48:59 +10:00
parent f6bdbc19a1
commit 9a899dc0b9

View File

@@ -55,7 +55,7 @@ image:
do do
dir=$(dirname $f) dir=$(dirname $f)
echo $dir echo $dir
if [[ "$dir" =~ ^.?\/?[0-9]{4}-.*$ ]] if [[ "$dir" =~ ^.?\/?[0-9]{4}-.*$ || "$dir" =~ .+_panel ]]
then then
FILT_FILES=$(echo "$FILT_FILES $f") FILT_FILES=$(echo "$FILT_FILES $f")
FILT_DIRS=$(echo "$FILT_DIRS $dir") FILT_DIRS=$(echo "$FILT_DIRS $dir")
@@ -93,7 +93,6 @@ image:
- !reference [.commands, get_dirs] - !reference [.commands, get_dirs]
- | - |
cd $CI_PROJECT_DIR cd $CI_PROJECT_DIR
echo "searching for panels"
for d in $DIRS for d in $DIRS
do do
echo "found panel" echo "found panel"
@@ -228,6 +227,8 @@ outputs_all:
- !reference [.commands, kibot] - !reference [.commands, kibot]
- !reference [.commands, neo] - !reference [.commands, neo]
- !reference [.commands, merge_libs] - !reference [.commands, merge_libs]
- ls Fabrication/
upload_job: upload_job:
stage: upload stage: upload