aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2024-09-11Upgrade tox to py312Cédric Ollivier1-10/+10
Change-Id: I60e306fb42ac6b4a779908477e7bb37eb95c3e15 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2024-01-09Remove tox pip_version in tox.iniCédric Ollivier1-1/+0
Change-Id: Iafae57b729650e70c084f98abafc6645174a893e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-12-01Remove PyYaml from upper constraintsCédric Ollivier1-8/+4
It doesnt compile because of cython Change-Id: I6e1c531a2f7b3384bc4a5256120d917dec7c43c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-12-01Enforce pip's legacy-resolverCédric Ollivier1-1/+1
Change-Id: Id0b97782db354cfa66656746ee03f102b5c4d6e3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-03-20Run pre-commit in the Functest K8s gatesCédric Ollivier1-0/+5
Change-Id: I3957dbde922d8ed8edc47d5cf1aee1475f117836 Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-10-20Fix tox listCédric Ollivier1-11/+7
Change-Id: Ie996cbf5751e757cedf79d03f3a9b2649183f250 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-10-20Update to Alpine 3.16Cédric Ollivier1-6/+6
Change-Id: Ib630178c93d4a991f43611796e0c07975ce421ec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-11-15Update linters and fix all new issuesCédric Ollivier1-5/+1
It mostly adds encoding in open calls and leverages f-strings. It removes ansible-lint as it now asks for ansible, roles and collections. Change-Id: I3ef729f44b2c721b14d19df27805938298aa2c67 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-18Update to Alpine 3.14Cédric Ollivier1-9/+9
It also disabled wrong order check as it fails vs kubernetes amongst others. [1] https://github.com/PyCQA/pylint/issues/2175 Change-Id: I3d641c213067428848212a148d25d78051c5674f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-12-10Use pip==20.2.4 in tox venvCédric Ollivier1-0/+1
pip 20.3 is disruptive and would lead to big changes in stable branches. Change-Id: Ic3770f4098c52b0d26bc62291c9e79e8ee81d107 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-08Add helper to download all imagesCédric Ollivier1-0/+1
It eases offline testing. The default command leverages kind as in-use in Functest. Change-Id: I66a20ede5e857f80cf49b9b708843034bc3b9904 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-22Add xrally_kubernetes_fullCédric Ollivier1-1/+0
It iterates 10 times all operations run by xrally_kubernetes. Now times, concurrenty and count can be set via testcases.yaml. It creates a new containers functest-kubernetes-benchamrking as Functest. Change-Id: Ibfd493b987a359a3f16c2d8db0aef6b8e90b7e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-13Conform with Functest pylint configCédric Ollivier1-1/+3
Change-Id: Ie12d17a32fe8ee7ee212a6a4acf6aec107377390 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-29Drop py27 verificationCédric Ollivier1-1/+1
Rally dropped py27 support. Change-Id: I298088905dab16a0b085d7f47aa90a74b253a5d6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-13Add security docker for functest-kubernetesmrichomme1-1/+1
run kube-hunter and kube-bench cases dealing with security in kubernetes (check vulnerabilities) [1][2] It's the first step only printing the output. [1]: https://github.com/aquasecurity/kube-bench [2]: https://github.com/aquasecurity/kube-hunter Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3bd9bda80046ef7a0c494d51dfb0b8cbfea02bb0 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-01-04Update Alpine to 3.11Cédric Ollivier1-8/+8
It also updates Python to 3.8 (default version). https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: I3bbfdb76d2fb71f9a426e4fe7dacace0917e2070 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-12-07Disable false ansiblelint warningsCédric Ollivier1-1/+1
git commit has to be executed via shell module [1]. [1] https://github.com/ansible/ansible/issues/50334 Change-Id: Ie4595f7bc2b54545b2f824f5ac3fb1d20340f13c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-03Run perm in functest-kubernetesCédric Ollivier1-1/+12
Change-Id: If2d786c50addbd17948afdcd3c803293d03318f8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Switch to Python 3.7 and Alpine 3.10Cédric Ollivier1-8/+8
pylint is updated to 2.3.1 (lastest py3.7 version) Change-Id: I8b70e9764e2802aeb517969c265fbebfa03458ce Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-11Add a new testcase leveraging on xrally/kubernetesCédric Ollivier1-0/+1
It partially runs the all-in-one task for checking basic functionality of Kubernetes cluster. Change-Id: Iaf7a29d2c1a364073e4caaeef69d68ee79ea56bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-11Turn bashate warnings into errorsCédric Ollivier1-1/+1
It also fixes the warning. Change-Id: Ia24208590994418dc8a200e7336cf8a62f0976d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Run bandit when verifying changesCédric Ollivier1-5/+7
It reports only MEDIUM issues or higher like nova [1] [1] https://github.com/openstack/nova/blob/master/tox.ini#L221 Change-Id: I1302b28ed1dcc4e074c6c6f2aa5e915c88eb03f4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-24Slightly improve tox.iniCédric Ollivier1-4/+1
Change-Id: I92802637ad2177044f6f8c6f628ede80887583c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier1-1/+1
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Verify Ansible playbooks via ansible-lintCédric Ollivier1-1/+6
Change-Id: Id51c2932e126ce1b29e43c95cc786101675bfa99 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-14Remove former ci jobsCédric Ollivier1-1/+0
They can now be generated via the new ansible role. Change-Id: I6ca1f14873b83a343e00a5d5a75a746ce9d0e6e8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-19Temporarily disable py36Cédric Ollivier1-1/+1
Build servers haven't been updated yet to support py36. Change-Id: I05247a7ded6518a558ffd52eb38433c45a5338e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-17Update python3 to python3.6Cédric Ollivier1-1/+4
It conforms with Alpine 3.8 Change-Id: If384d374224bdc465b68f134e60051d43ef951af Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Add OpenStack constraintsCédric Ollivier1-0/+1
Change-Id: I2b52f6594629b171312caf25906b9e582613379b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-31Publish daily and gating jjbsCédric Ollivier1-0/+1
Change-Id: Ic7fd7bc9adf1672573878d6b74d43fa55e777be3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-24Check build.sh via bashateCédric Ollivier1-1/+7
Change-Id: I367d87539ce25d9d114ee1f75b2f8af383408865 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Split opnfv/functest-kubernetesCédric Ollivier1-0/+1
4 containers are now proposed - opnfv/functest-kubernetes-core - opnfv/functest-kubernetes-healthcheck - opnfv/functest-kubernetes-smoke - opnfv/functest-kubernetes-features Change-Id: I7d6f1edc7e9ace185b2cf991592ebc841f5520b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Switch from functest to XtestingCédric Ollivier1-7/+8
It also fixes logging.ini and tox.ini. Change-Id: I3001dd847d0cd4bcffb7e466ba1cf5a71705f636 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Add unit tests for functest-kubernetesdjkonro1-1/+9
Change-Id: I4c9b5a56e891f4a63c86e0d7c4dd0d02de677610 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-01-24Add initial python class for kubernetes testingdjkonro1-0/+27
JIRA: FUNCTEST-904 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I9007e4e6f58118d1b09774d0acbb2a315437e09a Signed-off-by: djkonro <konraddjimeli@gmail.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>