forked from HariSekhon/DevOps-Bash-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gcloudignore
350 lines (333 loc) · 5.21 KB
/
.gcloudignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
#
# Author: Hari Sekhon
# Date: 2020-09-28 09:58:44 +0100 (Mon, 28 Sep 2020)
#
# vim:ts=4:sts=4:sw=4:et
#
# https://github.com/harisekhon/bash-tools
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/harisekhon
#
# ============================================================================ #
# . g c l o u d i g n o r e
# ============================================================================ #
# https://cloud.google.com/sdk/gcloud/reference/topic/gcloudignore
# ============================================
# Ignore uploading these to Google Cloud Build, Cloud Functions, App Engine etc.
#
# there is a much bigger list in the adjacent .gitignore, some of which may be worth porting in to here too
#
# XXX: tested, cannot use blacklists like in .dockerignore because this breaks uploading anything, regardless of the blacklist coming before or after the !whitelist items
# use of either * or .* breaks Google Cloud Functions upload which end up with empty zips even with !main.py and !requirements.txt whitelist exclusions before or after
# so this definitely doesn't support the features of .gitignore and .dockerignore
# *
# .*
# since .* doesn't work, unlike .dockerignore we must specify the common dot files to exclude below
# .git seems to be ignored by default judging by cloud build uploaded tarball size
.git/
.hg/
.svn/
.gcloudignore
.gitignore
.dockerignore
# descends directories matching basenames like .gitignore, doesn't need **/ prefix like .dockerignore
# CI stuff you'd usuall commit but don't want to upload - there are more dot files with auth that wouldn't commit borrowed from massive adjacent .gitignore further down in the dotfiles section
Jenkinsfile
azure-pipelines.y*ml
bitbucket-pipelines.y*ml
buddy.y*ml
codefresh.y*ml
shippable.y*ml
wercker.y*ml
gocd_config_repo.json
jenkins-job.xml
hadolint.y*ml
scalastyle_config.xml
yamllint/
# contains webhook URL which should not be committed publicly
buildkite-pipeline*.json
# ========================================
# Based on the massive adjacent .gitignore
git/
github/
gitolite*/
gitroot/
mercurial/
hg/
hgroot/
svn/
svnroot/
subversion/
dist/
node_modules/
vendor/
logs/
git/
github/
vagrant/
venv/
debs/
rpms/
*#*#
*.a
*.avi
*.bak
*.bak.*
*.bin
*.bkp
*.class
*.dump
*.flv
*.kdb
*.lock
*.local
*.log
*.macports-saved_*
*.mp3
*.mp4
*.mpeg
*.mpg
*.o
*.orig
*.out
*.part
*.pyc
*.pyo
*.stderr
*.stdout
*.swo
*.swp
*.tmp
*.wmv
*~
tmp.*
~*
# since .* doesn't work we must specify the common dot files to exclude below
.*.local
.*.env
.a
.activator/
.adobe
.agent.env
.aliaslists
.android/
.anyconnect
.ApacheDirectoryStudio/
.atftp_history
.atom/
.audacious/
.awless/
.aws/
.bash*
.cache
.cassandra/
.cbq_history
.ccm/
.CFUserTextEncoding
# Codefresh config contains API Key
.cfconfig
# Circle CI API Token stored in .circleci/cli.yml
.circleci/
.Codefresh/
.compiz
.conda/
.config
# contains repo_token / COVERALLS_REPO_TOKEN
.coveralls.yml
.cpan/
.cpanm/
.cups/
.data
.dbshell
.dbus
.dcos/
.DCOPserver_*
.devcenter/
.docker*
.dropbox/
.DS_Store
.dvdcss/
# contains things like auth tokens
.envrc*
.env*
.erlang.cookie
.evolution
.fluxbox/
.flyrc
.fontconfig
.fseventsd
.gaim/
.gem
.gimp-*
.github_actions_runner/
.gitk
.gmvault/
.gnome
.gnome2
.gnome2_private
.gnupg*
.gpg*
.gradle
.groovy
.gstreamer-*
.gvfs
.htoprc
.ICEauthority
.IdeaIC*
.idea
.inkscape-etc/
.ion3
.ipython/
.irb-save-history
.irb_history
# contains creds
.iredisrc
.ivy2/
.jline-jython.history
.kde
.kodos
.kube/
.ldapvi_history
.lesshst
.links2
.local
.m2/
.macports/
.macports/
.macromedia
.matplotlib/
.mcop
.mcoprc
.minikube/
.minishift/
.minishift.env
.mozilla
.mtools/
.mysql_history
.nbprofiler/
.neo4j_shell_history
.npm/
.octave_hist
.openoffice.org
.openoffice.org2
.oracle_jre_usage/
.ovftool.ssldb
.Qsync/
.parallel/
# PostgreSQL password file
.pgpass
# stores credentials
.pig_history
.pki
.pentaho/
.psql_history
.pulse
.puppet/
.pwm3
.PyCharm*/
.pylint*
.python*
.python-eggs/
.python_history
.qt
.qicon
.qnicon
# contains usernames and passwords
.rabbitmqadmin.conf
.RData
.recently-used
.recently-used.xbel
.rediscli_history
.Rhistory
.rnd
.rstudio-desktop/
.rbenv/
# 'rbenv local' $PWD version file
.ruby-version
.sbt/
.scala_history
.sdkman/
# Semaphore CI - contains auth token
.sem.yaml
.serverauth.*
.sh_history
.Skype
.snowsql/
# Snowflake password stored in plaintext in here
.snowsql/config
.spark*
.spark_history
.Spotlight-*
.spumux/
.sqlite_history
.sqlline/history
.ssh/
.ssh*
.subversion/
# stores creds
.subversion/auth
.svn
.swatch_script.*
.TemporaryItems
.terraform.d/
.terragrunt
.themes
.thumbnails
.tilda/
.tmux/
.tomboy
.tomboy.log
.Trash
.Trashes
.travis/
.vagrant
.vagrant.d/
.vboxclient*
.vim/
.viminfo
.vnc/
.wapi
.wget-hsts
.wine
.wireshark-etc/
.wireshark/
.wmii*
.Xauthority
.xine
.xmms
.xsession-errors
.zenmap-etc/pango/pangorc
Box Documents/
Desktop/
Documents/
Downloads/
drive/
Dropbox/
eclipse/
Google*Drive
mbox
Movies
Music
Qsync/
Pictures
vagrant/
venv/
VirtualBox VMs/
VirtualBoxShared
visualvm*
wordlists/
*.doc
*.docx
*.msg
*.pages
*.ppt
*.pptx
*.rtf
*.wpd
*.wps
*.xls
*.xlsx