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) (#655)

Co-authored-by: Michael Plump <plumpy@google.com>
  • Loading branch information
spinnakerbot and plumpy committed Mar 6, 2020
1 parent b03ffd2 commit a6fa3a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gcloudignore
@@ -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 a6fa3a7

Please sign in to comment.