We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ef701 commit afcdddbCopy full SHA for afcdddb
build/int.cloudbuild.yaml
@@ -46,6 +46,7 @@ steps:
46
# Remove leaf folders without changes or non-tf resources
47
for d in `find . -type d -name 'test' -prune -o -links 2 -printf '%P\n'`; do
48
if ! grep -q "^$d" _changed_folders && [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]; then
49
+ find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit
50
rm -rf $d
51
fi
52
done
0 commit comments