X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fjenkins.rst;h=93c5bdf6eec32550604a5c9699e90c6a157af901;hb=3fabb06fd0e62b6175634002f8f5d841e11d8550;hp=ef38654e8fe4c1e7d138e674daff647d5e6a828c;hpb=d86320c12e060814bf9e8c90106d661b5cf7ede4;p=releng%2Fbuilder.git diff --git a/docs/jenkins.rst b/docs/jenkins.rst index ef38654e8..93c5bdf6e 100644 --- a/docs/jenkins.rst +++ b/docs/jenkins.rst @@ -1,3 +1,5 @@ +.. _odl-jenkins: + Jenkins ======= @@ -27,12 +29,18 @@ in the jenkins-master_ silo and this can be achieved by simply creating a .. code-block:: bash - git clone https://git.opendaylight.org/gerrit/releng/builder + git clone --recursive https://git.opendaylight.org/gerrit/releng/builder cd builder mkdir jjb/ +.. note: + + releng/global-jjb is a submodule of releng/builder repository which + requires a git submodule update --init or using --recursive with git clone. + `releng-global-jjb`_ + Where should be the same name as your project's git repo in -Gerrit. So if your project is called "aaa" then create a new jjb/aaa directory. +Gerrit. If your project is called "aaa" then create a new jjb/aaa directory. Next we will create .yaml as follows: @@ -163,9 +171,9 @@ triggered by verify-packer and merge-packer jobs. Please note that the combination of a Packer definitions from `vars`, `templates` and the `provision` scripts is what defines a given minion. For instance, a minion -may be defined as `centos7-java-builder` which is a combination of Packer OS image +may be defined as `centos7-builder` which is a combination of Packer OS image definitions from `vars/centos.json`, Packer template definitions from -`templates/java-buidler.json` and spinup scripts from `provision/java-builder.sh`. +`templates/builder.json` and spinup scripts from `provision/builder.sh`. This combination provides the full definition of the realized minion. Jenkins starts a minion using the latest image which is built and linked into the @@ -182,22 +190,76 @@ time for every job which runs on the image. After all of these scripts have executed Jenkins will finally attach the minion as an actual minion and start handling jobs on it. -Pool: ODLRPC +Flavors +^^^^^^^ + +Performance flavors come with dedicated CPUs and are not shared with other +accounts in the cloud so should ensure consistent performance. + +.. list-table:: Flavors + :widths: auto + :header-rows: 1 + + * - Instance Type + - CPUs + - Memory + + * - odl-standard-1 + - 1 + - 4 + + * - odl-standard-2 + - 2 + - 8 + + * - odl-standard-4 + - 4 + - 16 + + * - odl-standard-8 + - 8 + - 32 + + * - odl-standard-16 + - 16 + - 64 + + * - odl-highcpu-2 + - 2 + - 2 + + * - odl-highcpu-4 + - 4 + - 4 + + * - odl-highcpu-8 + - 8 + - 8 + +Pool: ODLVEX ^^^^^^^^^^^^ .. raw:: html - - + + + releng/builder/packer/templates/builder.json @@ -248,30 +310,6 @@ Pool: ODLRPC - - - - - - - - - - - - - - - - - - - -
Jenkins Labels
centos7-java-builder-2c-4g, - centos7-java-builder-2c-8g, centos7-java-builder-4c-8g, - centos7-java-builder-8c-8g, centos7-java-builder-4c-16g
Minion Template names
centos7-java-builder-2c-4g, - centos7-java-builder-2c-4g, centos7-java-builder-2c-8g, - centos7-java-builder-4c-8g, centos7-java-builder-8c-8g, - centos7-java-builder-4c-16g
Jenkins Labels
+ centos7-builder-2c-1g,
+ centos7-builder-2c-2g,
+ centos7-builder-2c-8g,
+ centos7-builder-4c-4g,
+ centos7-builder-8c-8g,
+ centos7-autorelease-4c-16g +
Minion Template names
+ prd-centos7-builder-2c-1g,
+ prd-centos7-builder-2c-2g,
+ prd-centos7-builder-2c-8g,
+ prd-centos7-builder-4c-4g,
+ prd-centos7-builder-8c-8g,
+ prd-centos7-autorelease-4c-16g
Packer Template
- releng/builder/packer/templates/java-builder.json
Spinup Script
releng/builder/jenkins-scripts/builder.sh
Packer Template
releng/builder/packer/templates/mininet-ovs-2.3.json
Spinup Script
releng/builder/jenkins-scripts/mininet-ubuntu.sh
- Ubuntu 14.04 (Trusty) system with ovs 2.3 and mininet 2.2.1 -
Jenkins Labels
ubuntu1404-mininet-ovs-25-2c-2g
Minion Template names
ubuntu1404-mininet-ovs-25-2c-2g
Packer Template
releng/builder/packer/templates/mininet-ovs-2.5.json
Spinup Script
releng/builder/jenkins-scripts/mininet-ubuntu.sh
- Ubuntu 14.04 (Trusty) system with ovs 2.5 and mininet 2.2.2 -
Jenkins Labels
ubuntu1604-mininet-ovs-25-2c-4g
Minion Template names
ubuntu1604-mininet-ovs-25-2c-4g
Packer Template
releng/builder/packer/templates/mininet-ovs-2.5.json
Spinup Script
releng/builder/jenkins-scripts/mininet-ubuntu.sh
Ubuntu 16.04 (Xenial) system with ovs 2.5 and mininet 2.2.1 @@ -334,7 +372,7 @@ Pool: ODLRPC
-Pool: ODLPUB - HOT (Heat Orchestration Templates) +Pool: ODLVEX - HOT (Heat Orchestration Templates) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ HOT integration enables to spin up integration labs servers for CSIT jobs @@ -343,10 +381,6 @@ on the project specific job templates using the variable `{odl,docker,openstack,tools}_system_image` followed by image name in the format ` -