New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GAE buildpack is not able to determine zip file without .zip
extension
#172
Comments
Can you mention how you're deploying to GAE? |
I'm using Pulumi to deploy the app, but I believe that even with the gcloud cli and a zip archive as a source we'll see the same results. Pulumi like Terraform uses AppEngine Admin SDK under the hood. |
@xSAVIKx is right, we do fetch the code differently on GAE and GCF. On GAE we use a custom build step that runs the gcs-fetcher. I guess we would need to fix the bug in that image. |
@matthewrobertson, can you please pinpoint where and how we're starting the |
Just tried again. Here are the logs from Cloud Build build of the App Engine app (it hasn't even started the first pre-buildpacks step):
|
While deploying GAE standard service with a ZIP archive stored in the GCS I found that it's not capable of determining the archive type properly and just fails after trying to unpack
.tar
instead of.zip
3 times.At the same time, GCF buildpack is able to work with the same ZIP archive without any glitches.
I assume the reason behind such behavior is the usage of different buildpacks for GAE and GCF environments. And I assume that GAE uses
google.python.webserver
to unpack the archive while GCF usesgoogle.utils.archive-source
to do the same job.Can anyone please help me out understanding if that's the case and maybe give a direction on how this can be fixed?
The text was updated successfully, but these errors were encountered: