Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,936
Community Members
 
Community Events
176
Community Groups

Bitbucket To Google app engine Deployment Failed ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: WEB-IN

Edited

I would like to deploy BitBucket to Google App Engine, I have done the all configuartion using bitbucket-cloud/docs/deploy-to-google-cloud/ this link. I have done bitbucket-pipelines.yml as follows :-

image: atlassian/default-image:2
pipelines: default:
- step:
script:
- pipe: atlassian/google-app-engine-deploy:0.7.3 variables:
KEY_FILE: $KEY_FILE
PROJECT: 'evadev0010'
DEPLOYABLES: 'SlickErp/war/WEB-INF/appengine-web.xml'
VERSION: '11'
#BUCKET: 'gs://my-bucket'
IMAGE: 'gcr.io/my/image'
PROMOTE: 'true' STOP_PREVIOUS_VERSION: 'true'

and Also configured the PROJECT and KEY_FILE in the Repository variables. When I run the my pipeline deploy to google app engine getting following issue :-

Digest: sha256:ba2b161552a88f64dc0d3a5efe391aff52b06e16ca9b3933d0f0279869580465Status: Downloaded newer image for bitbucketpipelines/google-app-engine-deploy:0.7.3INFO: Setting up environment.echo "${KEY_FILE}" | base64 -d >> /tmp/key-file.json
gcloud auth activate-service-account --key-file /tmp/key-file.json --quiet --verbosity=warningActivated service account credentials for: [evadev0010@appspot.gserviceaccount.com]gcloud config set project evadev0010 --quiet --verbosity=warningUpdated property [core/project].WARNING: You do not appear to have access to project [evadev0010] or it does not exist.INFO: Starting deployment to GCP app engine...gcloud app --quiet deploy SlickErp/war/WEB-INF/appengine-web.xml --version=11 --image-url gcr.io/my/image --promote --stop-previous-version --verbosity=warningServices to deploy:descriptor:      [/opt/atlassian/pipelines/agent/build/SlickErp/war/WEB-INF/appengine-web.xml]source:          [/opt/atlassian/pipelines/agent/build/SlickErp/war]target project:  [evadev0010]target service:  [default]target version:  [11]target url:      [https://evadev0010.an.r.appspot.com]
Beginning deployment of service [default]...
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: WEB-INF/appengine-web.xml is required for this runtime. Deployment failed.

what is the issue i am getting below error :-

  ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: WEB-INF/appengine-web.xml is required for this runtime.
     Deployment failed.

1 answer

0 votes

@devevasoftwaresolutions first thing that I see the problem will be (now or later) is:

You do not appear to have access to project [evadev0010] or it does not exist

 The key_file that you are using may be inappropriate for this project. recheck that this account having this key file, has access to the project evadev0010

As for final error:
 I see in the Google App engine doc  that you can deploy your appengine-web.xml.

1) ensure that subpath of  appengine-web.xml is in the right path in

/opt/atlassian/pipelines/agent/build/

and accessible and corresponds to the docs
2) check your xml file. It looks like gcloud cannot recognize or find your xml configuration: the file in the path either does not exist or not valid.

3) also if nothing of that helps , ensure that you have done necessary steps for your precise project Deploying Java to google-app-engine  , perhaps it has some limitations and doc will help

Looking forward to hearing back from you,

Regards, Galyna

wrong place.. please remove 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events