| 
115 | 115 |           - run: |  | 
116 | 116 |               # Pre build report  | 
117 | 117 |               df -h > "${TMP_REPORT}/df-pre"  | 
118 |  | -              if [[ ! -e "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha256/" ]]; then  | 
119 |  | -                  exit 0  | 
120 |  | -              fi  | 
121 |  | -              find "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha256/" -maxdepth 1 -type d \  | 
122 |  | -                  | rev \  | 
123 |  | -                  | cut -d/ -f1 \  | 
124 |  | -                  | rev \  | 
125 |  | -                  > "${TMP_REPORT}/shas-pre"  | 
126 |  | -              if [[ ! -e "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha384/" ]]; then  | 
127 |  | -                  exit 0  | 
128 |  | -              fi  | 
129 |  | -              find "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha384/" -maxdepth 1 -type d \  | 
130 |  | -                  | rev \  | 
131 |  | -                  | cut -d/ -f1 \  | 
132 |  | -                  | rev \  | 
133 |  | -                  >> "${TMP_REPORT}/shas-pre"  | 
134 | 118 |             shell: bash  | 
135 | 119 |       report-post:  | 
136 | 120 |         type: string  | 
 | 
139 | 123 |               # Post build report  | 
140 | 124 |               df -h > "${TMP_REPORT}/df-post"  | 
141 | 125 |               (du -ch "%{{ inputs.temp-dir || runner.temp }}" | grep -E "[0-9]{2,}M|[0-9]G" || :) > "${TMP_REPORT}/du-post"  | 
142 |  | -              if [[ ! -e "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha256/" ]]; then  | 
143 |  | -                  exit 0  | 
144 |  | -              fi  | 
145 |  | -              find "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha256/" -maxdepth 1 -type d \  | 
146 |  | -                  | rev \  | 
147 |  | -                  | cut -d/ -f1 \  | 
148 |  | -                  | rev \  | 
149 |  | -                  > "${TMP_REPORT}/shas-post"  | 
150 |  | -              if [[ ! -e "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha384/" ]]; then  | 
151 |  | -                  exit 0  | 
152 |  | -              fi  | 
153 |  | -              find "${ENVOY_DOCKER_BUILD_DIR}/repository_cache/content_addressable/sha384/" -maxdepth 1 -type d \  | 
154 |  | -                  | rev \  | 
155 |  | -                  | cut -d/ -f1 \  | 
156 |  | -                  | rev \  | 
157 |  | -                  >> "${TMP_REPORT}/shas-post"  | 
158 | 126 |             shell: bash  | 
159 | 127 |       request:  | 
160 | 128 |         type: string  | 
@@ -295,7 +263,7 @@ jobs:  | 
295 | 263 |       with:  | 
296 | 264 |         gcs-bucket: ${{ inputs.gcs-cache-bucket }}  | 
297 | 265 |         key: ${{ fromJSON(inputs.request).config.ci.cache.bazel }}-${{ inputs.arch || 'x64' }}  | 
298 |  | -        path: ${{ runner.temp }}/bazel_root  | 
 | 266 | +        path: ${{ runner.temp }}/container/bazel_root  | 
299 | 267 | 
 
  | 
300 | 268 |     # HACK/WORKAROUND for cache scope issue (https://github.com/envoyproxy/envoy/issues/37603)  | 
301 | 269 |     - if: ${{ inputs.cache-build-image }}  | 
@@ -354,7 +322,7 @@ jobs:  | 
354 | 322 |       with:  | 
355 | 323 |         key: ${{ secrets.gpg-key }}  | 
356 | 324 |         passphrase: ${{ secrets.gpg-key-password }}  | 
357 |  | -        passphrase-path: "${{ runner.temp }}/gpg-passphrase"  | 
 | 325 | +        passphrase-path: "${{ runner.temp }}/container/gpg-passphrase"  | 
358 | 326 |         configured-passphrase-path: /build/gpg-passphrase  | 
359 | 327 | 
 
  | 
360 | 328 |     - run: |  | 
@@ -416,7 +384,7 @@ jobs:  | 
416 | 384 |         GITHUB_TOKEN: ${{ inputs.trusted && steps.appauth.outputs.token || github.token }}  | 
417 | 385 |         DOCKERHUB_USERNAME: ${{ inputs.dockerhub-username }}  | 
418 | 386 |         DOCKERHUB_PASSWORD: ${{ secrets.dockerhub-password }}  | 
419 |  | -        ENVOY_DOCKER_BUILD_DIR: ${{ runner.temp }}  | 
 | 387 | +        ENVOY_DOCKER_BUILD_DIR: ${{ runner.temp }}/container  | 
420 | 388 |         ENVOY_RBE: ${{ inputs.rbe == true && 1 || '' }}  | 
421 | 389 |         RBE_KEY: ${{ secrets.rbe-key }}  | 
422 | 390 |         BAZEL_BUILD_EXTRA_OPTIONS: >-  | 
 | 
0 commit comments