Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved.
Licensed 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.
- remove the build from to
/export/tgrid/itests-deployer/cloudify-home
- move the new build into the same location
- copy
ec2-cloud.groovy
andec2-cloud.properties
from/export/tgrid/itests-deployer/Cloudify-iTests-Deployer/src/main/resources
to/export/tgrid/itests-deployer/cloudify-home/clouds/ec2
- copy
pre-bootstrap.sh
from/export/tgrid/itests-deployer/Cloudify-iTests-Deployer/src/main/resources
to/export/tgrid/itests-deployer/cloudify-home/clouds/ec2/upload/cloudify-overrides
- put a *.pem file in the upload folder of the used cloud
- fill in the credentials details in
ec2-cloud.properties
- make sure the license is valid and copy it to the cloud's cloudify-overrides dir (Big Data)
Note: make sure all groovy scripts (mysql,tomcat and all groovy scripts in itests-service) compiles with the new version. Possible solution: use mysql,tomcat from the updated cloudify-recipes.
-
cd into
/export/tgrid/itests-deployer/Cloudify-iTests-Deployer/src/main/groovy
-
(optional) change the mysql username and password to be used in the
deployer.properties
file -
run groovy with all the arguments e.g.
groovy itests_deployer.groovy 4980-74 2.6.0 m1 2 CLOUDIFY Cloudify-Regression **/BadUSMServiceDownAfterUninstallApplicationTest.class,**/DeploymentsControllerTest.class **/xen/**,**/*Abstract*,**/cloud/**,**/cli/cloudify/pu/**,**/cli/cloudify/AdminApiControllerTest**,**/cli/cloudify/security/** eu-west-1 dummy dummy dummy 2.6.0-SNAPSHOT 9.6.0-SNAPSHOT-20130609.b9483-871 2.6.0-SNAPSHOT-20130609.b4983-348 dummy
-
the argument list by order is:
- build number
- version
- milestone
- suite number (the number to divide the suite by)
- suite name
- suite type
- include tests regex
- exclude tests regex
- ec2 region
- byon machines
- branch name
- package name
- s3 cloudify publish folder
- XAP maven version
- Cloudify maven version
- maven local repository folder