Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: (gcloud.app.deploy) app.yaml does not exist.

Danilo Zeni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2022

Hello,
I'm having problems configuring my pipeline, it says that the file app.yml doesn't exist, and it really doesn't exist, I'm following the tutorial but I can't get it to work, can anyone help me? my application is in node, and I want to make it work on google cloud.

I thank the collaboration of all

Capturar.PNG

 

Where is this folder '/opt/atlassian/pipeline/agent/build'

is it created automatically?

is the folder with my "npm install" files?

 

Could someone point me to some documentation that teaches how to configure the deployment of an application on node in google cloud?

 

1 answer

1 vote
Norbert Csupka
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 15, 2022

Hi Danilo,

Thanks for reaching out to Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

I'd like to inform you that how Pipelines works is that once you start the build, the build clones the repository under the /opt/atlassian/pipeline/agent/build directory

When you deploy from Bitbucket Pipelines to Google Cloud, it needs a "deployables" file, which is the "app.yaml" file by default, if you don't mention any other deployables file. 

You can read further about this Pipes on the following site: https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-google-cloud/

To be able to run a successful Google Cloud deployment, I'd like to suggest you to create and upload the "app.yaml" file to your repository's root direction.

Please let me know if that helps.

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

Chiekh ALLOUL
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2022

Hello,

I have the exact same problem, with the app.yaml file being at the root of the repository. I am struggling to get a dummy React app on GCP.


Any hints?

C.A

Norbert Csupka
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 20, 2022

Hi C.A.

This is sounds interesting,

Can I ask you to give me the error message what you get and also the output of "ls" from the Pipelines build?

Thank you,

Norbert

Danilo Zeni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2022

Hi Norbert,
Thank you very much for your attention, but I'm still not sure, so would this app.yml be my Dockerfile or my docker-compose.yml?

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 22, 2022

Hi @Danilo Zeni,

Please allow me to step in as Norbert is out of office.

I am not familiar with Google App Engine, but after checking Google documentation, the app.yaml file is a separate file to configure your App Engine app's settings:

You can check the following documentation also on deploy, so you can test the deployment from your local environment first (without the atlassian/google-app-engine-deploy pipe):

If you have any questions or issues with configuring the app.yaml, I would advise reaching out to App Engine support team:

@Chiekh ALLOUL, if you would like us to look into your issue, please create a new question via https://community.atlassian.com/t5/forums/postpage/board-id/bitbucket-questions

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events