DATACMNS-1462 - Introduce Concourse.

This commit is contained in:
Greg Turnquist
2018-10-08 14:49:47 -05:00
parent 16a04d4dbb
commit 77bdf0aebe
10 changed files with 634 additions and 0 deletions

14
ci/build.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -euo pipefail
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
spring_commons_artifactory=$(pwd)/spring-commons-artifactory
rm -rf $HOME/.m2/repository/org/springframework/commons 2> /dev/null || :
cd spring-commons-github
./mvnw -Pdistribute -Dmaven.test.skip=true clean deploy \
-DaltDeploymentRepository=distribution::default::file://${spring_commons_artifactory}

20
ci/build.yml Normal file
View File

@@ -0,0 +1,20 @@
---
platform: linux
image_resource:
type: docker-image
source:
repository: openjdk
tag: 8-jdk
inputs:
- name: spring-commons-github
outputs:
- name: spring-commons-artifactory
caches:
- path: maven
run:
path: spring-commons-github/ci/build.sh

11
ci/test.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail
[[ -d $PWD/maven && ! -d $HOME/.m2 ]] && ln -s $PWD/maven $HOME/.m2
rm -rf $HOME/.m2/repository/org/springframework/commons 2> /dev/null || :
cd spring-commons-github
./mvnw clean dependency:list test -P${PROFILE} -Dsort

17
ci/test.yml Normal file
View File

@@ -0,0 +1,17 @@
---
platform: linux
image_resource:
type: docker-image
source:
repository: openjdk
tag: 8-jdk
inputs:
- name: spring-commons-github
caches:
- path: maven
run:
path: spring-commons-github/ci/test.sh