Open korjavin opened 5 years ago
The issue is caused by the fact that .gcloudignore
gets automatically generated with .gitignore
in it which causes it to also ignore those files. However some of those files are necessary to the deployment in my case. This is strange implicit behavior. Adding something to .gitignore
should not change the cloud tooling implicitly.
The fix is to either remove that line from the .gcloudignore
or to turn off the feature entirely:
gcloud config set gcloudignore/enabled false
I am trying to deploy my go/http project as a function with a command like
.gcloudignore contains both
From the output :
Why it ignores vendor folder?