summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-snapshot-create.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-16Apex: Refactor snapshot pipeline for other typesTim Rozet1-10/+21
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-09Apex: Use CSIT to gate snapshot promotionTim Rozet1-16/+2
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-06-21Apex: more snapshot fixesTim Rozet1-3/+9
Changes-Include: - Rename jobs to have 'os' in them to distinguish openstack branch - Fix uploading snapshots to upload from the create directory (where the artifacts are built and stored) - Fix the properties file so that it is created if one does not exist already upstream in the artifacts repo Change-Id: I0d75fd41585538cbe860274a082cb4051d8b05c5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-01Apex: Only use admin network for snapshot createTim Rozet1-3/+1
CSIT only uses admin network, so only collect that virsh def. Change-Id: I2bce08f004ca673cc8a9ecffd09e44f45b04eb76 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-01Apex: fixes snapshot promotion be variablesTim Rozet1-1/+5
Since job names changed during the migration to multijob, we need to update the scripts which assume the the snapshot type is part of the job name. Moving them to be jjb variables instead and not rely on job name. Change-Id: I18f3bd5488c36b2f82a7bc7cb80045ab6807fa57 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-23Apex: Adds job for creating snapshots for FDIOTim Rozet1-10/+13
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-09Apex: csit snapshot create more perms fixesTim Rozet1-0/+2
Change-Id: I8143a664a7d9829a048df2603df281ee78dda937 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-09Apex: removes files touched with by root in workspace for csitTim Rozet1-0/+1
Change-Id: I5e97a617a1e205ab7827b362d7e46e5f1792a578 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-08Apex: More fixes to csit snapshot createTim Rozet1-2/+3
Change-Id: I210e5148c8058488edab6f26ece42b011e0e618d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-08Apex: adds host route for csit jobsTim Rozet1-1/+1
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-07Apex: fixes snapshot create RC filesTim Rozet1-3/+3
Change-Id: I769bf1f4f6d0c399769422bc7a84a171c295cf2c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-01Apex: Create promotion and verify job for Apex CSIT snapshotsNikolas Hermanns1-0/+93
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>