In my app, I have the following:

- app.yaml
- cloudbuild.yaml
---
I use the above for the first time to deploy the default service.

- app.qa.yaml
- cloudbuild_qa.yaml 

- app.staging.yaml
- cloudbuild_staging.yaml 

- app.prod.yaml
- cloudbuild_prod.yaml 

They all reside at the root of the app.

For instance, the cloudbuild_qa.yaml is as follows:

steps:
  - name: node:14.0.0
    entrypoint: npm
    args: ['install']
  - name: node:14.0.0
    entrypoint: npm
    args: ['run', 'prod']
  - name: 'gcr.io/cloud-builders/gcloud'
    args: ['beta', 'app', 'deploy', '--project', '$PROJECT_ID', '-q', 
'$_GAE_PROMOTE', '--version', '$_GAE_VERSION', '--appyaml', 'app.qa.yaml']
timeout: '3600s'

The Cloud Build works well, however, it's not respecting the `app.qa.yaml` 
instead, it always takes the default `app.yaml`.

Any idea what's happening? Do you know how to use the correct app.yaml file 
in such a case?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d81efeac-564f-484c-ad58-ea28643b19fen%40googlegroups.com.

Reply via email to