summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19Apex: Removes workaround route for ODL with CSITTim Rozet1-10/+0
This route was used as a hack for JIRA: APEX-112 Change-Id: Ia7afc95389ed4e3c7a4128318868bfe562b34b62 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Apex: More CSIT promotion fixesTim Rozet1-5/+4
Changes-Include: - Use 2 computes as required by ODL team - Get rid of checking JOB_NAME var for csit, and simply check if PROMOTE var is True - Pass PROMOTE all the way from top-down into deploy job - Use CSIT network settings file when deploying CSIT Change-Id: I56d953516ce690749634b474e553baad3a762364 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: Fix resources/images directory usage with deployTim Rozet1-3/+2
Change-Id: If50ad310049edca687da8e0acf412a7e1eacd2b6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: Update for master upstream deploymentsTim Rozet1-6/+21
Change-Id: I92635178ddc354dd7773cd372a34d46f5ee0bf2a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-12APEX: Fix gate check scenario detectionFeng Pan1-17/+2
- Change scenario parsing to allow k8s scenarios in gate jobs. - Remove scenario detection in shell scripts. Also changes network setting file for fd.io scenarios as we don't use separate config files any more. Change-Id: Icbcc6cb7b6b66c7cc43f5d6c58dd97730e41ea5f Signed-off-by: Feng Pan <fpan@redhat.com>
2018-03-28Apex: Updates promotion jobsTim Rozet1-1/+1
Change-Id: I37c7b8b6e4bd19ef94b9b42fe2e5e89cc3e2da21 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-15Apex: add support for deploying upstream onlyTim Rozet1-1/+8
Scenario names with 'upstream' in them will not download any artifacts and deploy from upstream. For now, this even applies to the apex python RPM for daily deployments. We will only use git repo for daily until after Fraser. Change-Id: I0da16dfde117ba6c1e7597294d8e4afc8501dd53 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-18Apex: stop removing apex tmp directoriesTim Rozet1-2/+0
The tmp directory no longer holds large files, and removing this while other jobs are running can cause build failures. Change-Id: I504d06e2e114dd1be4fe3790fcefaf97c724552c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-14Apex: Converts clean to use pythonTim Rozet1-1/+1
Change-Id: I2b7ee35500da4523a6cb872f89225fad6dd8af7f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-12Apex: remove relative paths for tmp build dirsTim Rozet1-4/+3
Change-Id: I3246aa7d7b26b2d79ba9bd23aba4f305eb47fd94 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-11Apex: remove any leftover tmp .build dirTim Rozet1-0/+1
Change-Id: Icac677ac9e17b4b4ae4e7fc82139587cc201bcb6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-05Apex: fixes image dir for deploy with dev buildsTim Rozet1-1/+1
Change-Id: I59523b6233ca48c2eb2d4b4934263f0114d8e7a8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-01Apex: Removes calling apex ci scripts for build/test/deployTim Rozet1-22/+11
We dont need to use the apex/ci directory anymore and the ci scripts should be in releng. A follow up patch will remove the ci/clean script usage. Change-Id: Ib2c7bd3d2dfee360bb13b42852ff2010a691a018 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Apex: remove leftover tmp dirsTim Rozet1-0/+2
Change-Id: I4a1da6ba1efe2b704f0109f63817021435d283b8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Apex: fix permissions on deployTim Rozet1-1/+1
Change-Id: I36066bf003b1504524a5b8143cceef7829b23ca8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Apex: fix daily deploys using rpmTim Rozet1-1/+3
Change-Id: Iba1b2f47e8ace4fb4a9eed80342fcb8950e848f8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-24Apex: Updates CI to use new rpm namesTim Rozet1-1/+0
Change-Id: I0455283ba94501119786ffbc3b1217bb71cc35c7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-08Apex: adds onos rpm back to upload/downloadTim Rozet1-1/+1
Change-Id: Ib71936bec70951dea7478c1dcf657c5f2581fdf6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-25Deploy 2 Computes if triggered by promote jobsJamo Luhrsen1-1/+1
Change-Id: I5431e1c86d9f56b5192880dc9e7eb6f2f0ab61ee Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-05-16Apex: fix clean cmds in deployTim Rozet1-5/+3
Change-Id: I7da324903df1cc0c26cfba4433748dab459bbeb1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: adds missing deploy env varsTim Rozet1-0/+4
Change-Id: I515afe7a8f230ebbece8ee4d99ca7744a6a35fb8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-10Allow Asynchronous Apex BuildsTrevor Bramwell1-134/+55
- Remove any build blockers on 'apex-build-*' jobs. - Adds script to download latest build artifacts before deployment. - Make each deploy download the needed artifacts before running. - ARTIFACT_VERSION now set to dev for verify builds to indicate tarball should be uploaded to artifacts repo - apex.yml jjb is now generated by using apex-jjb-renderer - scenarios are managed in scenarios.yaml JIRA: APEX-328 Change-Id: I4a51565686bd2011a310c3926d8260cd4641dca5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-04-07APEX: Change virtual compute ram to 7gbFeng Pan1-1/+1
Change-Id: I6f42ffe5fad41ac90830784d8a4ec8ee04eae7d2 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-07APEX: Remove setting of hugepagesFeng Pan1-5/+1
Change-Id: Ic482f75bb905082f503958c1be01c9cd7e68566a Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-06APEX: reduce hugepages and ram for virtual fdio/ovs deploymentsFeng Pan1-1/+5
Change-Id: Ifeea80111dd55785acbc6697ae216da4c8d3670a Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-05APEX: Reduce virtual ram on compute nodes for fdio/ovs scenariosFeng Pan1-1/+1
Change-Id: I7df2c6a6a940f49268146334cb7f77d3fffeb665 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-03Merge "Removing _l3 from Apex scenario names in master"Tim Rozet1-0/+6
2017-04-03Merge "Updating Apex ENV Var Names"Tim Rozet1-7/+7
2017-03-31Apex: Fixes regexp to match label names as wellTim Rozet1-1/+1
Change-Id: I42f8836320e4bce2f890aa4a17d59f53efab7f97 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-31Updating Apex ENV Var NamesDan Radez1-7/+7
- CONFIG and RESOURCES have been replaced by BASE and IMAGES in Danube Change-Id: I1b1d4e73b1f4e8a13d63bd199ec4c91e853d14a6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-30Removing _l3 from Apex scenario names in masterDan Radez1-0/+6
Change-Id: I9169434d3dc62c911d351f8238af2c5daf314d99 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-28Apex: disables vfio-pci for baremetal fdioTim Rozet1-6/+8
According to FDS folks, uio_pci_generic (default) should work with UCSB baremetal. We also hit a bug in UCSB where vfio-pci isn't working with VPP. Therefore falling back to uio_pci_generic. Change-Id: Id9a6fe5be91aaf8476292a46c15c6e876616f4a6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-17Apex: baremetal to use vfio-pci driver, adds nosdn-fdio to dailyTim Rozet1-0/+9
Change-Id: I298b09f654dfe5efa64df9dc287fd586fcdf131d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-08Disabling onos for danube releaseDan Radez1-1/+1
ONOS on Apex will not be supported in Danube Change-Id: I58979724df7f6fa359e9789458ac305965ce71b1 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-23Apex: fixes deploy with promote jobsTim Rozet1-4/+4
Change-Id: I6331f835ec20abeb5e001ccd7c29a76ad72c583c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-23Apex: Adds job for creating snapshots for FDIOTim Rozet1-2/+5
For now this is a manually triggered job, until there is a demand to produce it automatically. Only the snapshots are uploaded for this job and we are not updating snapshot properties file. We will move to making that more dynamic in the future. Change-Id: I3d8392c2c99a524fd20de82d5032c2d4557b045a Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-20Apex: Enables FDIO/VPP in daily jobTim Rozet1-14/+9
Change-Id: I6c06ecd40b5c2d57ca8f62fd52fe78267b4a8735 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-17APEX: Change virtual ram for ovs-dpdk and vpp scenarios to 14GFeng Pan1-0/+3
Change-Id: I997202032fd868802166fb84aa0f77b27abf28cd Signed-off-by: Feng Pan <fpan@redhat.com>
2017-02-13APEX: Add fdio specific network settings file to virtual deploymentsFeng Pan1-0/+2
Change-Id: I9bbcd1b801d10b6fab6b32b33372260ac2e65cae Signed-off-by: Feng Pan <fpan@redhat.com>
2017-02-10Apex: fixes issue with detecting proper gate scenarioTim Rozet1-1/+1
Change-Id: I5aaf203f3db5078e462007c78aa9ff13d102c70c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-09Apex: Adds gate scenario jobTim Rozet1-0/+15
Apex needs a way to run a gate job after basic scenarios (nosdn, odl-nofeature) pass. We need the capability to specify which scenario should be the gate. This patch allows us via a comment to specify 'start-gate-scenario: <scenario>' which will start a gate job to validate that scenario deploys and passes basic functest health check. Some drawbacks of this approach include only being able to validate a single scenario per comment + gerrit votes overriding (not true workflow/pipeline plugin). The positive is this is a fairly small CI change to enable some much needed verification. It will be the Apex committers responsibility to issue this comment post Jenkins +1 approval of pre-gate. Change-Id: I9a1364bb1cece8b35488d496789a5e83c707b32d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-08Apex: fixes missing sudo on route cmd for csitTim Rozet1-1/+1
Change-Id: Iffb93175cc253a471530571662a5b8fb3a00ff88 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-08Apex: adds host route for csit jobsTim Rozet1-0/+10
This route will let functest container access floating IPs on the overcloud when virtual deployments are used. Change-Id: I9c63239d4d224a141538e9d6f203f4902fe8752e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-02Apex: fixes csit promote deployment jobTim Rozet1-4/+4
Points deployment to local artifacts and not RPMs Change-Id: I6d65dd644b7e7d1d2f54738e30a56e5d0e75131f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-01Apex: Create promotion and verify job for Apex CSIT snapshotsNikolas Hermanns1-0/+3
Changes Include: - Adds a daily job to create Apex snapshot tarball if functest passes - snapshot artifact uploaded to artifacts.opnfv.org - snapshot artifcat info is stored in snapshot.properties - 3rd party job updated to deploy from snapshot - 3rd party install netvirt job updated to use updated sdnvpn tools JIRA: APEX-364 Depends-On: I792db0fac3f4e81969fe85c05fc298fe5af02537 Change-Id: I8a875c081d756d098173c0baf11c0b4e4956b9fd Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-08Apex: Updates deploy for new build/Danube and removes ColoradoTim Rozet1-1/+1
Change-Id: I6b8df28e5ae27c70f9de2c0346dee2e1828e8ab8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-23Apex using a different network settings file for masterDan Radez1-0/+2
Network settings file format has changed for master Change-Id: I3d6a30b5223ca9525a7e344db1550ee5bdfd7776 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-20Apex: removes opendaylight-sfc rpm from uploadTim Rozet1-1/+1
We no longer build a separate RPM for opendaylight-sfc, so this needs to be removed. Change-Id: I6dc10d4dbc1c42336f299e4b05955e95a67bb1a0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-08add http:// to rpm install pathJamo Luhrsen1-1/+1
Change-Id: I9b1d0a5bb9c6b84515ee6daecc9b2e1983c93c7d Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2016-09-08Apex: fix rpm latest pathTim Rozet1-2/+2
Change-Id: I78a67475956405193a55a1d8d13a93bfe913c8f5 Signed-off-by: Tim Rozet <trozet@redhat.com>