Skip to content

Commit

Permalink
chore(container builds): exclude large cache directories from GCB upl…
Browse files Browse the repository at this point in the history
…oad (#633)
  • Loading branch information
plumpy authored Feb 20, 2020
1 parent 3368f23 commit bfb10cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# By default, everything inside .gitignore (as well as the .git directory and
# the .gitignore file itself) is not uploaded to Google Cloud Build. But there's
# a bug in gcloud where it interprets '*/build' (i.e. all directories named
# 'build' that are one level below the root) as '**/build' (i.e. all directories
# named 'build' anywhere in the project.) This causes a problem because we have
# a Java package named 'build', so those source files don't get uploaded.
#
# Adding this file overrides the default, so everything gets uploaded, but we
# still want to exclude the large .gradle cache directory.
.gradle

0 comments on commit bfb10cb

Please sign in to comment.