This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
joid:ci_integration [2016/01/14 16:47] David Blaisonneau [Run CI deploy script without jenkins] |
joid:ci_integration [2016/01/26 14:21] (current) David Blaisonneau [Jenkins defaults] |
||
---|---|---|---|
Line 37: | Line 37: | ||
# Git URL to use on this Jenkins Slave | # Git URL to use on this Jenkins Slave | ||
export GIT_BASE=https://gerrit.opnfv.org/gerrit/$PROJECT | export GIT_BASE=https://gerrit.opnfv.org/gerrit/$PROJECT | ||
+ | |||
+ | # Project Name | ||
+ | export PROJECT=joid | ||
+ | |||
+ | # Place of jenkins workspace | ||
+ | export WORKSPACE=$HOME/workspace/joid-deploy-<scenario>/ | ||
+ | # in case of local script testing | ||
+ | export WORKSPACE=$HOME/joid/ | ||
+ | |||
</code> | </code> | ||
+ | |||
+ | |||
====Projects default==== | ====Projects default==== | ||
Line 66: | Line 77: | ||
# External network to create (name;type;first ip;last ip; gateway;network) | # External network to create (name;type;first ip;last ip; gateway;network) | ||
- | export EXTERNAL_NETWORK=ext-net;flat;192.168.0.2;192.168.0.253;192.168.0.1;192.168.0.0/24 | + | export EXTERNAL_NETWORK="ext-net;flat;192.168.0.2;192.168.0.253;192.168.0.1;192.168.0.0/24" |
# Disks to use by ceph by default (space separated list) | # Disks to use by ceph by default (space separated list) | ||
Line 72: | Line 83: | ||
# Disks to use by ceph by controllers (empty if same as CEPH_DISKS) | # Disks to use by ceph by controllers (empty if same as CEPH_DISKS) | ||
- | export CEPH_DISKS_CONTROLLERS= | + | export CEPH_DISKS_CONTROLLERS="" |
# Local lab config and Openstack openrc location | # Local lab config and Openstack openrc location | ||
Line 113: | Line 124: | ||
<code>source ~/deploy_params.sh</code> | <code>source ~/deploy_params.sh</code> | ||
* Get the script | * Get the script | ||
- | <code>wget https://git.opnfv.org/cgit/releng/tree/jjb/joid/joid-deploy.sh</code> | + | <code>wget https://git.opnfv.org/cgit/releng/plain/jjb/joid/joid-deploy.sh |
+ | chmod +x joid-deploy.sh</code> | ||
* Run the script | * Run the script | ||
<code>./joid-deploy.sh</code> | <code>./joid-deploy.sh</code> |