google-app-engine

Upload build folder in Google Cloud Build

痴心易碎 提交于 2020-12-11 22:15:12
问题 I'm trying to upload my React app to App Engine using Cloud Build but it upload all source files. Is it possible to only deploy the build folder using Cloud Build pipeline? Current pipeline: steps: # Install - name: 'gcr.io/cloud-builders/npm' args: ['install'] # Build - name: 'gcr.io/cloud-builders/npm' args: ['run', 'build'] # Deploy - name: "gcr.io/cloud-builders/gcloud" args: ["app", "deploy"] timeout: "1600s" 回答1: I assume that you want to only deploy the Build folder and not to upload

Upload build folder in Google Cloud Build

岁酱吖の 提交于 2020-12-11 22:09:57
问题 I'm trying to upload my React app to App Engine using Cloud Build but it upload all source files. Is it possible to only deploy the build folder using Cloud Build pipeline? Current pipeline: steps: # Install - name: 'gcr.io/cloud-builders/npm' args: ['install'] # Build - name: 'gcr.io/cloud-builders/npm' args: ['run', 'build'] # Deploy - name: "gcr.io/cloud-builders/gcloud" args: ["app", "deploy"] timeout: "1600s" 回答1: I assume that you want to only deploy the Build folder and not to upload

Upload build folder in Google Cloud Build

匆匆过客 提交于 2020-12-11 22:09:29
问题 I'm trying to upload my React app to App Engine using Cloud Build but it upload all source files. Is it possible to only deploy the build folder using Cloud Build pipeline? Current pipeline: steps: # Install - name: 'gcr.io/cloud-builders/npm' args: ['install'] # Build - name: 'gcr.io/cloud-builders/npm' args: ['run', 'build'] # Deploy - name: "gcr.io/cloud-builders/gcloud" args: ["app", "deploy"] timeout: "1600s" 回答1: I assume that you want to only deploy the Build folder and not to upload

Does Google App Engine Flex support Pipfile?

旧巷老猫 提交于 2020-12-10 04:30:29
问题 For App Engine Standard the explicitly state that they do not support Pipfiles and immediately block you from pushing your project if it contains a Pipfile. In searching the documentation, I don't see anything that mentions if Pipfile is supported or not for App Engine Flex. 回答1: App Engine Flexible (and App Engine Standard) do not support Pipfile / Pipfile.lock . https://cloud.google.com/appengine/docs/flexible/python/using-python-libraries says: Dependencies for python applications are

redirect all requests from one domain to another with Google App Engine but keep static routing rules in yaml

拥有回忆 提交于 2020-12-05 11:33:05
问题 I have a GAE app serving static files defined by rules in the yaml file under two different domain names as configured in DNS, an old one and a new one, but otherwise it's the same content served for each. I'd like to redirect requests from the old domain to the new domain. I've seen this question, but that loses the ability to use the static asset handlers in the yaml from what I can tell, and would have to set up static asset serving explicitly in my main.py I think. Is there a simple way

Cloud Build fails to deploy to Google App Engine - You do not have permission to act as @appspot.gserviceaccount.com

♀尐吖头ヾ 提交于 2020-12-01 07:59:25
问题 This morning I made a PR which triggered a Cloud Build for my staging enviroment but failed to deploy the results to GAE. The error was as follows: ERROR: (gcloud.app.deploy) PERMISSION_DENIED: You do not have permission to act as '[redacted]@appspot.gserviceaccount.com' Step #4: - '@type': type.googleapis.com/google.rpc.ResourceInfo Step #4: description: You do not have permission to act as this service account. Step #4: resourceName: [redacted]@appspot.gserviceaccount.com Step #4: