I am not sure what I am doing wrong? I can run the app locally in cloud9. gcloud info doesn't show me anything out of the ordinary... any help
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"
}
]
]
When firing of gcloud preview app deploy the whole process takes ~8 minutes, most of which is "updating service".
The deployment command automatically builds a container image by using the Cloud Build service and then deploys that image to the App Engine flexible environment. The container will include any local modifications that you've made to the runtime image. To programmatically deploy your apps, use the Admin API.
gcloudignore file to tell gcloud which files should be not be uploaded for Cloud Build, without it, it defaults to .
Should you choose to deploy your application in the cloud, there are generally speaking three options: infrastructure as a service (IaaS), platform as a service (PaaS), or software as a service (SaaS). Your choice depends on the specific needs for the application.
Follow following steps:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With