summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex.yaml
AgeCommit message (Collapse)AuthorFilesLines
2018-12-03Apex: Fix deployment detecting snapshot typeTim Rozet1-1/+1
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 Rozet1-3/+3
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 Rozet1-10/+10
This reverts commit fca796f895e8c3e00fb4f7b7f0bfa2e366627db0. Change-Id: I5e96ae38519865dfb42c4134c09f5eb4be275225 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-26Fix typos in Apex jjbsCédric Ollivier1-10/+10
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-16Apex: Refactor snapshot pipeline for other typesTim Rozet1-25/+124
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-10-31Disable Flex jobsTrevor Bramwell1-1/+1
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 Bramwell1-14/+2
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 Ollivier1-1/+2
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 Ollivier1-1/+1
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 Ollivier1-1/+1
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 Ollivier1-0/+6
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-24Apex: Change CSIT promotion start timesTim Rozet1-3/+3
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 Rozet1-6/+9
2018-10-23Run Functest hunter containers if Apex RockyCédric Ollivier1-6/+9
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 Rozet1-7/+2
2018-10-22Merge "Revert "Apex: Enable OS master clients with Tempest""Tim Rozet1-9/+0
2018-10-21Apex: Fix GS_URL path for snapshotsTim Rozet1-1/+1
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 Ollivier1-7/+2
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 Ollivier1-9/+0
This reverts commit 2e1815d026f209e46fcc7eb29a7d4a28a48b2354. Change-Id: Idff665fdc88c0936bf7b4fb0bb895d90553ca835 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-18Apex: Do not use apex branch in promote gs pathTim Rozet1-1/+1
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 Rozet1-1/+5
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 Rozet1-0/+1
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-15Apex: Fix scenario promote name for queensTim Rozet1-1/+1
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-12Merge "Update jenkins-job-builder to 2.2.1"Trevor Bramwell1-10/+10
2018-10-12Update jenkins-job-builder to 2.2.1Aric Gardner1-10/+10
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 Rozet1-2/+32
Includes a minor fix to ipv6 rocky scenario. Change-Id: I55440dff2fcf7674d4a9c86d9dcb131c226e68ea Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-27Apex: Add Gambia jobs and prepare for rockyTim Rozet1-14/+152
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 Rozet1-7/+79
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-09-11Updated calipso scenario for masterIlia Abashin1-10/+20
Change-Id: I22c05b0cb2973e84b6352a0ab4e7e38132e909f9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-22Apex: Add SFC to dailyTim Rozet1-0/+40
Change-Id: I51e5ecce1e7e5ef851e3c031aeb7819c0712c72d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20CPERF: Install ODL tools and logTim Rozet1-0/+11
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 Rozet1-0/+20
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 Rozet1-0/+1
Job will allow us to promote all-in-one snapshots. Change-Id: I0d0bec8e7598219e17df32bb05a4e8d6efbc52dd Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10CPERF: CSIT updatesTim Rozet1-0/+8
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 Rozet1-1/+2
Change-Id: I4a14a7c6bc474b17b3bb04603187c18d0c8c1cf2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-09Apex: Use CSIT to gate snapshot promotionTim Rozet1-4/+51
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 Noriega1-0/+40
Change-Id: I4039dba21e2c74bfecafbcc5dd04880ab6bea0a2 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-01Apex: Enable Daily Fraser Dovetail scenariosTim Rozet1-131/+1
Dovetail team still needs this for their next release. JIRA: APEX-623 Change-Id: Idff3d5119bc0ae902595eb163b56a06c52c0d70b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-30Merge "Select the right Functest repos when master"Tim Rozet1-2/+7
2018-07-30Apex: Fix CSIT promotion blockingTim Rozet1-0/+1
Block on 3rd party odl netvirt jobs Change-Id: Icc67d13f9195ae3d62c77a909ee8e504c090bd40 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-29Select the right Functest repos when masterCédric Ollivier1-2/+7
Else OpenStack Rocky is verified by Queens upper-contraints. Change-Id: I5bfcb4895e64ab911c1131e8bfeb09eac2775754 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-20Apex: Change default verify scenarioTim Rozet1-1/+1
Since our default scenario os-nosdn-nofeature-ha is failing functest in verify, switch to os-nosdn-nofeature-noha which is passing. We want the lowest bar possible for initial patch set verification and then can use gate to verify more complicated deployments. Change-Id: I9788495de5ee728fa3c19264120315e562d2712d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-20Apex: Removes branch from functest scenarioTim Rozet1-0/+13
Branch is messing up functest detection of deploy scenarios. Therefore this patch removes the branch from the scenario before passing it to the test job. Change-Id: I1b59125941e839f1937cba565c73e39efb460573 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-18[Dovetail] Edit the job's name of Dovetail running on Apexxudan1-2/+2
Change-Id: I92b8bbef1a979c16a9c62f1affe43817214936a4 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-16Apex: add k8s deployment to dailyTim Rozet1-0/+10
Change-Id: I01ac2d25615f189851bc033d156aacc155233913 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Apex: Disable fraser dailyTim Rozet1-1/+1
Change-Id: Iad2503baca32175ff912c85dccd71791fc8156ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Apex: Update blocking for csit promotion jobTim Rozet1-0/+5
Ensure only one csit promotion job runs on a node at a time. Change-Id: Iab36f267f880347e0090fd87b91c9d7e28fbc4f4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Apex: Allow for multi-version snapshotsTim Rozet1-3/+10
This patch adds ability to manage multiple snapshot versions. We want to be able to have snapshots for noha and ha for multiple OS releases. This adds that capability and updates the deploy script to be able to deploy them. Also a user can specify which scenario to trigger with his ODL netvirt commit by doing 'opnfv-check <os version>-<ha|noha> Change-Id: I3884b41c86b55c187becfb83ef62f3431724d09e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-09Update Functest testcase list per tierCédric Ollivier1-1/+1
Change-Id: I905527d509597218927908be7752ca16b6ea2cc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-25Apex: Fixes blocking/snapshot checksTim Rozet1-1/+0
Change-Id: If6782ae3806fa9193d42bc3f640c000e3a723724 Signed-off-by: Tim Rozet <trozet@redhat.com>