Forums

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

how to deploy gradle spring boot application to GCP with pipeline

Deleted user July 8, 2019

Is there any example to show how to deploy a gradle spring boot application to GCP using pipeline?

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2019

Hi @[deleted] ,

You can use a new version of the pipe atlassian/google-app-engine-deploy:0.4.0.


To deploy Java Spring Boot application you should provide to pipe

DEPLOYABLES: 'build/staged-app/app.yaml' 

that available after gradle build command.

For example, your bitbucket-pipelines.yml can be:

image: atlassian/default-image:2

pipelines:
default:
- step:
name: Deploy app
script:
- pipe: atlassian/google-app-engine-deploy:0.4.0
variables:
KEY_FILE: $KEY_FILE
PROJECT: 'pipes-java-gradle-spring-boot'
DEPLOYABLES: 'build/staged-app/app.yaml'
# DEPLOYABLES: 'src/main/WEB-INF/appengine-web.xml' # or you can provide web.xml
VERSION: '${BITBUCKET_BUILD_NUMBER}'
EXTRA_ARGS: '--verbosity=debug'

 

Cheers,
Alex 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, compass learning path, get the most out of compass, internal developer platform, devex learning path, atlassian learning, transparent architecture, component catalog, improve dev experience, compass platform training

Elevate your skills and enroll in the Compass learning path today! 💻

This learning path offers short, self-paced courses to help software teams systematically manage components and services. Compass provides a unified interface for tracking distributed software architecture and team collaboration.

Learn more!
AUG Leaders

Atlassian Community Events