我不确定我做错了什么?我可以在cloud9中本地运行应用程序。 gcloud info并没有向我展示任何与众不同的信息......任何帮助
xxxxx:~/workspace (master) $ gcloud preview app deploy --version v1
You are about to deploy the following modules:
- valued-vault-xxxxx/default (from [/home/ubuntu/workspace/app.yaml])
Deployed URL: [https://valued-vault-xxxxx.appspot.com]
Do you want to continue (Y/n)? Y
Beginning deployment...
Copying files to Google Cloud Storage...
Synchronizing files to [<googlecloudsdk.api_lib.app.cloud_storage.BucketReference object at 0x7f506914f790>].
File upload done.
Updating module [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [13] Errors were encountered while copying files to App Engine.
Details: [
[
{
"@type": "type.googleapis.com/google.rpc.ResourceInfo",
"description": "Conflicting SHA1 sum for file. Expected \"d4fc6996_1e0f9444_1f1f82b3_f1v2eef4_9d5d12345\" but received \"f7f38209_fa22bdf0_9e73e6ec_7f60a936_9efc1f1e\".",
"resourceName": "https://storage.googleapis.com/staging.valued-vault-xxxxx.appspot.com/f7f3d209fa25bcf09e73efec7f60a9369efc1f1e",
"resourceType": "file"
}
]
]
答案 0 :(得分:6)
请按照以下步骤操作:
答案 1 :(得分:0)
对不起。我的错。无论如何,我曾经使用Codeship部署到GAE。但是,即使在从Codeship删除项目后,它也没有删除Codeship - &gt; GAE身份验证 - 所以我收到了这个错误。我在删除代码后立即意识到这一点 - &gt; GAE连接帐户。事情正常。
简而言之,在我们更改部署环境之前删除所有以前的身份验证/部署服务。