GoogleCloudPlatform / appengine-plugins

A client Java library to manage App Engine Java applications for any project that performs App Engine Java application management. For example, the Maven, Gradle and Eclipse App Engine plugins, custom user tools, etc.
Apache License 2.0
41 stars 27 forks source link

[deploy] how to specify "no-cache" flag? #994

Closed peterweb2005 closed 2 months ago

peterweb2005 commented 10 months ago

as no-cache flag is required to solve the problem https://stackoverflow.com/questions/77181996/gcloud-build-failure-error-failed-to-initialize-analyzer-no-such-object

UPDATE

switch many configs, in order to run "gcloud app deploy --no-cache", but it only support java 8, and java 8 is not supported next month

peterweb2005 commented 10 months ago

sorry, how?

App Engine standard gen1 will reach End of Support on January 30, 2024, ie: less than 2 months

update

gcloud app deploy --no-cache src/main/webapp/WEB-INF/appengine-web.xml
SEVERE: Received exception processing xxx/appengine-web.xml com.google.apphosting.utils.config.AppEngineConfigException: appengine-web.xml does not contain a <threadsafe> element.
gcloud app deploy --no-cache build.gradle
ERROR: (gcloud.app.deploy) Gradle source deployment is not supported for Java8 GAE project.

update

this ok

gcloud app deploy --no-cache build\staged-app\app.yaml
suztomo commented 4 months ago

This seems to be resolved? I'll close this next week if that's the case.