aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
AgeCommit message (Collapse)AuthorFilesLines
2023-03-27Stop bashing functest scriptsguillaume.lambert1-21/+21
Though bash is a good interactive user shell and apart portability concerns, many UN*X systems and GNU+Linux distributions now prefers Almquist or Kornshell variants for scripting in order to improve the system performance and maintenability. https://wiki.ubuntu.com/DashAsBinSh https://mywiki.wooledge.org/Bashism https://en.wikipedia.org/wiki/Almquist_shell Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I32c5490f9eab54e6cac594f3eac1e392edf8b272 (cherry picked from commit b9fedb6868306a6e3145b7ee851ea3a84353df9c)
2022-04-25Prepare docker builds for yogaCédric Ollivier1-14/+14
Change-Id: Ieecfc7a51f7440b2c6f576df38922144173062d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-11-15Update linters and fix all new issuesCédric Ollivier1-1/+1
It mostly add encoding in open calls and leverage f-strings. Change-Id: Ifead18fc724a452c1067dcf91dc577032edc9c59 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-26Add enchant in travis-ciCédric Ollivier1-0/+1
Change-Id: Ibbf0ecfc0b1e178a27a4981b10689f62fa103d62 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-25Switch to focal in travis-ci gatesCédric Ollivier1-8/+1
Change-Id: Id6d1685762be5d81c5093c05f85c0cc36c234d76 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 847a25ffe68aaa98e6101cd66e74144b6c25ea1e)
2020-12-10Use pip==20.2.4 in tox venvCédric Ollivier1-1/+1
pip 20.3 is disruptive and would lead to big changes in stable branches. Change-Id: I33079e7d667e42240fcc497d595509e88da3c4f7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-05-01Remove py27 in .travis-ciCédric Ollivier1-1/+1
py27 cannot be gated due to Rally. https://travis-ci.org/github/collivier/functest/jobs/681899038 Change-Id: Ifeef8b99050182c7629b0767920724d94cd86c48 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-24Update Alpine to 3.11Cédric Ollivier1-3/+3
It also updates Python to 3.8 (default version). It selects arm32v6 et arm64v8 repos and switches multiarch binfmt. https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: Ib41cf0ab805ce2137658f3ff656b0a88c7b4ebf5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-26Add functest-benchmarking-cnttCédric Ollivier1-0/+23
It configures Rally to verify the mandatory services asked by CNTT. It also prepares the next benchmarking (API and dataplane) KPIs. Change-Id: Ie8701ddfa1a497f8b1a6f839e6ff7a77849b618c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-10Buld cntt containers in a specific stageCédric Ollivier1-19/+21
They must be built after smoke. Change-Id: I939ef6c4663ad940c9f1b95440980628c4880385 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-26Publish functest-cntt-smokeCédric Ollivier1-0/+23
It tunes neutron-tempest-plugin-api to avoid skipping any test (conformance as expected by CNTT). Until CNTT clearly defines the optional and mandatory neutron extensions, it selects the OpenStack and Functest gate values as default. The next Neutron extensions are considered as optional (still verified by functest-smoke): - logging - network-segment-range - port-resource-request - qos - trunk - l3-conntrack-helper - metering - floating-ip-port-forwarding - uplink-status-propagation - dns-domain-ports - dns-integration - router-interface-fip The next tests (tempest_full, tempest_slow, tempest_scenario, etc.) will be updated in next changes. Change-Id: I003d1e509cd6dc7bd58261f27676fb53cb79e68c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-19Check spelling in rst filesCédric Ollivier1-1/+1
It fixes a few typos too and installs enchant in TravisCI and CircleCI jobs. Change-Id: Id5dbf5f926edc8b0b4e4337d11bf63e21ea7e173 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-31Remove Features containersCédric Ollivier1-23/+0
Most the features are stopped and Functest shouldn't host dead code. Functest is a framework (Docker and Python modules) which can be still reused by any third-party (OPNFV Feature or anything else) in its tree and CI. Change-Id: Ia8475ce295b2cdcddbfcfc5b17ea2ab9e51a8afb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-03Increase verify venv list in travis-ciCédric Ollivier1-1/+3
It cannot run perm due to the false umask in travis-ci [1]. [1] https://travis-ci.community/t/file-permissions-just-gone-up-to-664/1547/4 Change-Id: I788d846b1737cdff49959376e5bc92d8d1c4c970 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Fix remaining py36 testenvCédric Ollivier1-1/+1
Change-Id: Ifd5e65f597e2dcdb280fac6e3bc3ac999550a83f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Install python3.7 in travis-ciCédric Ollivier1-2/+2
https://travis-ci.org/collivier/functest/jobs/564349522 Change-Id: I8880256b226472157cdf2bfb5505d05160b3f1d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-21Remove functest-tempest from travis-ciCédric Ollivier1-25/+0
It fails due to the former container builds [1] [1] https://travis-ci.org/collivier/functest/builds/557461053 Change-Id: I0d919ded13348e66852b79e2bdeba53add729d9b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-20Build arm* functest-vnf containers via travis-ciCédric Ollivier1-1/+13
It doesn't build juju deps if arm* as they can't be cross-compiled. Then that deps won't be built in releng on native arm64 hosts It's worth mentioning that containers have never been executed in OPNFV gates. That change allows running all other VNFs on Raspberry PI and building containers without arm build servers. Change-Id: I836a72f049e7f0e6ae704f5b829914692d5b2c09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-14Speed up lxml buildCédric Ollivier1-1/+7
It allows cross-compiling it via travis-ci (benchmarking) [1][2] [1] https://lxml.de/installation.html [2] https://travis-ci.org/collivier/functest/jobs/519737041 Change-Id: I31609268d77405f036924a010cfb3dab520e9ea3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Verify py36 via travis-ciCédric Ollivier1-1/+4
Change-Id: I1180478c19d0f1c56e615a2af568cbbf4cc828d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-13Cross-compile arm and arm64 imagesCédric Ollivier1-5/+83
It allows building images for Raspberry PI via travis-ci. It builds all arm64 images except functest-benchmarking [1]. [1] https://travis-ci.org/collivier/functest/jobs/519673994 Change-Id: I695c3afe8aacda63b7eae0d2672cd836c19e8ceb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-11Update .travis.ymlCédric Ollivier1-0/+5
It now selects Ubuntu Xenial and libssl1.0.0. It fixes all issues about SSL [1]. [1] https://travis-ci.org/collivier/functest/builds/518874638 Change-Id: Ib7217afc1cfbe3a7c675961b37ad9c097afca037 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-24Fix manifest-tool buildsCédric Ollivier1-0/+1
It now selects the last release to allow compiling it [1] [1] https://travis-ci.org/collivier/functest-xtesting/jobs/510384544 Change-Id: If1c2c1d7bdcc5bc0a6a221dfe5f628b75f9d9608 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-15Stop building components in travis-ciCédric Ollivier1-10/+0
It was removed by "Move rally_full in benchmarking" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/66911/1 Change-Id: I7ade6f474364646bfe0f3ae1b2718749bd0ff26e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Move shaker and vmtp into functest-benchmarkingCédric Ollivier1-0/+5
It also updates all jobs and fixes Dockerhub hooks. Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Run unit tests as travis-ci jobCédric Ollivier1-0/+3
tox doesn't run perm and py35: - travis-ci doesn't set the classical umask - ubuntu 14.04 doesn't provide any python 3.5 package Change-Id: I72ba109b183f079a833a4bab4ab4853d4870ce49 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Add functest-tempest containerCédric Ollivier1-0/+12
It avoids duplicating operations between functest-smoke, functest-components, functest-vnf... It eases building new containers for new tempest-based testcases. Change-Id: I73b973588f4eb70d1e5874d06d030c5a5d729e95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-16Update travis-ci configCédric Ollivier1-29/+4
It stop cross-compiling for arm and creating functest-parser manifests. Change-Id: Ic9567232d876e36b3adbff4bc1d4d23ff9ef3b81 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-15Remove parser containerCédric Ollivier1-10/+0
Parser conflicts with OpenStack project namespaces due to bad fork conception. Functest should stop maintaining containers to bypass issues created by Parser (2 releases). Change-Id: If52084dc9cb7165a6f53051ad84604bc999dd69c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Stop building functest-features(arm64) via travis-ciCédric Ollivier1-11/+1
It simply raises timeout which can't be increased. Change-Id: Iba564873ccf7f50922641fad8987b1d7447f7ed2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Check .travis.yml via yamllintCédric Ollivier1-1/+1
Change-Id: I6f526c4c153ac6769a36c10e6480563c4345cfba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-03Remove opnfv/functest-restapiCédric Ollivier1-10/+0
REST api server should run on top of all Functest containers by overriding the default command. We can safely remove it and meet the Docker Slicing approach. Change-Id: Ibcc56490c931ae701bd31c52650081a115183e22 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-24Switch to $REPO in travis-ci jobsCédric Ollivier1-14/+14
It conforms with "Use functest repo variable" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/52513/ Change-Id: I09b438d784fbeb5e3686b441e6944c87c0f88382 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-13Build functest-parser for arm64 via travis-ciCédric Ollivier1-1/+6
Even if clearwater-live-test dependencies have been updated [1], the next containers can be built for ARM (ruby raises SEGFAULT via qemu-user-static): - functest-vnf - functest-restapi The related manifest is also updated. [1] https://gerrit.opnfv.org/gerrit/#/c/50295/8 Change-Id: Ie1eb78436a3da5eb7b5c1028b7f8323e8c3e73a2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-13Conform with Docker ARCH namesCédric Ollivier1-41/+35
It switches Docker tags: - x86_64 -> amd64 - aarch64 -> arm64 Change-Id: I05575dd728e7502a891a3ee3015f81ac8e3f7a92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-12Allow building aarch64 imagesCédric Ollivier1-0/+133
It must be noted that Docker automated build cannot create these images as the prerequisites are unmet to cross-compile [1]. It also publishes a travis config file [2]. [1] https://www.kernel.org/doc/html/v4.11/admin-guide/binfmt-misc.html [2] https://travis-ci.org/collivier/functest/builds/286932633 Change-Id: I11fdef410cc40989132205a098410175f789fdef Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>