Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

gcloud specify app.yaml for nuxt application

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.

Locally running

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. 




- step:
name: Build
- node
- npm install
- npm run build
- .nuxt/**
- step:
name: Deploy
- pipe: atlassian/google-app-engine-deploy:0.2.1
# HOW TO I SPECIFY app.yaml as the app engine configuration?


# app.yaml
runtime: nodejs10

instance_class: F2

- url: /_nuxt
static_dir: .nuxt/dist/client
secure: always

- url: /(.*\.(gif|png|jpg|ico|txt))$
static_files: static/\1
upload: static/.*\.(gif|png|jpg|ico|txt)$
secure: always

- url: /.*
script: auto
secure: always

HOST: ''
NODE_ENV: 'production'

Any help would be greatly appreciated. Cheers

2 answers

0 votes

Hi Andrew. You can you EXTRA_ARGS to specify different deployables:

EXTRA_ARGS: 'app.yaml'

Here is a similar question


Also, we're working on adding a first class support for passing multiple deployable yml files to the pipe. 

0 votes

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:

  - pipe: atlassian/google-app-engine-deploy:0.3.0
      PROJECT: 'my-project'
      DEPLOYABLES: 'app-1.yaml app-2.yaml'

You can also check out the docs for the new pipe version here

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

993 views 20 11
Read article

Community Events

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

Events near you