Skip to content

Commit

Permalink
Revert "fix(tests): add directory prune to int build config (#508)"
Browse files Browse the repository at this point in the history
This reverts commit dd69442.
  • Loading branch information
rogerthatdev authored Oct 12, 2023
1 parent dd69442 commit f7a3bcd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@

timeout: 14400s
steps:
- id: prune unchanged directories
name: gcr.io/cloud-builders/git
entrypoint: bash
args:
- -c
- |
git fetch --unshallow
git diff origin/${_BASE_BRANCH}..origin/${_HEAD_BRANCH} --name-only > _changed_files
sed 's/\/.*/\//' _changed_files > _changed_folders
for d in */; do
if ! grep -q "^$d" _changed_folders && [[ "$d" != "test/" ]]; then
rm -rf $d;
fi
done
- id: prepare
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && prepare_environment']
Expand Down

0 comments on commit f7a3bcd

Please sign in to comment.