From f7a3bcd1fa02bb89b9d3c7202a7c6f4e2e604d2e Mon Sep 17 00:00:00 2001 From: Roger Martinez <31829545+rogerthatdev@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:09:16 -0700 Subject: [PATCH] Revert "fix(tests): add directory prune to int build config (#508)" This reverts commit dd69442a1ad1874d10b0b80d247b1f73661f164c. --- build/int.cloudbuild.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/build/int.cloudbuild.yaml b/build/int.cloudbuild.yaml index c19cb4c43..a2d941c48 100644 --- a/build/int.cloudbuild.yaml +++ b/build/int.cloudbuild.yaml @@ -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']