summaryrefslogtreecommitdiffstats
path: root/jjb/apex
AgeCommit message (Collapse)AuthorFilesLines
2019-08-05Temporarily disable apex dailyTim Rozet2-4/+4
Temporarily disabling daily jobs while running some manual testing on LFPOD1. Change-Id: I5553e4921e95c67954f93416cab651b9f81e911b Signed-off-by: Tim Rozet <trozet@redhat.com>
2019-04-29Apex: Update build jobs with hunter streamTim Rozet2-0/+10
Change-Id: I5892755e8f91d2d9f485c291b7923bcf2a9b83a0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2019-04-26Apex: Add Hunter jobsTim Rozet3-263/+165
Prepare Hunter daily and verify job. Change-Id: I88662fa1c0c2a3703d42920c55cdaca6223e8d00 Signed-off-by: Tim Rozet <trozet@redhat.com>
2019-03-27Add a job to run new proposed_tests on Apexxudan2-138/+30
Change-Id: I97f324a07c63199dd06f2871d6809e42f29a2a73 Signed-off-by: xudan <xudan16@huawei.com>
2019-02-18Apex: Disable gambia, fraser dailyTim Rozet2-4/+4
It is no longer necessary to run these daily jobs. Change-Id: Ieacb051208053ad9ee0e3893056d0a882e0597b1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-11Apex: Fix injecting functest varsTim Rozet1-1/+1
Functest scenario script uses functest_scenario file intead of functest_tag as previously used. Change-Id: Ie0f8ad3a33abbae55769fe44ccdd6d2b62d2e622 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-11Apex: Fix functest docker tag passing for gateTim Rozet2-10/+3
The daily job moved to using the apex-functest-scenario script. This updates the gate jobs to use the same logic as well as updates the detection script to drop snapshot specific extensions like functest/csit which Apex uses to determine special deploy types. Change-Id: Id5f23d71401fc341c640b388f583b304b2ac6789 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-05Apex: add missing builders path to triggerTim Rozet1-0/+2
Verify job was missing this patch to be able to trigger on commit. Change-Id: I8b1c1149ea47496389144dec648f9c8f58e8d343 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-03Apex: Fix deployment detecting snapshot typeTim Rozet2-2/+2
With the refactoring of the promotion job, the Apex deploy was not detecting the snapshot type and using default upstream deployment. This change passes the snapshot type to the deploy script for detection. Change-Id: I76cf2b894955aa94bd70dc597305553dc9fe4c17 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-28Apex: Fix CSIT snapshot files pathTim Rozet2-6/+6
With the refactor of snapshot pipeline to include other snapshots, the path had changed to be generic for where temporary snapshot files are stored (from /tmp/csit to /tmp/snap). See this commit: https://gerrit.opnfv.org/gerrit/#/c/65157/4/jjb/apex/apex-fetch-snap-info.sh This patch fixes the path for triggering CSIT job. Change-Id: I63308d73c13e8c714078a38bc6cf9bb75cbeec5c Signed-off-by: Tim Rozet <trozet@redhat.com>
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>