Skip to content
This repository was archived by the owner on Jun 11, 2020. It is now read-only.
This repository was archived by the owner on Jun 11, 2020. It is now read-only.

Why vendor folder is ignored (go project) #47

@korjavin

Description

@korjavin

I am trying to deploy my go/http project as a function with a command like

gcloud functions deploy table-viewer --verbosity=debug --entry-point LambdaX --runtime go111 --trigger-http --set-env-vars AUTH_LOGIN=login,...

.gcloudignore contains both

go.sum
go.mod

From the output :

INFO: Using .gcloudignore file at [.../table-viewer/.gcloudignore].
DEBUG: Skipping file [go.mod]
DEBUG: Skipping file [go.sum]
DEBUG: Skipping file [.gitignore]
DEBUG: Skipping file [vendor]
DEBUG: Skipping file [vendor/golang.org]
DEBUG: Skipping file [vendor/golang.org/x]
DEBUG: Skipping file [vendor/golang.org/x/sys]
...

Why it ignores vendor folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions