X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fjenkins.rst;h=ef5e1462cdfc26b99a738708eb934b5658d8784b;hb=18cbfd14f4bda85b84c059373a9bd24e56954395;hp=e6f802a04e99eeb77a9e4a7bc92ecd2c9d2d6aa8;hpb=d7c3880fe4578a70a16e2237bb8be8a1742c0291;p=releng%2Fbuilder.git diff --git a/docs/jenkins.rst b/docs/jenkins.rst index e6f802a04e..ef5e1462cd 100644 --- a/docs/jenkins.rst +++ b/docs/jenkins.rst @@ -1,3 +1,5 @@ +.. _odl-jenkins: + Jenkins ======= @@ -202,50 +204,38 @@ accounts in the cloud so should ensure consistent performance. - CPUs - Memory - * - v2-standard-1 + * - odl-standard-1 - 1 - 4 - * - v2-standard-2 + * - odl-standard-2 - 2 - 8 - * - v2-standard-4 + * - odl-standard-4 - 4 - 16 - * - v2-standard-8 + * - odl-standard-8 - 8 - 32 - * - v2-standard-16 + * - odl-standard-16 - 16 - 64 - * - v2-highcpu-1 - - 1 - - 1 - - * - v2-highcpu-2 + * - odl-highcpu-2 - 2 - 2 - * - v2-highcpu-4 + * - odl-highcpu-4 - 4 - 4 - * - v2-highcpu-8 + * - odl-highcpu-8 - 8 - 8 - * - v2-highcpu-16 - - 16 - - 16 - - * - v2-highcpu-32 - - 32 - - 32 - Pool: ODLVEX ^^^^^^^^^^^^ @@ -253,17 +243,25 @@ Pool: ODLVEX
Jenkins Labels centos7-builder-2c-4g, - centos7-builder-2c-8g, centos7-java-builder-4c-8g, - centos7-builder-8c-8g, centos7-java-builder-4c-16g |
- Minion Template names centos7-builder-2c-4g, - centos7-builder-2c-4g, centos7-java-builder-2c-8g, - centos7-builder-4c-8g, centos7-java-builder-8c-8g, - centos7-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/builder.json |
- Spinup Script - releng/builder/jenkins-scripts/builder.sh |
+ Playbook + releng/builder/packer/common-packer/provision/baseline.yaml |
||
@@ -280,7 +278,7 @@ Pool: ODLVEX | Minion Template names centos7-robot-2c-2g |
Packer Template releng/builder/packer/templates/robot.json |
- Spinup Script releng/builder/jenkins-scripts/robot.sh |
+ Playbook releng/builder/packer/provision/robot.yaml |
||||
@@ -294,27 +292,38 @@ Pool: ODLVEX | ||||||||
Jenkins Labels ubuntu1404-mininet-2c-2g |
- Minion Template names ubuntu1404-mininet-2c-2g |
- Packer Template - releng/builder/packer/teamplates/mininet.json |
- Spinup Script releng/builder/jenkins-scripts/mininet-ubuntu.sh |
+ Jenkins Labels ubuntu1604-mininet-ovs-25-2c-2g |
+ Minion Template names ubuntu1604-mininet-ovs-25-2c-2g |
+ Packer Template releng/builder/packer/templates/mininet-ovs-2.5.json |
+ Playbook releng/builder/packer/provision//mininet-ovs-2.5.yaml |
|
- Basic Ubuntu 14.04 (Trusty) system with ovs 2.0.2 and mininet 2.1.0 + Basic Ubuntu 16.04 (Xenial) system with ovs 2.5 and mininet 2.2.1 | ||||||||
Jenkins Labels ubuntu1404-mininet-ovs-23-2c-2g |
- Minion Template names ubuntu1404-mininet-ovs-23-2c-2g |
- Packer Template releng/builder/packer/templates/mininet-ovs-2.3.json |
- Spinup Script releng/builder/jenkins-scripts/mininet-ubuntu.sh |
+ Jenkins Labels ubuntu1604-mininet-ovs-26-2c-2g |
+ Minion Template names ubuntu1604-mininet-ovs-26-2c-2g |
+ Packer Template releng/builder/packer/templates/mininet-ovs-2.6.json |
+ Playbook releng/builder/packer/provision//mininet-ovs-2.6.yaml |
|
- Ubuntu 16.04 (Xenial) system with ovs 2.5 and mininet 2.2.1 + Ubuntu 16.04 (Xenial) system with ovs 2.6 and mininet 2.2.1 + | +||||||||
Jenkins Labels ubuntu1604-mininet-ovs-28-2c-2g |
+ Minion Template names ubuntu1604-mininet-ovs-28-2c-2g |
+ Packer Template releng/builder/packer/templates/mininet-ovs-2.8.json |
+ Playbook releng/builder/packer/provision//mininet-ovs-2.8.yaml |
+ |||||
+ Ubuntu 16.04 (Xenial) system with ovs 2.8 and mininet 2.2.1 | Jenkins Labels centos7-devstack-2c-4g |
Minion Template names centos7-devstack-2c-4g |
Packer Template releng/builder/packer/templates/devstack.json |
- Spinup Script releng/builder/jenkins-scripts/devstack.sh |
+ Playbook releng/builder/packer/provision/devstack.yaml |
|||
@@ -337,7 +346,7 @@ Pool: ODLVEX | Jenkins Labels centos7-docker-2c-4g |
Minion Template names centos7-docker-2c-4g |
Packer Template releng/builder/packer/templates/docker.json |
- Spinup Script releng/builder/jenkins-scripts/docker.sh |
+ Playbook releng/builder/packer/common-packer/provision/docker.yaml |
|||
@@ -349,22 +358,10 @@ Pool: ODLVEX | ||||||||
Jenkins Labels ubuntu1404-gbp-2c-2g |
- Minion Template names ubuntu1404-gbp-2c-2g |
+ Jenkins Labels ubuntu1604-gbp-2c-2g |
+ Minion Template names ubuntu1604-gbp-2c-2g |
Packer Template releng/builder/packer/templates/gbp.json |
- Spinup Script releng/builder/jenkins-scripts/ubuntu-docker-ovs.sh |
- |||
- Ubuntu 14.04 (Trusty) node with latest OVS and docker installed. Used by Group Based Policy. - | -||||||||
Jenkins Labels ubuntu1604-gbp-2c-4g |
- Minion Template names ubuntu1604-gbp-2c-4g |
- Packer Template releng/builder/packer/templates/gbp.json |
- Spinup Script releng/builder/jenkins-scripts/ubuntu-docker-ovs.sh |
+ Spinup Script releng/builder/jenkins-scripts/gpb.sh |
||||
@@ -529,6 +526,29 @@ To install from a tag, like 1.4.0:
$ cat jjb/requirements.txt
-e git+https://git.openstack.org/openstack-infra/jenkins-job-builder@1.4.0#egg=jenkins-job-builder
+Updating releng/builder repo or global-jjb
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Follow these steps to update the releng/builder repo. The repo uses a submodule from
+a global-jjb repo so that common source can be shared across different projects. This
+requires updating the releng/builder repo periodically to pick up the changes. New
+versions of jjb could also require updating the releng/builder repo. Follow the
+previous steps earlier for updating jenkins-jobs using the
+`builder/jjb/requirements.txt |
||||||||
Job Template integration-patch-test-{stream} |
- Gerrit Trigger test-integration |
- |||||||
- | -||||||||
Job Template integration-patch-test-{stream} |
Gerrit Trigger test-integration |
@@ -777,178 +788,64 @@ TODO: Document test-{project}-{feature} and test-{project}-all.
|||||||
Job Template integration-multipatch-test-{stream} |
+ Gerrit Trigger multipatch-build |
+ |||||||
+ This job builds a list of patches provided in an specific order, and finally builds + a distribution from either provided patch or latest code in branch. + For example if someone leaves the following comment in a patch: + multipatch-build:controller=61/29761/5:45/29645/6,neutron=51/65551/4,netvirt:59/60259/17 + the job will checkout controller patch 61/29761/5, cherry-pick 45/29645/6 and build controller, + checkout neutron patch 51/65551/4 and build neutron, checkout latest netvirt code, + cherry-pick 59/60259/17 and build netvirt, finally it will checkout latest distribution + code and build a distribution. The resulting distribution is stored in Nexus and the URL + is stored in a variable called BUNDLE_URL visible in the job console. + This job also accepts a gerrit topic, for example: multipatch-build:topic=binding-tlc-rpc, + in this case the job will find all patches in the topic binding-tlc-rpc for the projects + specified in the BUILD_ORDER parameter and will build all projects from the first a patch + has been found, for successive projects the branch HEAD is used if no patch is found. + The job uses patch numbers to sort patches in the same project. + Use multipatch-build-fast (vs multipatch-build) for building projects fast (-Pq). + This job should not alter Gerrit votes for a given patch, nor will do anything with the + given patch unless the patch is added to the build list. + | +