aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2020-11-12Add timeout as needed by Gitlab CI/CDCédric Ollivier3-0/+3
Gitlab CI/CD sets 1h as default timeout. The timeout is valid for both test cases even if only k8s_conformance reaches 1h (XtestingCI design). Change-Id: Ieaef1cefb3dfc7f9ca47b1ce8ec082409fa52604 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f38caec124b925f8c633f9d8b4474bd1085638a2)
2020-11-09Split Gates in a dedicated site.ymlCédric Ollivier2-34/+65
Change-Id: I6f9ac9e80aa5ee37392d220db5ba53069dae1886 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-09-23Split kube_bench_master and kube_bench_node in site.cntt.ymlCédric Ollivier1-1/+2
Change-Id: Ifb9a5ac2fac7286d5f3f5e677fc2a7ecda6ade25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 687723872c04c4b889cf4b529f6534776b16908d)
2020-09-16Add helm_vims in site.cntt.ymlCédric Ollivier1-0/+1
https://github.com/cntt-n/CNTT/pull/2022 Change-Id: Icb4bdfa0c1ecca9d0c5b4d5beef7ff4c5edb289e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 63476e09e51c5c847df47b0855ee9d1b0ea1add1)
2020-09-16Publish helm_vims also based on clearwater-dockerCédric Ollivier1-1/+2
It leverages helm rather than kubectl as proposed by k8s_vims. A new abstract class Vims is added to factorize code between both testcases. Change-Id: Ie5de8d62e25e74f73f8e32167228a08e82989abd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 32dfc10f56ead9abea8798e1ce16fe87652ca480)
2020-09-13Split kube-bench master and nodeCédric Ollivier1-1/+2
The former deployment asked for all-in-one. Change-Id: I12e470cec9e82b82c6f3ea5ff2431087f5deb9be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bced94b6fe24c7e939fb22834deb77477e4a9bb9)
2020-09-09Publish CNTT RC2 playbookCédric Ollivier1-0/+28
It runs the mandatory CNTT test cases [1]. [1] https://github.com/cntt-n/CNTT/commit/6af033c254727b7405fbfb2efbaa023e2b8ba876 Change-Id: I87d381c78049f7309c564791ed701cf446cc85d2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 463f233c0abb77f6758e7c39fa05b5c118fbaf1f)
2020-09-06Publish k8s_quick as proposed by sonobuoyCédric Ollivier1-0/+1
https://github.com/vmware-tanzu/sonobuoy Change-Id: I7b1777cf7bc0d6cd04ea5cccc08b7c29887ae874 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 711d9f1d875816386fd4afeb2e79f8d2de47b036)
2020-09-04Add cnf-conformance in functest-kubernetes-cnfCédric Ollivier1-0/+1
It selects cnf-conformance v0.7.2-beta1 (current latest release) and the default CNF as proposed by [1]. The end user is free to override the default yml files on purpose (e.g. docker volumes). Tag (default: all) could be modified too via testcases.yaml [1] https://hackmd.io/@vulk/SkY54QnsU Change-Id: Iec2a830c441e523e067f6eb114ecb205c49c6b93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 120daffd8d6d4be727d2ba52a76dbd8eacfe2628)
2020-08-22Add xrally_kubernetes_fullCédric Ollivier1-2/+10
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> (cherry picked from commit a0f76d884c1f13c27e906136d3418f12b5342fc4)
2020-08-16Compile K8s testing binariesCédric Ollivier1-2/+2
We can't leverage on official testing binaries for this old release. Change-Id: Ia4165a30739fe8220c90c6ff3f437350eb3ead66 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-16Leverage alpine rather than golangCédric Ollivier1-2/+2
golang is now useless as we stop compiling kubernetes binaries. Change-Id: I7b9416281de069d1f454b13eff6e9e6107f7471e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1af6a5dc4ec8e087613275e912c819ea1d0aecbc)
2020-08-11Remove useless repo in site.yamlCédric Ollivier1-12/+6
Change-Id: Ie5db13dda8dfcaa5bb26e39858448bddee8f6a2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 07f59c24077e3d7906371eb2f8e2ec6458c2ff85)
2020-08-11Take latest test cases into accountCédric Ollivier1-0/+17
It adds k8s_vims, kube_bench and kube_hunter. Change-Id: I13ead6e23c675a6ed2e70d95914cbf7cf9d54842 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit adaa8ba5907040fdd8198d3fb801256021514dd5)
2020-07-06Add 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> (cherry picked from commit 413b52a98a359094dbc251749c04d2789e0ab24c)
2020-07-01Remove OPNFV Features from Functest site.ymlCédric Ollivier1-8/+0
They are neither maintained nor developped by Functest. Change-Id: Ib32a36bef9ade051d49edc0868ea88c83cc38f1b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-29Only set go major version in parent containerCédric Ollivier1-1/+1
It allows updating automatically the minor versions. Change-Id: I25d3d315e533c1ba40f9eec36dc2eb9b81715eb2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-24Set db_project in ansible/site.ymlCédric Ollivier1-0/+1
functest-kubernetes is defined as part of functest in OPNFV DB (see testcases.yaml). Change-Id: I09eadefd1f6b7bc9b58309fdbe92f8c23e7a5815 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 49cd5462ca60c03276546810d4fed3f0a0a93d3c)
2019-03-23Update Alpine tag in build.sh and ansible/site.ymlCédric Ollivier1-1/+1
It completes the previous commit updating Alpine. Change-Id: I5f29bbe9d8c79f50d3270ad76eec687073351e43 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit de031c014b89df8dad204a28f956fcace8e1091d)
2019-01-21Fix container names in ansible/site.ymlCédric Ollivier1-3/+3
Change-Id: I246065e176eba9e8dbd31b8f54974b3b2a498f2f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 32c8765de95bc1d707f09f913641df82cd8c18a7)
2019-01-17Fix BRANCH args in ansible.ymlCédric Ollivier1-3/+3
Change-Id: Ic7db95470d510813949c059b2b573425446d2c34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0564f494fac437c511346a983eec3f21797a145f)
2019-01-15Switch from port to dportCédric Ollivier1-1/+1
port is reserved in ansible. Change-Id: I095396a94ac34ca6bded65033d1a7e2446eaeb8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 187395660ac100135b64a20b79a778bc7d091296)
2019-01-05Add Functest k8s gate jobsCédric Ollivier2-8/+34
Change-Id: Icfe4445c1405749698d2db42fa6001ad3d261e29 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 98e7db309060a74d1d80103905e91fbe340375fd)
2018-12-19Deploy Functest Kubernetes CI toolchainsCédric Ollivier1-0/+27
It eases verifying OpenStack by deploying the full testing toolchain via Ansible. As opposed to the Releng model, all tests can be executed in parallel. It leverages on Xtesting Ansible role which currently deploys Jenkins, Minio, S3www, MongoDB, TestAPI and loads all jobs in Jenkins. The dashboard will be deployed in the next update of the ansible role. To deploy the testing toolchain: $ ansible-galaxy install collivier.xtesting $ ansible-playbook ansible/site.yml Change-Id: Ie409653ae4f7f4d315449ee54ae0c504272f7899 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c74710be00805d8f43059e5b752af0098767e701)