deploy-appengine | GitHub Action that deploys source code | Continous Integration library
kandi X-RAY | deploy-appengine Summary
kandi X-RAY | deploy-appengine Summary
This action deploys your source code to App Engine.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of deploy-appengine
deploy-appengine Key Features
deploy-appengine Examples and Code Snippets
Community Discussions
Trending Discussions on deploy-appengine
QUESTION
There are many answers to this question already, but they no longer work here in January 2021. All those answers come in 3 flavors:
- Set local machine timeout with something like
gcloud config set app/cloud_build_timeout 1600
then deploy withgcloud app deploy ...
- Use a
cloudbuild.yaml
file instead withtimeout: 1600s
bits in thegcloud app deploy
buildstep and the global configuration, then deploy withgcloud builds submit ...
- Per google's own docs, don't set
timeout: 1600s
in the cloudbuild file, but rather do a mashup of the previous 2 flavors with a build step includingargs: ['-c', 'gcloud config set app/cloud_build_timeout 1600 && gcloud app deploy']
None of them have any impact on the app deploy
build - it's stuck at 10mins. When using gcloud builds submit
, it results in 2 Cloud Builds being kicked off: one for the cloudbuild.yaml, and one for the app engine deployment using buildpack. The above solutions can impact the first build, but once that first build kicks off the second build (gcloud app deploy
, you can see at https://console.cloud.google.com/cloud-build in the Execution Details tab that the Timeout is still 10m.
IMO, solutions 2-3 are hacks since 1 doesn't work, but now that 2-3 don't work either, I'm looking for another hack. Does anyone have a solution which works in 2021? Since my app is using GAE Standard Environment, I can't prebuild an image - I'm stuck with Buildpack building my ruby app and pulling all the Gems every time, and this runs out the seemingly immutable 10m clock.
...ANSWER
Answered 2021-Jan-27 at 10:31You cannot change the timeout property in App Engine standard and it's always 10min. The workaround is to use App Engine flex and this way you can use the gcloud config set app/cloud_build_timeout TIME_SECONDS
.
There is a feature request to enable timeout edit for App Engine standard but seems still in progress.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install deploy-appengine
Clone this repo.
Create a new Google Cloud Project (or select an existing project).
Initialize your App Engine app with your project.
Enable the App Engine Admin API on your project.
Create a Google Cloud service account or select an existing one.
Add required roles to your service account.
Download a JSON service account key for the service account.
Add the following secrets to your repository's secrets: GCP_PROJECT: Google Cloud project ID GCP_SA_KEY: the downloaded service account key
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page