aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function/gather.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-09-10back-to-back tests: add TG testsViliam Luc1-0/+14
Change-Id: I9d028294deb1e31b6d185deb1c7523e0226a0ada Signed-off-by: Viliam Luc <vluc@cisco.com>
2021-06-16Line length: Fix recent mergesVratko Polak1-2/+5
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-02-18Download latest VPP packages for hourly jobsjuraj.linkes1-3/+4
1n-tx2 vpp-device tests are supposed to give us a view of how VPP patches affect VPP device tests, so download the latest packages for them as well. Also replace round brackets with curly brackets in the condition to make it faster according to https://github.com/koalaman/shellcheck/wiki/SC2235. Change-Id: I9caafea3590d04af9cb34d6bb536ff786fe08411 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2020-01-07Remove leftovers related to XenialVratko Polak1-1/+1
+ File VPP_STABLE_VER_UBUNTU. + Subtree docs/report/vpp_functional_tests/. Change-Id: Ifd9dd922152199de9f1352da709b1533d6c15aba Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-12-05Improve quoting of asterisksVratko Polak1-3/+3
When quoted, the asterisks are understood as literal characters. When unquoted, so they act as globs patterns. When used to match files already present in the filesystem, the asterisks should be unquoted. When used to match a package name (not a file), the asterisks should be quoted to prevent the bash expansion, as programs such as apt-get and yum do their own expasion afterwards. Unquoted asterisks for matching package names may happen to work when there are no files to match the bash expansion, but quoted asterisks are sure to avoid accidents. Also, we want an asterisk both before and after "vpp", due to package names such as libvppinfra-dev and python3-vpp-api. Change-Id: I657a24c24a71d865915aba201bd0d3276cb33281 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-11-13LIGATO: RemovePeter Mikus1-133/+1
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0c9b8b07ed3a113e24a38faaddd5ed06fae67768
2019-07-10Bash functions style cleanupVratko Polak1-8/+8
+ 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-06-05CSIT changes to support new Centos 7 device testing container image.Thomas F Herbert1-5/+8
CSIT-1505 Parse {os} parameter from job and use it to separate the correct image for each distro and the correct stable package versions. Use two vpp device image names, one for Ubuntu and one for Centos. Centos sut image is in https://hub.docker.com/r/snergster/csit-sut-centos Source for Centos sut image: https://github.com/snergfdio/multivppcache/tree/master/csit-sut-centos Change-Id: I568c82710d730c4ed0ca25bc12cb6074e1cbe27e Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2019-03-01Add ARM Taishan testbed33 perftestStanislav Chlebec1-1/+2
Change-Id: Iaa0e7fbca7de26c7dce8b389cc3494f628a2ecd0 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-02-27CSIT-1418 Switch performance jobs to VPP-bionic buildPeter Mikus1-10/+3
Change-Id: Ia38e70a418570d168bf330ce1b3c91351b326181 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-19Expose DPDK version into separate Variable filePeter Mikus1-3/+6
Change-Id: If9707297a430285a242c3dae49c216d952a9be12 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-12Bump DPDK to 19.02Peter Mikus1-1/+1
Change-Id: I9ea7b5104d3124dd6ae36fd91cf056ace9f93e3d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-04CSIT-1382 Create weekly/semiweekly job for vpp-devicePeter Mikus1-4/+5
- Update gather function Change-Id: If130b93fd8c9752bb804a8ecc53c1598e8669031 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-11-29FIX: VPP_Device - use vpp bionic packagesJan Gelety1-3/+10
Because there is already used ubuntu bionic on VPP device testbed and used download script from pacakgecloud site donwloads packages based on host OS we need additional file to store vpp bionic stable version for VPP_Device tests. Change-Id: If834dc8af7dffa19b8ddeae013c3da9b37a5a81a Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-11-08FIX: Ligato testsPeter Mikus1-1/+1
- Freeze stable sfc_controller version - Remove kafka connection - Add debug level outputs - Use mater branch instead of dev Change-Id: Icde06a741cae6393fe482a493eb214d015f145bf Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-10-24Remove usage of vpp-ext-deps packageJan Gelety1-3/+0
This package is not needed for csit enymore. Change-Id: Ie32a9c9322873e66554bb69112d4428697c866db Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-09-26CSIT-1316 Fix ligato building mechanics in CSIT bootstrapsPeter Mikus1-29/+25
Change-Id: Ia8da73cbf7ab213b61a330b757419330667be24b Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-13CSIT-1282 Migrate from Nexus.fd.io to packagecloud.ioPeter Mikus1-17/+9
Change-Id: Ib4e72dc8e3c0fedfcd702f4f97bc4f26cbc642e9 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-08-30CSIT-1135: Scripts for VPP per-patch testingVratko Polak1-0/+307
+ Scripts do not rely on (other) bootstraps. + Perf verify bootstrap is also the new style sript now. + Scripts are divided to functions for better re-use. + Functions are sourced from small number of large "library" files. - Still using jumpavg from pipy. - Perpatch has specific simplified parsing (instead of the PAL one). - Bash style document is in a separate Change. Change-Id: If88fa528ce155ea86b614e3d77c0550b91bbdf11 Signed-off-by: Vratko Polak <vrpolak@cisco.com>