Is there any example to show how to deploy a gradle spring boot application to GCP using pipeline?
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:2pipelines: 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
It looks like you're new here. Sign in or register to get started.