Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 the original author or authors. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Zsolt Haraszti | 0b790aa | 2016-05-12 22:33:14 -0700 | [diff] [blame] | 17 | import org.opencord.gradle.rules.* |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 18 | import org.yaml.snakeyaml.Yaml |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 19 | import org.yaml.snakeyaml.DumperOptions |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 20 | |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 21 | buildscript { |
| 22 | repositories { |
| 23 | maven { |
| 24 | url "https://plugins.gradle.org/m2/" |
| 25 | } |
| 26 | } |
| 27 | dependencies { |
| 28 | classpath "gradle.plugin.com.dorongold.plugins:task-tree:1.2.1" |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | apply plugin: "com.dorongold.task-tree" |
| 33 | |
| 34 | evaluationDependsOn(':maas') |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 35 | evaluationDependsOn(':onos-apps') |
| 36 | |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 37 | allprojects { |
| 38 | apply plugin: 'base' |
| 39 | apply plugin: 'de.gesellix.docker' |
| 40 | //apply plugin: 'com.tmiyamon.config' |
| 41 | |
| 42 | docker { |
| 43 | // dockerHost = System.env.DOCKER_HOST ?: 'unix:///var/run/docker.sock' |
| 44 | // dockerHost = System.env.DOCKER_HOST ?: 'https://192.168.99.100:2376' |
| 45 | // certPath = System.getProperty('docker.cert.path') ?: "${System.getProperty('user.home')}/.docker/machine/machines/default" |
| 46 | // authConfigPlain = [ |
| 47 | // "username" : "joe", |
| 48 | // "password" : "some-pw-as-needed", |
| 49 | // "email" : "joe@acme.com", |
| 50 | // "serveraddress" : "https://index.docker.io/v1/" |
| 51 | // ] |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | ext { |
| 56 | |
David K. Bainbridge | 094508e | 2016-11-15 17:23:51 -0800 | [diff] [blame] | 57 | // Deployment target config file (yaml format); this can be overwritten from the command line |
| 58 | // using the -PdeployConfig=<file-path> syntax. |
alshabib | 19c61df | 2017-02-14 11:25:22 -0800 | [diff] [blame] | 59 | deployConfig = project.hasProperty('deployConfig') ? project.getProperty('deployConfig') : './config/default.yml' |
David K. Bainbridge | 094508e | 2016-11-15 17:23:51 -0800 | [diff] [blame] | 60 | |
| 61 | println "Using deployment config: $deployConfig" |
| 62 | File configFile = new File(deployConfig) |
| 63 | def yaml = new Yaml() |
| 64 | config = yaml.load(configFile.newReader()) |
| 65 | |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 66 | // Upstream registry to simplify filling out the comps table below |
Zsolt Haraszti | a9f7250 | 2016-05-12 16:07:03 -0700 | [diff] [blame] | 67 | upstreamReg = project.hasProperty('upstreamReg') ? project.getProperty('upstreamReg') : 'docker.io' |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 68 | |
| 69 | // Target registry to be used to publish docker images needed for deployment |
David K. Bainbridge | 094508e | 2016-11-15 17:23:51 -0800 | [diff] [blame] | 70 | targetReg = project.hasProperty('targetReg') |
| 71 | ? project.getProperty('targetReg') |
| 72 | : config.docker && config.docker.registry |
| 73 | ? config.docker.registry |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 74 | : config.headnode.ip |
| 75 | ? config.headnode.ip + ":5000" |
David K. Bainbridge | 094508e | 2016-11-15 17:23:51 -0800 | [diff] [blame] | 76 | : 'localhost:5000' |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 77 | |
| 78 | // The tag used to tag the docker images push to the target registry |
David K. Bainbridge | 094508e | 2016-11-15 17:23:51 -0800 | [diff] [blame] | 79 | targetTag = project.hasProperty('targetTag') |
| 80 | ? project.getProperty('targetTag') |
| 81 | : config.docker && config.docker.imageVersion |
| 82 | ? config.docker.imageVersion |
| 83 | : 'candidate' |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 84 | |
| 85 | // Component table |
| 86 | comps = [ |
Jonathan Hart | 92e75ce | 2017-01-13 17:28:18 -0800 | [diff] [blame] | 87 | // ONOS 1.8.2 from the opencord Dockerhub |
| 88 | 'opencord/onos': [ |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 89 | 'type': 'image', |
| 90 | 'upstream': upstreamReg, |
Jonathan Hart | 92e75ce | 2017-01-13 17:28:18 -0800 | [diff] [blame] | 91 | 'name': 'opencord/onos', |
| 92 | 'digest': 'sha256:935da663c381393316e0c658d49dde10d90a7383e3d7c53271b1223cec31d44c' |
David K. Bainbridge | d54ca70 | 2016-07-13 22:27:12 -0700 | [diff] [blame] | 93 | ], |
Zsolt Haraszti | 3dbe616 | 2016-05-12 12:25:56 -0700 | [diff] [blame] | 94 | 'nginx': [ |
| 95 | 'type': 'image', |
| 96 | 'upstream': upstreamReg, |
| 97 | 'name': 'nginx', |
| 98 | 'digest': 'sha256:b555f8c64ab4e85405e0d8b03f759b73ce88deb802892a3b155ef55e3e832806' |
| 99 | ], |
| 100 | 'swarm': [ |
| 101 | 'type': 'image', |
| 102 | 'upstream': upstreamReg, |
| 103 | 'name': 'swarm', |
| 104 | 'digest': 'sha256:6ca9b40980e2fcdcd229900ec8933f3e92c14ead22c9404cb09736cb4f3a9248' |
| 105 | ], |
Scott Baker | a0a0e44 | 2016-10-10 20:58:22 -0700 | [diff] [blame] | 106 | 'xosproject/vsg': [ |
| 107 | 'type': 'image', |
| 108 | 'upstream': upstreamReg, |
| 109 | 'name': 'xosproject/vsg', |
| 110 | 'digest': 'sha256:18d1c6ef9767d8a41c9b51948776052d024d4e3294e5d1d6dde1a49112175d91' |
| 111 | ], |
Scott Baker | bceca9c | 2016-11-05 18:59:25 -0700 | [diff] [blame] | 112 | 'xosproject/xos-postgres': [ |
| 113 | 'type': 'image', |
| 114 | 'upstream': upstreamReg, |
| 115 | 'name': 'xosproject/xos-postgres', |
| 116 | 'digest': 'sha256:f2d31a50b8af7434ab07b1e54e99c1ff1e10d77d16a46e5d6933d3c0528f4820' |
| 117 | ], |
Jonathan Hart | 09dad6c | 2016-11-14 16:52:56 -0800 | [diff] [blame] | 118 | 'xosproject/xos-base': [ |
| 119 | 'type': 'image', |
| 120 | 'upstream': upstreamReg, |
| 121 | 'name': 'xosproject/xos-base', |
Zack Williams | 1b0e83f | 2017-02-01 14:35:30 -0700 | [diff] [blame] | 122 | 'digest': 'sha256:b621a58e8b7f44d9ec12811f76388fe602d8700acfc8b68d0972265e66ab6fee' |
Jonathan Hart | 09dad6c | 2016-11-14 16:52:56 -0800 | [diff] [blame] | 123 | ], |
Scott Baker | bceca9c | 2016-11-05 18:59:25 -0700 | [diff] [blame] | 124 | 'redis': [ |
| 125 | 'type': 'image', |
| 126 | 'upstream': upstreamReg, |
| 127 | 'name': 'redis', |
| 128 | 'digest': 'sha256:0fe5a7afa2c2154f37c8ab56a9a6c5023cb0405cc0e85b34d8dcc1de6c3f143e' |
| 129 | ], |
Scott Baker | 18ea0c3 | 2017-01-19 09:29:57 -0800 | [diff] [blame] | 130 | 'node': [ |
| 131 | 'type': 'image', |
| 132 | 'upstream': upstreamReg, |
| 133 | 'name': 'node', |
| 134 | 'digest': 'sha256:5757581a8ff7e08041512a54aa3f573d33fecdce81d603e48a759956cd99bdd3' |
| 135 | ], |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 136 | ] |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 137 | } |
| 138 | |
alshabib | 00c4b5d | 2016-06-17 17:26:10 -0700 | [diff] [blame] | 139 | // ---------------- Useful tasks ---------------- |
| 140 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 141 | task writeInventory(type: Copy) { |
| 142 | from 'ansible/cord-inv' |
| 143 | into 'genconfig' |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 144 | expand([ |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 145 | headnode_ip: config.headnode.ip, |
| 146 | headnode_user: config.headnode.ansible_user, |
| 147 | headnode_pass: config.headnode.ansible_ssh_pass, |
| 148 | headnode_port: config.headnode.ansible_ssh_port, |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 149 | ]) |
| 150 | } |
| 151 | |
| 152 | task writeYamlConfig { |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 153 | def outvar = config.common |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 154 | def outfilename = "genconfig/config.yml" |
| 155 | |
| 156 | DumperOptions options = new DumperOptions() |
| 157 | |
| 158 | options.setExplicitStart(true); |
| 159 | options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK) |
| 160 | options.setPrettyFlow(true); |
| 161 | options.setIndent(2); |
| 162 | |
| 163 | def yaml = new Yaml(options) |
| 164 | Writer outfile = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outfilename), "utf-8")) |
| 165 | |
| 166 | yaml.dump(outvar, outfile) |
| 167 | outfile.close() |
| 168 | } |
| 169 | |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 170 | |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 171 | task fetchUpstreamImages { |
Zsolt Haraszti | 3dbe616 | 2016-05-12 12:25:56 -0700 | [diff] [blame] | 172 | comps.each { name, spec -> if (spec.type == 'image') { dependsOn "fetch" + name } } |
| 173 | } |
| 174 | |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 175 | task fetch { |
| 176 | dependsOn fetchUpstreamImages |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 177 | } |
| 178 | |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 179 | task buildImages { |
| 180 | logger.info "Root project has nothing to build" |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 181 | } |
| 182 | |
| 183 | task publishImages { |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 184 | comps.each { name, spec -> if (spec.type == 'image') { |
| 185 | dependsOn "publish" + name |
| 186 | } |
| 187 | } |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 188 | } |
| 189 | |
| 190 | task publish { |
Zsolt Haraszti | 3dbe616 | 2016-05-12 12:25:56 -0700 | [diff] [blame] | 191 | dependsOn publishImages |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 192 | } |
| 193 | |
| 194 | tasks.addRule(new DockerFetchRule(project)) |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 195 | tasks.addRule(new DockerPublishRule(project, project(':maas').prime)) |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 196 | tasks.addRule(new DockerTagRule(project)) |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 197 | |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 198 | task CopyCord(type: Exec) { |
| 199 | dependsOn writeYamlConfig |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 200 | dependsOn writeInventory |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 201 | |
| 202 | executable = "ansible" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 203 | args = [ "-i", "genconfig/cord-inv", "-b", "--extra-vars", "@./genconfig/config.yml", "-m", "synchronize", "-a", "src='../../' dest='$config.common.cord_dir'", "head" ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 204 | } |
| 205 | |
| 206 | task ChownCord(type: Exec) { |
| 207 | dependsOn CopyCord |
| 208 | |
| 209 | executable = "ansible" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 210 | args = [ "-i", "genconfig/cord-inv", "-b", "--extra-vars", "@./genconfig/config.yml", "-m", "file", "-a", "state='directory' dest='$config.common.cord_dir' recurse='yes' owner='$config.headnode.ansible_user'", "head" ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 211 | } |
| 212 | |
| 213 | task PIprepPlatform(type: Exec) { |
| 214 | dependsOn CopyCord |
| 215 | dependsOn ChownCord |
| 216 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 217 | def ansible_cmd = "cd $config.common.cord_dir/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @$config.common.cord_dir/build/genconfig/config.yml prep-platform-playbook.yml" |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 218 | |
| 219 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 220 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 221 | } |
| 222 | |
| 223 | task PIdeployOpenStack (type: Exec) { |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 224 | def ansible_cmd = "cd $config.common.cord_dir/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @$config.common.cord_dir/build/genconfig/config.yml deploy-openstack-playbook.yml" |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 225 | |
| 226 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 227 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 228 | } |
| 229 | |
| 230 | task PIdeployONOS (type: Exec) { |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 231 | def ansible_cmd = "cd $config.common.cord_dir/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @$config.common.cord_dir/build/genconfig/config.yml deploy-onos-playbook.yml" |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 232 | |
| 233 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 234 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 235 | } |
| 236 | |
| 237 | task PIdeployXOS (type: Exec) { |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 238 | def ansible_cmd = "cd $config.common.cord_dir/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @$config.common.cord_dir/build/genconfig/config.yml deploy-xos-playbook.yml" |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 239 | |
| 240 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 241 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 242 | } |
| 243 | |
| 244 | task PIsetupAutomation (type: Exec) { |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 245 | def ansible_cmd = "cd $config.common.cord_dir/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @$config.common.cord_dir/build/genconfig/config.yml cord-automation-playbook.yml" |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 246 | |
| 247 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 248 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 249 | } |
| 250 | |
Zack Williams | 4fd3dcc | 2017-02-08 20:46:14 -0700 | [diff] [blame] | 251 | task PIrunDiag (type: Exec) { |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 252 | def ansible_cmd = "cd /opt/cord/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @/opt/cord/build/genconfig/config.yml collect-diag-playbook.yml" |
Zack Williams | 4fd3dcc | 2017-02-08 20:46:14 -0700 | [diff] [blame] | 253 | |
| 254 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 255 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 4fd3dcc | 2017-02-08 20:46:14 -0700 | [diff] [blame] | 256 | } |
| 257 | |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 258 | task postDeployTests (type: Exec) { |
| 259 | |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 260 | def ansible_cmd = "cd $config.common.cord_dir/build/platform-install; ansible-playbook -i inventory/head-localhost --extra-vars @$config.common.cord_dir/build/genconfig/config.yml pod-test-playbook.yml" |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 261 | |
| 262 | executable = "ssh" |
Zack Williams | 0620c93 | 2017-01-25 14:36:31 -0700 | [diff] [blame] | 263 | args = ["-p", "$config.headnode.ansible_ssh_port", "$config.headnode.ansible_user@$config.headnode.ip", ansible_cmd ] |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 264 | } |
| 265 | |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 266 | project('onos-apps').publishMavenRepoImage.dependsOn project(':maas').prime |
alshabib | c64cf7f | 2016-09-07 11:47:01 -0700 | [diff] [blame] | 267 | project(':onos-apps').deploy.dependsOn project(':maas').deployBase |
| 268 | |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 269 | project('onos-apps').publishMavenRepoImage.dependsOn project(':maas').prime |
| 270 | project(':onos-apps').deploy.dependsOn project(':maas').deployBase |
| 271 | |
| 272 | task PIdeployPlatform { |
| 273 | dependsOn CopyCord |
| 274 | dependsOn ChownCord |
| 275 | dependsOn project(':onos-apps').deploy |
| 276 | dependsOn project(':maas').deployBase |
| 277 | dependsOn PIprepPlatform |
| 278 | dependsOn PIdeployOpenStack |
| 279 | dependsOn PIdeployONOS |
| 280 | dependsOn PIdeployXOS |
| 281 | dependsOn PIsetupAutomation |
| 282 | } |
| 283 | |
| 284 | ChownCord.mustRunAfter CopyCord |
| 285 | PIprepPlatform.mustRunAfter ChownCord |
| 286 | PIdeployOpenStack.mustRunAfter PIprepPlatform |
| 287 | PIdeployONOS.mustRunAfter PIdeployOpenStack |
| 288 | PIdeployXOS.mustRunAfter PIdeployONOS |
| 289 | PIsetupAutomation.mustRunAfter PIdeployXOS |
| 290 | PIdeployPlatform.mustRunAfter project(':onos-apps').deploy |
| 291 | PIdeployPlatform.mustRunAfter project(':maas').deployBase |
Andy Bavier | beb89c0 | 2016-07-07 13:26:55 -0400 | [diff] [blame] | 292 | |
alshabib | 11b8e5c | 2016-08-29 15:36:36 -0700 | [diff] [blame] | 293 | task deploy { |
Zack Williams | 38d8c7f | 2017-01-23 07:35:36 -0700 | [diff] [blame] | 294 | dependsOn PIdeployPlatform |
Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 295 | } |
alshabib | b58aeab | 2016-06-17 16:47:02 -0700 | [diff] [blame] | 296 | |