mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
maven+marvin: Fix up the activation property
activation property marvin.config will attempt to deploy a zone again on running the marvin.test profile. This is unnecessary as marvin.setup already finishes deploying a zone. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
26d772f740
commit
f8bbd88a42
@ -57,7 +57,7 @@
|
|||||||
"startip": "60.147.41.2",
|
"startip": "60.147.41.2",
|
||||||
"endip": "60.147.41.254",
|
"endip": "60.147.41.254",
|
||||||
"netmask": "255.255.255.0",
|
"netmask": "255.255.255.0",
|
||||||
"gateway": "60.147.40.1"
|
"gateway": "60.147.41.1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"netmask": "255.255.255.0",
|
"netmask": "255.255.255.0",
|
||||||
@ -102,11 +102,11 @@
|
|||||||
"logger": [
|
"logger": [
|
||||||
{
|
{
|
||||||
"name": "TestClient",
|
"name": "TestClient",
|
||||||
"file": "/var/log/testclient.log"
|
"file": "/tmp/testclient.log"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "TestCase",
|
"name": "TestCase",
|
||||||
"file": "/var/log/testcase.log"
|
"file": "/tmp/testcase.log"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalConfig": [
|
"globalConfig": [
|
||||||
|
|||||||
44
setup/dev/local.cfg
Normal file
44
setup/dev/local.cfg
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing,
|
||||||
|
# software distributed under the License is distributed on an
|
||||||
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
# KIND, either express or implied. See the License for the
|
||||||
|
# specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
{
|
||||||
|
"dbSvr": {
|
||||||
|
"dbSvr": "localhost",
|
||||||
|
"passwd": "cloud",
|
||||||
|
"db": "cloud",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "cloud"
|
||||||
|
},
|
||||||
|
"logger": [
|
||||||
|
{
|
||||||
|
"name": "TestClient",
|
||||||
|
"file": "/tmp/testclient.log"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TestCase",
|
||||||
|
"file": "/tmp/testcase.log"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mgtSvr": [
|
||||||
|
{
|
||||||
|
"mgtSvrIp": "localhost",
|
||||||
|
"passwd": "password",
|
||||||
|
"user": "root",
|
||||||
|
"port": 8096
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -158,11 +158,6 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<marvin.config>${user.dir}/setup/dev/advanced.cfg</marvin.config>
|
<marvin.config>${user.dir}/setup/dev/advanced.cfg</marvin.config>
|
||||||
</properties>
|
</properties>
|
||||||
<activation>
|
|
||||||
<property>
|
|
||||||
<name>marvin.config</name>
|
|
||||||
</property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -182,7 +177,7 @@
|
|||||||
<arguments>
|
<arguments>
|
||||||
<argument>deployAndRun.py</argument>
|
<argument>deployAndRun.py</argument>
|
||||||
<argument>-c</argument>
|
<argument>-c</argument>
|
||||||
<argument>${marvin.config}</argument>
|
<argument>${user.dir}/${marvin.config}</argument>
|
||||||
<argument>-t</argument>
|
<argument>-t</argument>
|
||||||
<argument>/tmp/t.log</argument>
|
<argument>/tmp/t.log</argument>
|
||||||
<argument>-r</argument>
|
<argument>-r</argument>
|
||||||
@ -200,15 +195,10 @@
|
|||||||
<profile>
|
<profile>
|
||||||
<id>marvin.test</id>
|
<id>marvin.test</id>
|
||||||
<properties>
|
<properties>
|
||||||
<marvin.config>${user.dir}/setup/dev/advanced.cfg</marvin.config>
|
|
||||||
<tag>simulator</tag>
|
<tag>simulator</tag>
|
||||||
<test>test/integration/smoke</test>
|
<test>test/integration/smoke</test>
|
||||||
|
<marvin.config>${user.dir}/setup/dev/advanced.cfg</marvin.config>
|
||||||
</properties>
|
</properties>
|
||||||
<activation>
|
|
||||||
<property>
|
|
||||||
<name>marvin.config</name>
|
|
||||||
</property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -228,7 +218,7 @@
|
|||||||
<arguments>
|
<arguments>
|
||||||
<argument>--with-marvin</argument>
|
<argument>--with-marvin</argument>
|
||||||
<argument>--marvin-config</argument>
|
<argument>--marvin-config</argument>
|
||||||
<argument>${marvin.config}</argument>
|
<argument>${user.dir}/${marvin.config}</argument>
|
||||||
<argument>--load</argument>
|
<argument>--load</argument>
|
||||||
<argument>-a</argument>
|
<argument>-a</argument>
|
||||||
<argument>tags=${tag}</argument>
|
<argument>tags=${tag}</argument>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user