Hello everyone, first I would like to make it clear that I have no knowledge of the cloud. I have a PHP application that works locally, I’m trying to deploy it to a GCP project. I already created the project, but not exactly the steps I should take. Reading the documentation I realized that I should have created an app.yaml.
I have my project in Github, i also try to build from Github without success.
yaml file:
# Use the PHP 8.1 runtime
runtime: php82
# Defaults to "serve index.php"
entrypoint: serve public/index.php
env_variables:
## Put production environment variables here.
GOOGLE_STORAGE_BUCKET: "valoriza-arte-425514.appspot.com"
APP_KEY: YOUR_APP_KEY
APP_STORAGE: /tmp
VIEW_COMPILED_PATH: /tmp
SESSION_DRIVER: cookie
The gcloud app deploy command shows:
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build a9323dde-40f0-4a0d-beb0-a29e83c85082 status: FAILURE
I’ve already followed several suggestions but because I don’t really know what I’m doing, I don’t know if it makes sense or not. The application is simply a website with endpoints.
Thank you in advance