summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/packagecloud_push.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-01-26Skip VPP build for merge jobs with Gerrit ID != git HEAD.Dave Wallace1-4/+19
- Since merge jobs are serialized after the patches have been merged into git, all merge jobs which do not have the same Gerrit ID as git HEAD are redundant. Skip them to save useless cycles and to reduce the size of the build queues when multiple patches are merged in a short amount of time. - This also fixes the issue with packagecloud packages containing different contents then the associated Gerrit ID when built & pushed in this state. Change-Id: I822492bd1d523576373bb268258c181a9c5edb42 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-11-12Fix package_cloud push of vpp-ext-depsDave Wallace1-3/+6
- Fix regression in previous change to packagecloud_push.sh Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Idfb47bd49bc59467ba3f28499edcdd41a00d04ce
2020-11-10Fix packagecloud_push.sh upload failure for vpp-ext-depsDave Wallace1-3/+22
- When a new vpp-ext-deps version is created, the packagecloud_push.sh script will declare a failure for merge jobs if the package already has been pushed by another job running in parallel. Since vpp-ext-deps will be automatically rebuilt by the VPP build, there is no reason to fail the merge job if the packagecloud push fails for the vpp-ext-deps package. Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I96edc6948b7f8b654cc66154412e5eb00927266a
2020-10-13Clean up vpp jenkins scripts & docker dirDave Wallace1-32/+52
- Remove docker/vpp Dockerfile definitions and colateral files for image now being build by https://gerrit.fd.io/r/c/ci-management/+/28022 - Remove opensuse support which has been elided from the vpp build in https://gerrit.fd.io/r/c/vpp/+/28999 - Remove unused scripts. - Output script name marker for all jjb scripts following LFIT practices. - Remove old/unused output from scripts. - Add logic to use vpp-ext-deps download cache in the executor images to speed up build jobs. - Add copyright notifcations to modified files without an existing copyright. - Make all vpp/docs jobs use '-{stream}-{os}-{executor}' suffix in their names. - Consolidate executor logging into setup_executor_env.sh and call it first for all jobs. Change-Id: I4ffb67ed476659f0127ca8c84f20a305d06149bf Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-10-12Promote vpp debian-9 jobs from beta to production.Dave Wallace1-0/+5
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I99905d7a00b11d81715789af64774b375bd404d7
2019-02-19Fix opensuse packagecloud push failures.Paul Vinciguerra1-1/+4
For an example failure, see: https://jenkins.fd.io/job/vpp-merge-master-osleap15/2443/console Change-Id: I84a05512b1a7d5ef0e8fce963e3917f42929605e Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2018-09-28Use os-release for opensuse infoEric Ball1-6/+7
Puppet, and therefore facter, are not officially supported on OpenSUSE, and currently not available for OpenSUSE 15. Using the os-release file to get the version info should be a viable alternative. Change-Id: Id4787d9b836a783792e5e5ae3b895e87b95f08cf Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-09-16Make sure to install facter on OpenSuseEd Warnicke1-0/+5
Change-Id: I7fdd34157f2e37f32fec818a5a744f06c4c54437 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-15Add packagecloud push for OpenSuse.Ed Warnicke1-0/+5
Change-Id: I401270ae9603393917823a0d9d0200fc63704f4d Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-09-12Configure script to look in home directoryVanessa Rene Valderrama1-1/+1
Configuring the script to look in the home directory for the packagecloud files to allow the script to work in the containers and the openstack environments Change-Id: Ibfad7111b87ed570d8cdca9b6243b0ab2e848483 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-07-17Temporary fix for sorting out reposEd Warnicke1-1/+1
Change-Id: Ie05ed97210c41a0339f2e72abffdd3ae563e67a0 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-04-23Modify the location of the packagecloud filesVanessa Rene Valderrama1-2/+5
This change is to modify the location of the packagecloud files to work within the containers. Change-Id: I1c2378a56b380e39848d9fdb7d8e89f7f8d81cfa Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-04-26Configure VPP to publish to packagecloud.ioVanessa Rene Valderrama1-0/+2
Adding a sleep to the packagecloud push script to troubleshoot an issue where the merge jobs are failing intermittently due to the .packagecloud file not being created before the packagecloud scripts run Adding the packagecloud_push script to the VPP merge job to allow artifacts to be published to packagecloud repositories in addition to Nexus repositories Change-Id: Ic22e6d5d8ca90bf41ff64fca7d14504c5b0f33d7 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-04-17Make packagecloud push conditional on existence of ~/.packagecloudEd Warnicke1-14/+15
Change-Id: I34d88bfd6f4c55c00d354aae13536a8e3eb8e613 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-04-17Configure VPP to publish to packagecloud.ioVanessa Rene Valderrama1-0/+19
Added a packagecloud_push script to push artifacts to the packagecloud.io repository Added the stream-parameter and packagecloud_push script to the VPP merge job to allow artifacts to be published to packagecloud repositories in addition to Nexus repositories Change-Id: I9076ee35a6d330579ba72aa19a455b3d7a22e7f5 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>