-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
39 additions
and
23 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
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 |
---|---|---|
|
@@ -27,4 +27,6 @@ publishing { | |
from components.java | ||
} | ||
} | ||
} | ||
} | ||
|
||
apply from: "$rootDir/indy-run.gradle" |
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
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,24 @@ | ||
apply from: "$rootDir/docker.gradle" | ||
|
||
def indy_version = project.ext.has('indy_version') ? ext.indy_version : "1.5.0" | ||
def indy_pool_folder_name = '.indy_client/' | ||
def indy_pool_docker_name = 'indy-cordapp.indy-pool' | ||
|
||
dockerRun { | ||
name indy_pool_docker_name | ||
image "teamblockchain/indy-pool:$indy_version" | ||
ports '9701:9701','9702:9702','9703:9703','9704:9704','9705:9705','9706:9706','9707:9707','9708:9708' | ||
daemonize true | ||
clean true | ||
} | ||
|
||
task cleanDefaultPool(type: Delete) { | ||
def home = System.getProperty("user.home") | ||
delete("$home/$indy_pool_folder_name") | ||
} | ||
|
||
test.dependsOn(dockerStopRun) | ||
test.dependsOn(cleanDefaultPool) | ||
|
||
clean.dependsOn(dockerStop) | ||
clean.dependsOn(cleanDefaultPool) |
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