-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Concourse tasks to run unit and integration tests
- Note: Will probably need more changes to use correct Docker image
- Loading branch information
Jaskanwal Pawar
committed
Sep 18, 2018
1 parent
18e9a27
commit 8ec15d7
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -eux | ||
|
||
echo "Running tests for profile/environment: ${TEST_ENV}" | ||
echo "Running tests with command: ${TEST_COMMAND}" | ||
./gradlew "-Dspring.profiles.active=${TEST_ENV}" "${TEST_COMMAND}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
platform: linux | ||
image_resource: | ||
type: docker-image | ||
source: | ||
repository: cfidentity/uaa-postgresql | ||
|
||
inputs: | ||
- name: uaa | ||
|
||
run: | ||
path: uaa/ci/tasks/run-tests/task.sh | ||
|
||
params: | ||
TEST_ENV: ~ | ||
TEST_COMMAND: ~ |