aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2020-06-08Apply Rally patch (switch to threading for tasks)Cédric Ollivier2-2/+53
Change-Id: I8f4df2d4c220edc538c743cccce8050efe4a1140 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-06-07Update to alpine3.12Cédric Ollivier1-2/+2
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: I3c95f0867c4364b93fd8ba14093710b7c0fdda8d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-05-05Try a quick fix vs the race conditions in xrallyCédric Ollivier2-0/+35
Change-Id: I57a4c317ba365586c10b13d425aac021dd030949 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-14Publish debug logging configCédric Ollivier2-0/+71
Change-Id: I6a42fdeb20e0d549819c327e92e138c28dc927e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-14Fix project name in security's testcases.yamlCédric Ollivier1-2/+2
Change-Id: I7770873b2f7d61db05a9546631fdc2d4ddf3d20c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-13Add security docker for functest-kubernetesmrichomme2-0/+32
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-03-13Deploy Clearwater IMS using KubernetesCédric Ollivier3-0/+30
The new testcase "k8s_vims" deploys and tests Clearwater IMS using Kubernetes. It follows the procedures proposed by clearwater-docker [1]. [1] https://github.com/Metaswitch/clearwater-docker Change-Id: I2fe3cd03a5dedfc61fbab294c53b4bc0b0fa70be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Update Alpine to 3.11Cédric Ollivier3-4/+4
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-11-16Add mailcap in dependenciesCédric Ollivier1-1/+1
It allows detecting mimetypes. Change-Id: Ieeae5e92142daab2ea724f1c332a71a8b0c63102 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-11-07Update to Go 1.13Cédric Ollivier1-1/+1
It's asked by Kubernetes master [1] [1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/90/console Change-Id: I0fdd06944fea8ce328e16459e6cf4a9e2c6fa4f7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-20Select go 1.12 instead of 1.13 (rolling)Cédric Ollivier1-1/+1
Functest K8s container builds failed [1] [1] https://build.opnfv.org/ci/view/functest%20(Installer%20gates)/job/functest-kubernetes-docker-master/94/ Change-Id: I3da0ebf05e1dd25b7fb609e0e851c07ed1722723 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-31Remove Features containersCédric Ollivier4-68/+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: Ie2f5beddd21b09aabfbdf2bb2f3366e652d43b3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Switch to Python 3.7 and Alpine 3.10Cédric Ollivier4-5/+5
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 Ollivier2-2/+17
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-06-27Disable log dumpCédric Ollivier1-1/+1
It avoids dumping logs at the end which requires gcloud configured (CI). Then it partially reverts "Keep kubernetes sources" [1]. It now dumps e2e.test output in e2e.log as sonobuoy [2]. [1] https://gerrit.opnfv.org/gerrit/68106 [2] https://raw.githubusercontent.com/cncf/k8s-conformance/master/v1.15/kubeadm/e2e.log Change-Id: I400e1cf92a8540eba3d40db1ed4237628921efe6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-27Remove useless ci_loop in testcase descriptionsCédric Ollivier3-4/+0
Change-Id: I89f5a9172bed9d6861543250a971e09466d1307b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-25Keep kubernetes sourcesCédric Ollivier1-1/+1
It now only removes .git and _output Else they are missing files when dumping the logs in case of failures [1]. [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-iruya-k8s_conformance-run/107/console Change-Id: Ia8b45b8af48bc0005e75a174258e27f1f3edcaac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-12Update to Python3Cédric Ollivier4-12/+12
Functest containers leverage on Python3 instead of python2. https://mail.python.org/pipermail/python-dev/2018-March/152348.html Change-Id: I4f148e91259377b4e3b9076621f192a6e00f6009 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier2-2/+2
Change-Id: I829c7798d21abb013db09d80cc509862fa5b9e2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-19Update to Apine 3.9Cédric Ollivier3-3/+3
It updates to the latest Alpine release [1] [1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html Change-Id: I4afbc1d4830647f11509a02df5820ce7d33541ae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-27Add build dependenciesCédric Ollivier1-1/+4
New OpenStack upper-constraints require build deps. Change-Id: Ib0318badfb13f528c20f4e01afdeaba36f442f9c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-18Switch to golang:alpine3.8 as based imageCédric Ollivier2-3/+2
It fixes all issues raised by the Alpine testing go package [1]. It conforms with Kubernetes which requires the latest go version. [1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-amd64-master/45/console Change-Id: I388c843a21af9763703a40586ecf9b0b4583ebcb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-14Stop writing in clusterapi-tester/pod.yamlCédric Ollivier1-2/+0
It was removed in master tree [1]. [1] https://build.opnfv.org/ci/job/functest-kubernetes-healthcheck-docker-build-arm64-master/20/console Change-Id: Ice0c88c2a3954934acdb69828d9675efac6bb1fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-14Update K8s tag to masterCédric Ollivier1-1/+1
Change-Id: I772d9b267f5cbdac37a297ef617da77e97bc4d2b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Disable OPNFV FeaturesCédric Ollivier3-1/+7
From the time being, none is synced to OPNFV hunter or newer. Change-Id: If8a39bd185d1b7d396ea61bfebca2416b9bd5566 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Update to OpenStack masterCédric Ollivier2-2/+2
Change-Id: I894bb969d690537f6910b8cfcdb52162747121a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Rewrite git clonesCédric Ollivier2-4/+8
Change-Id: I04c60b6c10ccd7b7e939002505e6e43e9c98eae7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Update Xtesting to 0.60Cédric Ollivier3-11/+7
Xtesting leverages on stevedore [1] which will bring much more flexibility (discovery, module or class renaming, etc). OPNFV Features have to be updated as well: - https://gerrit.opnfv.org/gerrit/61719 - https://gerrit.opnfv.org/gerrit/61723 [1] https://docs.openstack.org/stevedore/latest/ Change-Id: Ibe2a6ab3ddca92882aa4a26f140d2db28d77cb86 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Update Kubernetes to v1.11.2Cédric Ollivier2-4/+5
Change-Id: If674867a7dc488c64fc3f0cda530560b5d306416 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Update to Alpine 3.8Cédric Ollivier1-1/+1
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: Ie9197f0cbc682d0c9a7cfee18b5ca6a27c466c89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Avoid downloading git historyCédric Ollivier2-4/+4
It decreases build duration because of kubernetes history. Change-Id: I650c271e123b97e7350933b32d05b6b0781a79e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-31Fully remove kubernetes working dirCédric Ollivier1-2/+2
It hugely decreases the size of our containers. Change-Id: I7bdc31645fb00c01e16855795bf99dd1b3b17dfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-30Remove kubernetes/.gitCédric Ollivier1-0/+1
Change-Id: Ib8ee11a51cd89cdb401b5d1781522fc0e3990f0e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-25Merge "Fix issue of error image when running healthcheck case on arm platform"Cedric Ollivier1-0/+2
2018-08-24Fix issue of error image when running healthcheck case on arm platformJingzhao Ni1-0/+2
Replace the "amd64" with "arm64" in the pod.yaml when building the healthcheck images. Change-Id: I58b2d91ce1c74575becb77eee4c711623becd0fe Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com>
2018-08-22Fix smoke/testcases.yamlCédric Ollivier1-2/+1
https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/265/console Change-Id: I83e98e678f931f8ac22f8dd5dfca8b2583874ff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-20Conform with last Xtesting updatesCédric Ollivier2-6/+3
Change-Id: If22886c8e436203c9878d0e97aa1250493804bc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-17Add some build option in build.sh for supporting arm archJingzhao Ni2-2/+2
In build.sh, add some build options for arm arch. It also updates constraints to OpenStack Queens. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3cc6c10e2e52c281e2324d8b42b721383be30c0b Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-22Remove installer dependenciesCédric Ollivier3-4/+4
They are useless as all scenarios are well defined. It will allow running k8s testcases without defining INSTALLER_TYPE as OpenStack and eases maintaining that files. Change-Id: I6f9b0b5a8162e9db3ccc9155a9f88a97eda56f20 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-13Add minor description grammar fixKonrad Djimeli1-2/+2
Change-Id: I27e4cf14a2036c739d49259744beda982bb20f96 Signed-off-by: Konrad Djimeli <konraddjimeli@gmail.com>
2018-04-09Remove former opnfv/functest-kubernetes filesCédric Ollivier3-192/+0
Change-Id: I7443f52541526b630b3e4b8a73f6ec47d27b9598 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-09Add testcase clover_k8sQiLiang4-5/+49
Clover testcase hook patch: https://gerrit.opnfv.org/gerrit/#/c/54541/ This patch is depend on patch: https://gerrit.opnfv.org/gerrit/#/c/54695/ Scenario k8-istio-clover run k8s_smoke and clover_k8s Change-Id: I2cd76ed9d882f94567fd721d250da13b19aaa37b Signed-off-by: QiLiang <liangqi1@huawei.com>
2018-04-09Install test case clover_k8sQiLiang2-2/+2
Clover testcase hook patch: https://gerrit.opnfv.org/gerrit/#/c/54541/ Change-Id: Iab6c2c4fc65e482604d48ca2cbd028453b8a437a Signed-off-by: QiLiang <liangqi1@huawei.com>
2018-04-07Split opnfv/functest-kubernetesCédric Ollivier11-0/+215
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-29Allow check and verify as CI_LOOP valuesCédric Ollivier1-2/+2
It's required by the new promotion model [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/54501/ Change-Id: Ie64632ea7f15977e4bd9f2da96fd3a8074d14ac8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-23Remove hooksLinda Wang1-6/+0
Change-Id: I927f4db613756bc39155d6a465d57488744689ff Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-20Integrate Stor4NFV feature k8s test caseQiaowei Ren2-5/+33
Change-Id: I1af083b4a22fb67fe93896cb6424fef2dbc8218c Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
2018-03-20Update k8s version to v1.9.4Linda Wang1-1/+1
Change-Id: I4d40bcaf49012308b2d7e7621bfe0944ea3d0dfd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-13Apply the same suites as FunctestCédric Ollivier1-1/+8
Change-Id: Icaea92c847255f215974a608ca42667f197ab3e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-12Add kubespray as k8s installerCédric Ollivier1-2/+2
Change-Id: I9c53b7ccbcc48a147fadc3e3ea939b776516927b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>