You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
834 B
28 lines
834 B
box: combient/java-mvn
|
|
build:
|
|
steps:
|
|
# Build Spring Boot Sample application
|
|
- script:
|
|
name: Maven install
|
|
code: mvn install
|
|
push:
|
|
steps:
|
|
# Push to public docker repo
|
|
- internal/docker-push:
|
|
username: $DOCKER_USERNAME
|
|
password: $DOCKER_PASSWORD
|
|
tag: latest
|
|
repository: $DOCKER_REPOSITORY
|
|
registry: https://index.docker.io/v1/
|
|
cmd: java -jar /pipeline/source/target/springbootdemo-0.0.1.war
|
|
deploy-accs:
|
|
steps:
|
|
# Deploy to Oracle Application Container Cloud
|
|
- peternagy/oracle-accs-deploy@1.0.1:
|
|
opc_user: $OPC_USERNAME
|
|
opc_password: $OPC_PASSWORD
|
|
rest_url: $REST_URL
|
|
domain: $IDENTITY_DOMAIN
|
|
application_name: springboot-accs-demo
|
|
application_type: java
|
|
file: springbootdemo-0.0.1.zip |