I'm trying to deploy a nuxt application to gcloud. The pipeline runs and deploys just fine but I get 404 errors from the gcloud app instance.
gcloud app deploy app.yaml --project $GCLOUD_PROJECT
works just fine, as you can see I'm specifying app.yaml which configures all the routing information for nuxt (see app.yaml example below).
My thinking is that app.yaml is not being considered in the deploy, however reading the docs, I can't seen any specific key to define this as a variable.
- npm install
- npm run build
- pipe: atlassian/google-app-engine-deploy:0.2.1
# HOW TO I SPECIFY app.yaml as the app engine configuration?
- url: /_nuxt
- url: /(.*\.(gif|png|jpg|ico|txt))$
- url: /.*
Any help would be greatly appreciated. Cheers
Hi Andrew. You can you EXTRA_ARGS to specify different deployables:
Here is a similar question https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/GAE-deployment-queries/qaq-p/1043706
Also, we're working on adding a first class support for passing multiple deployable yml files to the pipe.
Hi Andrew. Just wanted to let you know that we've release the 0.3.0 version of the pipe with the support for multiple deployment configs. From now on, you can use the DEPLOYABLES variable to provide multiple yaml files:
script: - pipe: atlassian/google-app-engine-deploy:0.3.0 variables: KEY_FILE: $KEY_FILE PROJECT: 'my-project' DEPLOYABLES: 'app-1.yaml app-2.yaml'
You can also check out the docs for the new pipe version here https://bitbucket.org/atlassian/google-app-engine-deploy/src/master/README.md
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events