I have a scenario where I develop a GAE app in my machine (local), then commit it to Bitbucket, which has a pipeline integration with GCP.
My problem is a conflict in the file app.yaml.
In Bitbucket, I have to comment the application and version tags in app.yaml:
# application: devop-sportsys
# version: 1
So the pipeline process is sucessfull. Otherwise, the command gcloud shows this error:
gcloud app deploy -q app.yaml
ERROR: (gcloud.app.deploy) The [application] field is specified in file
[/opt/atlassian/pipelines/agent/build/app.yaml]. This field is not used by gcloud
and must be removed. Project name should instead be specified either by `gcloud
config set project MY_PROJECT` or by setting the `--project` flag on individual
But if I comment the tags, GAE Laucher locally doesn't reconize the project and I have to uncomment.
So I change the file app.yaml many times. When I change the file locally, git commit it to Bitbucket and the pipeline process fails.
- gcloud auth activate-service-account email@example.com --key-file DEVOP-SportSys-228f797382d8.json
- gcloud app deploy -q app.yaml
- gcloud app deploy -q queue.yaml
How to solve this inconvenience?
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...
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