Skip to content

Commit 31ca3e5

Browse files
authored
Update int.cloudbuild.yaml
1 parent abbd514 commit 31ca3e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build/int.cloudbuild.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ steps:
3131
git diff origin/${_BASE_BRANCH} --name-only > _changed_files
3232
sed 's:[^/]*$::' _changed_files > _changed_folders
3333
sort -u -o _changed_folders{,}
34-
echo Changed folders:
34+
echo Folders with changes:
3535
cat _changed_folders
3636
3737
# Do not prune if changing tests themselves
@@ -49,9 +49,11 @@ steps:
4949
fi
5050
done
5151
52+
find . -empty -type d -delete
53+
5254
# Report remaining folders
5355
echo Folders in scope for tests:
54-
for d in */; do echo $d; done
56+
find . -type d -printf '%P\n'
5557
5658
- id: prepare
5759
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'

0 commit comments

Comments
 (0)