summaryrefslogtreecommitdiffstats
path: root/jjb/apex
AgeCommit message (Collapse)AuthorFilesLines
2018-11-27Revert "Fix typos in Apex jjbs"Tim Rozet2-20/+20
This reverts commit fca796f895e8c3e00fb4f7b7f0bfa2e366627db0. Change-Id: I5e96ae38519865dfb42c4134c09f5eb4be275225 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-26Fix typos in Apex jjbsCédric Ollivier2-20/+20
It replaces blocking-level by block-level [1]. https://docs.openstack.org/infra/jenkins-job-builder/properties.html Change-Id: I304ab122de3699401d2be92955e151e774206c07 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-19Apex: Fixes unset var checksTim Rozet1-2/+2
Var checks for unset required proper parameter expansion to avoid nounset. Change-Id: Ide5db47e2243c8aee0f97369bf3cd0673e7f4bd3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-19Apex: Fix OS_VERSION detectionTim Rozet1-0/+19
When we run deployments for snapshot creation we typically pass in the OS_VERSION var so we know what openstack version we are deploying with. However when we run a verify/gate job to ensure that the snapshot deploys work we do not have this variable, and need to detect it based on the OPNFV branch, or if the branch is master, the deploy scenario naming scheme. Change-Id: If1445dc564d2af59b9740391de56b821b78de0b5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-16Apex: Refactor snapshot pipeline for other typesTim Rozet7-72/+300
This patch changes snapshot related scripts to allow for more than just the current snapshot type of "csit". This allows us to add other snapshot types, including the functest type. The same snapshot.properties file will be used to store information for all types of snapshots. The snap cache folder structure will remain the same, but hold different types of snapshots in the same folders. These changes include renaming the URLs for the snapshot artifacts to reflect the snapshot type, but remains backwards compatible until enough promotions have occurred and other apex snapshot deployment scripts have been migrated to the new format. Change-Id: If3e47e700b5ad9c95418179042b85814fe389233 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-08RTD: Enable Gambia streamAric Gardner1-0/+8
Enable Gambia read the docs stream for all projects that have a gambia branch Also added edgecloud rtd job as it was missing Change-Id: I64d159cde0200871cd4ba3d2c071853c9bd502c1 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-11-01Apex: Fix functest docker tag in gate jobTim Rozet1-1/+1
Fixes passing quotes as the value for the variable, so now what is passed is just an empty string. Change-Id: I9abb681374934fe4cf7c8024118278674880f7e9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-31Disable Flex jobsTrevor Bramwell2-2/+2
Both flex PODs have been offline for a while. Disabling the Apex jobs scheduled on them will reduce the queue and they can be re-enabled once they come back online. Change-Id: I2f82379225ae6fc728fc655680e5ee8799a4bbbb Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-30[Apex] Move Functest Scenario selection to scriptTrevor Bramwell3-28/+22
When using 'shell' builder directly '{}' is interpreted as a JJB substitution. This can be escaped with '{{}}' but breaks due to Apex use of Jinja2. Moving the entire script to a shell fixes this issue. Change-Id: I874a45cf25ca69373275849f98c89c534f3de0bb Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-30Write the right default values in DOCKER_TAGCédric Ollivier2-2/+4
It avoids facing with wrong substitutions [1] [1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-gambia/23/console Change-Id: I4b8c990add51024d7984cd10668a33dd7c50c395 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-30Fix param serialization in apex jjbsCédric Ollivier2-2/+2
DEPLOY_SCENARIO wrongly contains DOCKER_TAG [1]. [1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-gambia/20/console Change-Id: I85ddd47e4c15b36f507684d6d7fb9b0d90347507 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-29Define DOCKER_TAG in Functest daily jobCédric Ollivier2-2/+2
It defines DOCKER_TAG as parameter in Functest daily job. It also fixes DOCKER_TAG default value in properties files and then complete the previous commit [1]. It should fix the current gate issues [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/64069/ [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-gambia/18/console Change-Id: Ia531ca68a455cc20294e123286062265b9b79d6f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-26Set empty strings in DOCKER_TAG by defaultCédric Ollivier3-2/+14
It let functest-alpine process branches right after [1]. [1] https://build.opnfv.org/ci/job/functest-apex-virtual-suite-master/241/console Change-Id: I6ed804fe9f3628f67421157433e09da3bcbf585c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-25Apex: Fix functest docker tag injectionTim Rozet1-0/+2
The file needs to at least exist for the inject to work in the case where the scenario is not rocky. Change-Id: I2fca0574d69c08a13d0cc797741b276281eb3600 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-24Apex: Change CSIT promotion start timesTim Rozet2-6/+6
Moving these jobs to start earlier so that the entire EST daytime job queue isn't full. Change-Id: I2cbf8f8fa448a7447b59230abe59d9e559b518c7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-23Merge "Run Functest hunter containers if Apex Rocky"Tim Rozet3-12/+29
2018-10-23Run Functest hunter containers if Apex RockyCédric Ollivier3-12/+29
It replaces Queens logics as it should be useless since new gambia jjbs have been created. From the time being, Apex jjbs run master containers which should work thanks to backward compatibility but vnfs are falsy skipped. [1]. It updates verify-jobs to run the right container (hunter in case of rocky). [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/373/console Change-Id: I0df483eb78092e8155dd288d3c86d10b7762e433 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-22Merge "Revert "Select the right Functest repos when master""Tim Rozet2-14/+4
2018-10-22Merge "Revert "Apex: Enable OS master clients with Tempest""Tim Rozet3-27/+0
2018-10-21Apex: Fix GS_URL path for snapshotsTim Rozet2-2/+2
The URL should not include the gs:// prefix Change-Id: I09d7c650f665379813eea5fbbfdbe91c1de2fabf Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-21Revert "Select the right Functest repos when master"Cédric Ollivier2-14/+4
This reverts commit 751002f537007f35a536959e4180ce7c48e18bf1. Change-Id: I4c7cef7f4296686fda70011e9bf840b114f11845 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-21Revert "Apex: Enable OS master clients with Tempest"Cédric Ollivier3-27/+0
This reverts commit 2e1815d026f209e46fcc7eb29a7d4a28a48b2354. Change-Id: Idff665fdc88c0936bf7b4fb0bb895d90553ca835 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-18Remove skip vote from passing jobs.Aric Gardner1-1/+0
I ran all the rtd jobs that were just created all the ones that got a +1 I have removed the skip vote these jobs will vote going forward Change-Id: Ia9a7749f758b96cf1b6a46f00d08a5de7f7d9bbe Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-18RTD jobs for all projectsAric Gardner1-0/+13
RTD jobs for all active projects All jobs start as non-voting. All rtd jobs are in their own file to faciliate future bulk changes: jjb/$project/$project-rtd-jobs.yaml All project have rtd pages https://opnfv-$project.readthedocs.io Change-Id: I776e41f968d38f08cb3187f743f69d5d6b697e8e Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-18Apex: Do not use apex branch in promote gs pathTim Rozet2-2/+2
When we promote artifacts we do not want to include the apex branch (for example "gambia") in the gs path URL for where snapshots are uploaded. We may use a different apex branch to promote older OS versions of snapshots, but we still want a unified url of just apex/<os_version>/<topology> for our snapshot artifacts. Change-Id: I7dfe40558ce05d04e1805884cd6a47c82220581e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-17Apex: Adds ability to force snapshot promotionTim Rozet2-2/+10
We want the ability to be able to force a promotion and skip CSIT. This patch introduces a variable we can use when manually triggering a promotion job to force promotion. The use case here is for HA scenarios we have no snapshots because CSIT always fails. We want to be able to force promotions for this case to at least have some snapshot available. Change-Id: I7e81b458f4169596929f032e9394695477fbb940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-16Apex: Fix csit job blockingTim Rozet2-0/+2
apex-virtual-{stream} is not being blocked and running at the same time while csit tests are running. This should stop it from running until the promotion job is finished. Change-Id: Ie164bbee08253a7e79892d36780b66fe0ad2cf97 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-16Apex: Fix csit deployments for queensTim Rozet1-2/+2
With changes to deploy scenario files for gambia, we still need the logic to pull in the right csit-env. That logic broke as it depended on DEPLOY_SCENARIO with the changes to scenario names. This patch fixes it to check openstack version (OS_VERSION) instead. Change-Id: Ie130efd0fc3cb7f09a3fa4e896ad461d24394777 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-15Apex: Fix scenario promote name for queensTim Rozet2-2/+2
Now that Gambia branch is used for queens promotion, scenario files use nofeature instead of using branch name. Change-Id: I76e8f851bc6ef337301d1367dcafd798b212bb38 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-15Apex: Fix pkg install for gambiaTim Rozet1-1/+1
Missed a check where we install packages based on old package convention. Change-Id: If1da8db9b10b81ea5825b7548509be29e08e6f91 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-12Merge "Update jenkins-job-builder to 2.2.1"Trevor Bramwell4-23/+23
2018-10-12Update jenkins-job-builder to 2.2.1Aric Gardner4-23/+23
jjb/lf-ci-jobs.yaml has jjb-version: 2.2.1 as a minimum change block-level to blocking-level: https://review.openstack.org/#/c/608092/ We will need to change this back once we move past jenkins-job-builder>2.5.0 Change-Id: I12d0f55ee3c2dad20340ebf0fa8428ee1ad8484c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-28Apex: Add ovn scenariosTim Rozet2-3/+36
Includes a minor fix to ipv6 rocky scenario. Change-Id: I55440dff2fcf7674d4a9c86d9dcb131c226e68ea Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-28Apex: Fixes branch checkingTim Rozet5-20/+15
With the move to upstream artifacts post-fraser the checks to use upstream artifacts were relying on BRANCH == 'master'. This doesn't scale as we preserve fraser functionality but add more branches like gambia. Therefore inversing the logic to accomodate for new branches. Change-Id: Ice17f6afd33744f44d253d320a194c3f6d02d8bf Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-27Apex: Add Gambia jobs and prepare for rockyTim Rozet5-21/+200
Adds Gambia daily/verify jobs and prepares to migrate master queens scenarios to rocky scenarios. Change-Id: I7bfe6202e00fd62c1e668f3a6f9b481b9fbca99d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-10Apex: Fixes promotion per Apex branchTim Rozet2-14/+158
Now that we branched for Gambia, we want Gambia code to handle promotion for Queens snapshots, while Apex master is responsible for rocky/master promotions. Change-Id: I6f4fffabd728d72fe9b6b2e5a983f6d8762272a9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-09Apex: Fix building for gambiaTim Rozet1-1/+1
The logic should have been checking for stable/fraser and didn't account for newer branches other than master. Change-Id: I1164ce57338ba1734aa68c98bfe22a8a5f4209ac Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-11Updated calipso scenario for masterIlia Abashin2-11/+22
Change-Id: I22c05b0cb2973e84b6352a0ab4e7e38132e909f9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-22Apex: Add SFC to dailyTim Rozet2-0/+44
Change-Id: I51e5ecce1e7e5ef851e3c031aeb7819c0712c72d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-21Apex: Fix verify blocking with csitTim Rozet1-2/+6
Make apex verify virtual deployment occur on the same node where apex-verify job is running. Block apex-verify from starting if csit promote is running. Change-Id: I86e76232003b509db516e8d78703d43d36456d14 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20CPERF: Install ODL tools and logTim Rozet2-0/+22
Adds pip installing odltools into the cperf container. CSIT jobs now fetch ODL and other OS logs via apex. Change-Id: I532d3a6fed156709cb305a9f7a6721d1db2eaebc Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20Apex: Add nosdn ipv6 to dailyTim Rozet3-1/+25
Adds ipv6 nosdn scenario to daily. Also includes a fix where the trailing new line in the template would be removed and fail jjb check in jenkins. Change-Id: I928f7b1cf12381cb2af3a8c7e4beb8e8014451c9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-15Apex: Add allinone snapshot jobTim Rozet2-0/+2
Job will allow us to promote all-in-one snapshots. Change-Id: I0d0bec8e7598219e17df32bb05a4e8d6efbc52dd Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10Apex: Fix enable-condition on verify gateTim Rozet1-1/+1
Change-Id: Id2ac2945af9a419303f21f74cca8eb513f90ce80 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10Apex: Allow deploying csit env in verifyTim Rozet1-2/+11
This patch allows us to run a gate job against csit environment, by doing something like: start-gate-scenario: os-nosdn-nofeature-noha-csit Change-Id: I3041404cdfdffe159cff33ecd72be93fe9383e10 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10Apex: Allow gating on allinone deploymentTim Rozet1-1/+14
This allows us to run a verify job on an all-in-one (control+compute) type of deployment. Change-Id: Ia4174c8eb5d55aaa05e63ddce59301e62b3a8a04 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10CPERF: CSIT updatesTim Rozet2-0/+16
Changes-Include: - OPENSTACK_TOPO is now decided dynamically - Make the containerized start/stop commands more simple - Include CSIT logging in CSIT promotion Change-Id: I4b178cfd95cf45b808ab9e82b317b729e5f3028f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-09Apex: Fix missing fetch jobTim Rozet2-2/+4
Change-Id: I4a14a7c6bc474b17b3bb04603187c18d0c8c1cf2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-09Apex: Use CSIT to gate snapshot promotionTim Rozet4-24/+150
Now that we have CSIT suite passing, we want to use that to gate our snapshot promotion rather than tempest. Change-Id: Ifddaf7921da15150a253021ee5ca64ab2fd438ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06Apex: add bgpvpn scenarios to dailyRicardo Noriega2-0/+44
Change-Id: I4039dba21e2c74bfecafbcc5dd04880ab6bea0a2 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>