summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-upload-artifact.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-16Apex: Refactor snapshot pipeline for other typesTim Rozet1-3/+1
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-09-28Apex: Fixes branch checkingTim Rozet1-5/+5
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-06-21Apex: more snapshot fixesTim Rozet1-2/+5
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-21Apex: Fix usage of gpg key importTim Rozet1-1/+3
Removes using source to call the gpg import script. source will execute the script in the current shell, which will exit the artifact upload. Adds checking to make sure we ignore any failure with running the script. Change-Id: I587cf9584f9fa8c4d315b7b2328a6c7c55ae3b88 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: Update for master upstream deploymentsTim Rozet1-11/+19
Change-Id: I92635178ddc354dd7773cd372a34d46f5ee0bf2a Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-24Apex: Updates CI to use new rpm namesTim Rozet1-6/+4
Change-Id: I0455283ba94501119786ffbc3b1217bb71cc35c7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-08Apex: adds onos rpm back to upload/downloadTim Rozet1-2/+2
Change-Id: Ib71936bec70951dea7478c1dcf657c5f2581fdf6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-01Apex: fixes snapshot promotion be variablesTim Rozet1-1/+4
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-05-16Apex: add ramdisk and kernel to uploadTim Rozet1-1/+1
Change-Id: I81e89f9fe313977d6a06c6283cc5301f672a77c3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes build directory in upload artifactTim Rozet1-2/+0
Change-Id: I5d3c5c76159a1bc4b83ef5855ad412962d00fcb6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fix apex upload for imagesTim Rozet1-2/+5
Change-Id: Ibff76b1ce7cb4e071e576fd111bfff8af2cc2021 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12Apex: fixes build directory assumption in upload artifactTim Rozet1-3/+2
Change-Id: Iae230e37137b0408a74ba74bd551a88dd6ffa076 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-10Allow Asynchronous Apex BuildsTrevor Bramwell1-38/+72
- 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-23Apex: fixes iso verify/uploadTim Rozet1-21/+26
Change-Id: I25baff8b74bf26903e5196f31b9f47dab94fd048 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-22Apex: fix iso verifyTim Rozet1-23/+22
Change-Id: I212437ebec64aa8521ad95c5b57a7824476a4580 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-19Apex: fixes iso verifyTim Rozet1-8/+13
Change-Id: I2aeca682d6543b36cd8b28f78580c4194db85453 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-18Adding iso verify to Apex buildsDan Radez1-10/+14
JIRA: APEX-377 Change-Id: I1e02fc602e8258e76f9447d05b09b17e55d0d25a Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-08Disabling onos for danube releaseDan Radez1-2/+2
ONOS on Apex will not be supported in Danube Change-Id: I58979724df7f6fa359e9789458ac305965ce71b1 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-23Apex: Adds job for creating snapshots for FDIOTim Rozet1-3/+6
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: fixes csit snap uploadTim Rozet1-1/+1
Change-Id: Ideb6302df40cae35637d9d764a7811532cf46d7b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-01Apex: Create promotion and verify job for Apex CSIT snapshotsNikolas Hermanns1-1/+11
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-12Apex: fixes build directory for build/uploadTim Rozet1-0/+2
Change-Id: Iaa6b60c1de8c80e2a3c582a478131b1d7fc2dc3f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-20Apex: removes opendaylight-sfc rpm from uploadTim Rozet1-2/+2
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-07-07Fix password for apex signingAric Gardner1-1/+1
Change-Id: Icd9dd9050f5eaee2733cacd925fb8c71c16b59d3 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06Fix for gpg-agent.Aric Gardner1-3/+3
I might need to force call an $(eval gpg-agent) Buuut I think this should work. Change-Id: I6b3311bc1a1f19d74f4668bfe717fdd67757fc72 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-06For artifact signing we need the releng repo.Aric Gardner1-1/+7
Forgot to clone the releng repo so that my script is avaliable Change-Id: I5e8658123140c0c173138e597730263753099503 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-05This will enable artifact signing for apex uploadsAric Gardner1-0/+41
sources gpg_import_key.sh which: -installs gpg2 -imports key -grabs proper key based on $NODE_NAME only tries to sign if the key is correctly imported otherwise it will skip signing and just do the upload Keys have only been created for lf intel and ericsson labs Keys are only unique per company Master pubkey has not been sent to the key server Or brought into the web of trust. Lets see that this works as I expected rather than having to go through the pain of revoking these keys. Change-Id: Ifa4bc4e11407c53f8174f6c64945949bf66d6535 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-05-27Apex: Fixes artifact uploadTim Rozet1-4/+9
Fixes include: - SRPM extension was wrong, causing SRPMs to not be uploaded correctly - No more redirecting stderr to stdout - More print statements to Jenkins Change-Id: Ib96bb1efd967d9510d14a2e63bdf7d97b5d07cb2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-26apex: Take builders out of jjbFatih Degirmenci1-0/+37
Having builders embedded in jjb makes maintenance harder than what it could be and error prone so the builders have been taken out. Apart from this, the upcoming change proposals will split yml files in 2, aligning with the rest and jobs in these files can reuse same builders when they are converted in shell scripts. This is the first change in series, trying to align job structure with the rest in order to ease the effort required to troubleshoot the deployments during release verification. The changes are - take builders out of jjb (this patch) - align the main CI jobs with the rest; 1 parent job per scenario/branch which controls triggering and execution of 3 downstream jobs; deploy, yardstick, functest - split yml file in 2; ci jobs ending in apex-ci-jobs.yml (daily) and project jobs ending in apex-project-jobs.yml. (verify, merge, build) Change-Id: I01f8bf351f0cbafbee1f41ec24ad5c2c6f21316f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>