summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/include-raw-vpp-maven-push.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-04-30VPP: add ubuntu1804 to maven push optionsEd Kern1-0/+13
Have to call out new ubuntu specifically for maven push script to deal with it properly. Change-Id: Id012ae87acc997279612e5785df89c8e3362f82c Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-17VPP: opensuse dpdk proper pull and pushEd Kern1-7/+7
Reinstitutes opensuse rpm package push and introduces proper opensuse dpdk pull Change-Id: Ie8f1f2f218bb5de1787d4f6c2f2a64fbaaed70fb Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-11VPP: drop opensuse from maven push for nowEd Kern1-7/+7
opensuse dpdk conflict causing issues..needs sep fixes Change-Id: I0d76533840005f65d1084d9c11a3ba68f7dedcef Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-05VPP: opensuse nexus repos now created reallyEd Kern1-1/+1
change opensusenotready to opensuse so it matches again Change-Id: Icfa39fd8363c5d4ca7b9f545cc2cd2b297ee0ce5 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-04VPP: added text to avoid broken opensuse maven pushEd Kern1-1/+1
Leaving the elif in place for easier LF testing Change-Id: I025920919083f7449b8701dde972e5df123a3277 Signed-off-by: Ed Kern <ejk@cisco.com>
2018-04-03VPP: Added opensuse to maven-pushEd Kern1-0/+7
On merge jobs we were not properly archiving opensuse rpms. I dont see it generating jars or srpms so only doing rpms for now. Change-Id: I7e33dbff1002e648da30db76a4cee370a29abef3 Signed-off-by: Ed Kern <ejk@cisco.com>
2017-05-23Make 1606 vpp jobs publish jvpp jar snapshotsMarek Gradzki1-7/+1
Hc2vpp expects vpp merge jobs publish jvpp jars. This patch restores that behaviour changed by https://gerrit.fd.io/r/#/c/6729/ Change-Id: I85798fca7ab1b936aa11e5d6656b632b0f5988c2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-24Don't forcibly hardcode maven locationAndrew Grimberg1-1/+1
It's bad form to hard code the path to maven in any of the build scripts. Doing so makes it difficult to switch back to using the dynamically installed maven system which makes the builds more flexible. Change-Id: Ide4e595c9e9f561bb404c2491e528b3129e2ecca Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-09-19Source common functions from jjbC.J. Collier1-73/+0
Now using !include-raw-escape to include maven push functions for vpp as done with honeycomb Change-Id: Iae34c2db057203c5ac0d5a0c8336e87725bbd394 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-08-17Possible fix for apt repo indexing.Ed Warnicke1-1/+1
According to: https://github.com/Tangresh/nexus-apt-plugin Adding a classifer may help, so we do that here. Change-Id: Ia19325ca07d289ca0043f2640d928daea052722e Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-17Fix artifactId and version of deployed jarsMarek Gradzki1-2/+2
Jar name can consist of more than two groups separated by a hyphen. Last group should be treated as a version, rest as artifact name. Examples: jvpp-registry-16.09.jar jvpp-16.09.jar Add example jar names to source to ease comprehension Change-Id: Ica0b490c4213224abc70774aa41c60e62f0360f0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-07-21Use maven from /optC.J. Collier1-7/+1
Change-Id: I6173e24be1efbabf9b9507af593210803f8fff21 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-17Revert "Create script to automate deployment"Ed Warnicke1-6/+78
https://gerrit.fd.io/r/#/c/1606/ This reverts commit afd303bc155a27d1ddccfc8add7d510c731decf5. Change-Id: Ie169e3cad3433953d6f21064ec90b33d6b2dc49a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-17Create script to automate deploymentC.J. Collier1-78/+6
* as per #24343 * re-factored to use common code from include-raw-vpp-maven-push and maven_push_functions.sh Change-Id: I197c114bcf61b0dd2ea81e2be0505793cf594e49 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-02Be less agressive with the setEd Warnicke1-1/+1
Change-Id: I221374b6515e145f4fc5a31e3c30192732e6aeab Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-02Fix propogation of build errors.Ed Warnicke1-1/+1
Change-Id: I3e600ab74f5290008489cdbaa1624559067ad8b2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-16Provide clarity as to when merge job fails are build or pushEd Warnicke1-0/+5
Merge jobs can fail because a build has failed, or because a push of artifacts has failed. This should make it clear which occurrred in the build logs. Change-Id: I77e2ed0c756104492ee7a16378a5445162406f40 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-13Fix for package pushxEd Warnicke1-1/+1
Change-Id: Iebfcd2973bb319be4db64eecc4e35b218fb25b3b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-13Fix reponamesEd Warnicke1-2/+2
Change-Id: I44c56b3c78deefdd91b1d9febfc015d9c2e927b2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-13Enable jobs for throttle branchesEd Warnicke1-16/+4
Change-Id: I70cd178f52480bcab2bd84b7bdb967f1799acdbd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-12Revert "Changes to accomodate vpp throttle branch."Ed Warnicke1-22/+10
This reverts commit 5d1d00330488903ae810de20bfd035fde9cdc25a. This reverts gerrit: https://gerrit.fd.io/r/#/c/1074/ Change-Id: I5d937a4486ae7426debefdfaf85019508253c3f0 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-11Changes to accomodate vpp throttle branch.Ed Warnicke1-10/+22
Change-Id: If3ea89cbd6970a53bad8c13900c2eb8f15a7708c Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-22fix for centos merge maven pushEd Warnicke1-1/+1
Change-Id: I16fd1580afa8fe229fc9ff15283f402333478fe2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-21Fix push_debEd Warnicke1-1/+1
Change-Id: Ie33def177bca89a25f4d7a007603b3822ba7f6c5 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-21Enable ubuntu1604 merge and push debs to repoEd Warnicke1-4/+22
Change-Id: I1d2ec5b4ac01f000fb180f1f82b6de2a6126f9e7 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-13Query RPM files directly using rpm for upload infoAndrew Grimberg1-9/+8
Instead of trying to figure out all the maven fields based upon the filename with possible failures that this can cause, instead, use the rpm command itself to query the built artifacts for the needed information. Also, .src.rpm should be the canonical name for source RPM files. Make sure that .srpm and .src.rpm are handled properly and they normalize to .src.rpm in nexus. Change-Id: I6b35c15e8e6b189a2144fe3cfb991e467933ad46 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-04-13Make rpm push handle SRPMsAndrew Grimberg1-5/+14
* Fix the rpm push to search out and push SRPMs * Fix the rpm push to actually push a file as it was referencing a bad variable * Fix up some minor linting issues Change-Id: I4d2e66ad52e593b71b969ab1b5faad254cc35e2d Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-04-12Have merge job push rpms to the yum repoEd Warnicke1-4/+22
Change-Id: I0d16b75d8e8770894577659cd9b6ae0fc2140db9 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-12Turn on multi-os merge jobsEd Warnicke1-11/+11
Change-Id: Iff99c3e8b8dadc6334b33fe5aff688102273fcb5 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-08Update vpp maven deploymentAndrew Grimberg1-3/+3
Update the vpp maven deployment script to use the correct repo and namespace Change-Id: If3da11885ea674131cc1fe5fd91d3ccaca8f5a83 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-10Make the script fail build if mvn deploy failsAndrew Grimberg1-1/+1
The script wasn't picking up a failed mvn deploy failure. This changes it so that we need an definite exit code of 0 to not fail the build. Change-Id: I094bf1e149f779061223496a0b2bc347a3705b5b Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-10Update the deployment repo and also detect failureAndrew Grimberg1-2/+8
A failed upload was not being detected and causing the job to fail. This fixes it so that if the maven upload fails we'll fail the build. Also, at Ed's request there is now a .dev repo for the regular merge time deb files so we need to push there and not to .release Change-Id: I08e01979c35c248f6e0fcc6c3b166f2148a9b9f0 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-10Do not double up the _amd64 for maven push scriptAndrew Grimberg1-1/+1
Change-Id: If6f686d44442a42e98e4d5d783a4c2d869c98023 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-10Fix up push script repoId selector and classificationsAndrew Grimberg1-5/+5
The settings files use a - separator for the repoIDs so we need to make sure that we're concatenating against a - instead of . Additionally we're tightening up the version classification of the pushed objects. This may not be 100% still but it should be better than what we were attempting previously. Change-Id: I726f9d87c3441357701ad79b7357a337c6636a42 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-09ENV var test for MAVEN_SELECTOR was invertedAndrew Grimberg1-1/+1
The script should be detecting on a null ENV var, not a non-null variable. In other words, the test was inverted. Change-Id: If5ee68301300ec363e171f99798c06daa1428ede Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-09Push artifactsAndrew Grimberg1-0/+78
Update to support pushing jar and deb artifacts Change-Id: I38552564e2dbf6dddfaca4a7a21cd800619829c2 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>