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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

642 views 10 16
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