Skip to content
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

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

Open
peterweb2005 opened this issue Dec 4, 2023 · 1 comment
Open

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

peterweb2005 opened this issue Dec 4, 2023 · 1 comment

Comments

@peterweb2005
Copy link

peterweb2005 commented Dec 4, 2023

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
Copy link
Author

peterweb2005 commented Dec 6, 2023

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

@JoeWang1127 JoeWang1127 transferred this issue from GoogleCloudPlatform/app-gradle-plugin Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants