split deploy target into deployBase and deployPlatform
Change-Id: Ic2549986e36acd743b838aaeb2c464c664fef9ab
diff --git a/build.gradle b/build.gradle
index 65b4c94..3b62215 100644
--- a/build.gradle
+++ b/build.gradle
@@ -143,7 +143,19 @@
tasks.addRule(new DockerTagRule(project))
tasks.addRule(new GitSubmoduleUpdateRule(project))
-task deploy {
+task deployBase {
+ // TODO this is a place-holder.
+ doFirst {
+ println "Using deployment config: $deployConfig"
+ File configFile = new File(deployConfig)
+ def yaml = new Yaml()
+ def config = yaml.load(configFile.newReader())
+ println "Config: $config"
+ println "Access some data in config:\n\tSeed server IP=${config.seedServer.ip}"
+ }
+}
+
+task deployPlatform {
// TODO this is a place-holder.
doFirst {
println "Using deployment config: $deployConfig"