我有一个使用“github.com/gorilla/mux”的应用程序,我可以使用goapp deploy. 但我不能做同样的事情,gcloud preview app deploy因为我面临这个错误:
Beginning deployment...
Copying files to Google Cloud Storage...
Synchronizing files to [<googlecloudsdk.api_lib.app.cloud_storage.BucketReference object at 0x10514e790>].
File upload done.
Updating module [api]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [9] Deployment contains files that cannot be compiled: Compile failed:
2016/03/22 09:06:40 go-app-builder: build timing: 1×6g (42ms total), 0×6l (0 total)
2016/03/22 09:06:40 go-app-builder: failed running 6g: exit status 1
api.go:29: can't find import: "github.com/gorilla/handlers"
我希望能够做到这一点,因为我需要在合并时从 travisCI 进行部署,并且我想使用 service-client.json 进行授权。
有什么办法可以解决吗?
ABOUTYOU
凤凰求蛊
相关分类