Skip to content

Commit

Permalink
Improvements for new Java Buildpack system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nebhale committed Mar 14, 2016
1 parent b391c81 commit 3a14f4b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
11 changes: 11 additions & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -e

export TERM=${TERM:-dumb}

git clone java-test-applications java-test-applications-built

pushd java-test-applications-built
./gradlew build -x test
popd
16 changes: 16 additions & 0 deletions ci/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
platform: linux

image_resource:
type: docker-image
source:
repository: cfje/java-test-applications

inputs:
- name: java-test-applications

outputs:
- name: java-test-applications-built

run:
path: java-test-applications/ci/build.sh
2 changes: 1 addition & 1 deletion groovy-application/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ applications:
- name: groovy-application
memory: 768M
instances: 1
path: .
path: '.'
buildpack: https://github.com/cloudfoundry/java-buildpack.git
stack: cflinuxfs2
2 changes: 1 addition & 1 deletion spring-boot-cli-application/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ applications:
- name: spring-boot-cli-application
memory: 768M
instances: 1
path: .
path: '.'
buildpack: https://github.com/cloudfoundry/java-buildpack.git
stack: cflinuxfs2

0 comments on commit 3a14f4b

Please sign in to comment.