summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-snapshot-deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-08-03Remove Apex jobsCédric Ollivier1-184/+0
Apex dropped a few years ago and false dependencies between Apex and Functest jobs forbid Functest maintainance. Change-Id: Ic63995325a281e0308abc28e9a89e8054c123391 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-16Apex: Refactor snapshot pipeline for other typesTim Rozet1-3/+13
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-08-01Apex: Fix stale GS pulls on artifactsTim Rozet1-3/+3
There seems to be some delay in updating the HTTP server for GS which causes an old version of snapshot to be used. This change replaces using HTTP with gsutil to ensure we get the latest artifacts Change-Id: Iccca64aa9e904221621dfb2cb7471d24a3b3f4d9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-30CPERF: Adds log collecting jobTim Rozet1-0/+1
Makes it so logs will always be collected even when CSIT itself fails. Change-Id: Ie854d92950edb515141343fd8b26216a010c55b4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-27CPERF: Disable host key check with ansibleTim Rozet1-1/+4
Also minor debug statements for snap deploy Change-Id: I9a6c2744ac9b9da920666f84c05e46af858613e6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-21Apex: Remove snapshot workaroundsTim Rozet1-5/+0
There's no need to install java or do the docker workaround anymore after fixes into Apex: https://gerrit.opnfv.org/gerrit/#/c/60053/ Change-Id: I3d7d5fcc066bfb4416fcd3404c89e6e814dbf31e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-19Apex: More snapshot fixesTim Rozet1-2/+3
Changes-Include: - Use correct csit env file with promote jobs - Ensure odl container starts when snapshots brought up - Use SDN_CONTROLLER_PASSWORD for ODL pass rather than hardcoding admin Change-Id: I910a4eefa2b4c621e3f82939bedee338fad91bf3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-16Run ODL CSIT on Apex from Cperf containerJamo Luhrsen1-22/+2
This patch adds the ability to deploy a cperf container and execute ODL csit against an OPNFV deployment with ODL. The cperf job to execute csit requires an RC file, SSH key to access OPNFV nodes, and a yaml descriptor file that contains per node information about each control/compute node. This patch also adds triggering the cperf CSIT job inside of the 3rd party ODL netvirt verification suite. That job uses Apex snapshots to bring up deployment (no undercloud). Additionally this patch includes some changes to allow multi version snapshots to work. Multiple snapshots are now being created for different OpenStack branches along with noha or HA type topologies. This patch includes the ability to detect the desired scenario as triggered by ODL Netvirt gerrit. Now in ODL netvirt gerrit a user may provide: "check-opnfv <OS version>-<noha|ha>" style syntax to initiate 3rd Party OPNFV CI on a particular OS version/HA setup. Change-Id: I51a27545c985ce74c1c72fe0933eb451939a8c05 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-07-12Apex: Allow for multi-version snapshotsTim Rozet1-2/+25
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-06-26Apex: Fixes to allow ODL snapshot update to workTim Rozet1-0/+4
Change-Id: I2e641434051e615cf04922a7349c7a7f1891caea Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: Fix IP overcloud parsing for snapshotTim Rozet1-1/+1
Sometimes there are more than 1 IP per line in the overcloudrc. So we make sure we only grab the first one. Change-Id: I565fbed902f00688607683cdc69d0edcba4dc743 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: Fixes blocking/snapshot checksTim Rozet1-3/+4
Change-Id: If6782ae3806fa9193d42bc3f640c000e3a723724 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-05-05Apex: Converts machine type for snapshot deploys to 'pc'Tim Rozet1-0/+1
Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-31Updating Apex ENV Var NamesDan Radez1-1/+1
- CONFIG and RESOURCES have been replaced by BASE and IMAGES in Danube Change-Id: I1b1d4e73b1f4e8a13d63bd199ec4c91e853d14a6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-13CSIT: Fixes bug with routes and compute nodesTim Rozet1-10/+14
Change-Id: I2b5625ce9458ff4438ffc556bb08c4d6a6ace03d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: adds route fix for functestTim Rozet1-0/+6
Change-Id: I3dae88e8af728bbcef0f0d4be27478cf7b8e06fc Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: fixes for functestTim Rozet1-2/+2
Since we have no 'installer' for CSIT snapshot deployments, we need to indicate to functest where the RC credentials are. This patch adds that, as well as modifying the IP configured for the host br-external bridge to be the GW IP for the external neutron network. This will allow floating IPs to work with the Functest container. Change-Id: Ie594de8cb2d7837abfad612b9ba49b0c02e7b2be Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex,CSIT: Fixes slaves and other bugsTim Rozet1-4/+3
Changes Include: - Fixes phase jobs to run on the same node - Removes using WORKSPACE/.tmp dir for unpacking snapshot since other phase jobs will need access to these files. Now just unpacks to cache directory - Fixes download for ODL. The previous way ODL was being downloaded was only if a manual patch-set job was run on the ODL gerrit. This patch changes the download to use the zip artifact automatically produced. - The zip artifact is converted to tar.gz and stored in /tmp/ for the install job to consume. Note: the conversion is done because the odl-pipeline install scripts only currently accept tar.gz. - Extra checks in install job to make sure required files exist and have been previously unpacked by deploy job. Change-Id: I38aad98cac247eb4af2839811388b119079bc7ba Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex: Fixes CSIT snapshot deploy scriptTim Rozet1-9/+12
Change-Id: I84d3a485594e9ca4c6e0230f2243458fe4450f40 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex,3rd_party: Fix workspace wipingTim Rozet1-2/+1
Workspace wiping was done in builders, which can be removed in favor of wiping workspace via the 'scm' entry in the job. For now we point at apex since we require apex repo to clean the host properly. We also need sdnvpn for the python code to upgrade ODL. Since we can only use a single scm at a time, we use apex in the jjb, and then manually clone sdnvpn in the builders that require it. Change-Id: I52274fc8fdd6b6c052e396c2a63dab5abcbf764e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-01Apex: Create promotion and verify job for Apex CSIT snapshotsNikolas Hermanns1-0/+154
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>