aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function/artifacts.sh
AgeCommit message (Collapse)AuthorFilesLines
2023-09-08feat(cleanup): Some old codepmikus1-78/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3aad4fc5a56a1c02e975f664449a6f9d50fc300e
2021-06-16Line length: Fix recent mergesVratko Polak1-13/+13
Not fixing .rst, .md, .yaml, conf.py, .vat, and so on. Change-Id: Icc585d6dbebc8eb5c483b10326302571e94c614d Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2021-06-10FIX: Pylint reducepmikus1-2/+2
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I909942dbb920df7f0fe15c0c92cda92c3cd8d8ad
2020-05-14FIX: Download only vpp packagesJan Gelety1-1/+1
Signed-off-by: Jan Gelety <jgelety@cisco.com> Change-Id: I88682b972947d73ae8433b550bd5e96b0b7c2c76 (cherry picked from commit 36237cf89a092fee57faa6b2b1726d40df493845)
2020-02-28bash: tolerate -dev as a package nameVratko Polak1-2/+2
Misbehaving projects can create it, and apt thinks it is a cli option. Change-Id: Icc42231e2d498f976281ce725373c6679fe61fa4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-07-29make sudo to preserve user existing environment variablesYulong Pei1-3/+3
Change-Id: I83470b059b9ca59bb3725f1ebef6718adf8f91ae Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2019-07-10Bash functions style cleanupVratko Polak1-10/+21
+ Update rst documentation for bash style + Command substitution: + Clarify when to use backticks. + Recommend avoiding nested command substitution. + Do not recommend putting command substitution results into quotes. + Function definition content: + Move "set -exuo pipefail" after comment only blocks. + Other set flags allowed for functions with good reasons. + Apply the new recommendations. - Blank lines unified in code but no written recommendation in rst. + Add missing references to functions called, variables read or set. + Add TODOs to where lists would be long. + Minor improvements to function descriptions. + Make "if" expressions more python-like. + Add missing "|| die" (or "|| true") where spotted. + Downgrade DEFAULT_NIC to a local variable. + Add TODO to list reasons for blacklisted tags. Change-Id: I05dce030a8c2cb1b3a242d8b977e8fe150d8ee20 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-04-13Use package location for apt-cache show commandJan Gelety1-1/+3
Change-Id: I141baa77c78ec467a56fcafb86061efe198dca9d Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-04-05Fixes for Taishan testbedjuraj.linkes1-10/+10
* rename NICs in Taishan testbed to Intel-X520-DA2 * fix testbed NIC selection * remove unnecessary 82599es tests * blacklist unsupported tests on Taishan testbed * lowercase previously created bash local variables Change-Id: I3b7f59e2edc00929fab2f5a0fce483f236f83075 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-03-06FIX: Selecting VPP packagesPeter Mikus1-1/+1
Change-Id: Id6e093eaf62835606cd6bf7e9157d79c8c33c83a Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-06FIX: Selecting VPP packagesPeter Mikus1-1/+2
There is an issue when multiple VPP versions of same commit but different build is in repository. Artifacts.sh will find multiple version and cennot properly download only one. 00:00:46.522 ++ apt-get -y download libvppinfra=19.04-rc0~290-gd4295e61a~b2173 19.04-rc0~290-gd4295e61a~b2172 19.04-rc0~290-gd4295e61a~b2171 libvppinfra-dev=19.04-rc0~290-gd4295e61a~b2173 19.04-rc0~290-gd4295e61a~b2172 19.04-rc0~290-gd4295e61a~b2171 <truncated...//pm> This patch will select latest as the behavior is result of re-merge effect. Change-Id: I8ce21244e2b05e60af0ea51107f9138173844330 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-01Add ARM Taishan testbed33 perftestStanislav Chlebec1-13/+49
Change-Id: Iaa0e7fbca7de26c7dce8b389cc3494f628a2ecd0 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-01-24CSIT-1407 FIX vpp install after VPP changesPeter Mikus1-1/+2
Change-Id: I9148f6de75c3100f827eedec48c4c0ccb343bc54 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-11-27CSIT python API introductionJan Gelety1-2/+2
Jira: CSIT-1336 Change-Id: I96d2b0221c5a7466484a82339fc132c5921532d1 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-10-24Remove usage of vpp-ext-deps packageJan Gelety1-7/+0
This package is not needed for csit enymore. Change-Id: Ie32a9c9322873e66554bb69112d4428697c866db Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-10-19FIX: Correct the packagecloud.io URL pathPeter Mikus1-1/+3
Change-Id: I8aae4cb85f9bb1efaa19d75e2fd7c9593f20756d Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit e44edcedef4dd2fee1c21b122b4bc6bb8586598e)
2018-10-01CSIT-1327 Migrate from vpp-dkms-dpdk to vpp-ext-depsPeter Mikus1-1/+1
Change-Id: I6fad3303c5c331ad36d163ba735907e35931dea0 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-13CSIT-1282 Migrate from Nexus.fd.io to packagecloud.ioPeter Mikus1-0/+155
Change-Id: Ib4e72dc8e3c0fedfcd702f4f97bc4f26cbc642e9 Signed-off-by: Peter Mikus <pmikus@cisco.com>