aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2020-07-01Add security docker for functest-kubernetesmrichomme3-2/+34
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> (cherry picked from commit 98d9f93337ab514fa9aafc1cd1e87473de68b364) (cherry picked from commit 0626f54b8686134515eab3b9014c5b538405d84f) (cherry picked from commit a7191389900b58f50e428af47e6819f30ba07d8f)
2020-06-08Remove cache dir and force /src as src dst dirCédric Ollivier1-1/+1
Change-Id: I43846aa04e9e9951fc55543b8d2d2fda7c39bb64 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5169cd72511838af0cedd9ce6b5c3baba45d8f6c)
2019-12-14Update to K8S_TAG v1.13.12Cédric Ollivier1-1/+1
It updates to the latest K8s v1.13 version. Change-Id: I02966fe1f4eeeccdb1e1d71045596096a22f2c4a 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> (cherry picked from commit bee77a2c2c6571c622a8e533ed0b80cdb49302ea)
2019-09-20Update K8s to 1.13.11Cédric Ollivier1-1/+1
Change-Id: If97c5f21b0115803b75ee10ab5c85fc421d0faf2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-04Update Kubernetes to v1.13.8Cédric Ollivier1-1/+1
Change-Id: Ib9693c99b2ebefd2dd8e6f30f5bcf4504e236edd 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> (cherry picked from commit d1d3feacdbf061cf4115ceeadcb71d2142971757)
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> (cherry picked from commit 5f2e455ae47f4fa3c5d6a441b052be1220fbfd9b)
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> (cherry picked from commit 8af877189e0c276a15717cf7dd9a0fe873214521)
2019-06-09Update K8s to v1.13.7Cédric Ollivier1-1/+1
Change-Id: I2c62077284d5d250c236eb7a0d03725332fbbba4 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> (cherry picked from commit cfcf5d41cbf26a7fc5d0b07d9ca45d73538036d8)
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-28Update K8s to v1.13.5Cédric Ollivier1-1/+1
Change-Id: I85cbad22b9ed931aa8b536a101594b504eece2d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-28Fix OPNFV_TAG in docker/core/DockerfileCédric Ollivier1-1/+1
Change-Id: I51afc1b892220d66c696981cd6684944b95838c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-23Update 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> (cherry picked from commit 443b83ef45b4b58b46dcf0c4a7e50e9d379547ff)
2019-03-09Update K8s to v1.13.4Cédric Ollivier1-1/+1
Change-Id: I0167aa525f2e6a2521040e83c0c6f483bae16d92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-27Stop 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> (cherry picked from commit 7cae747f327e78bd4a398b709eecd5f2c255e1fb)
2019-01-20Update K8s to v1.13.2Cédric Ollivier1-1/+1
It's the current release. Change-Id: Idfaa1014b804e783c4ff0ece2862154ffbee3896 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> (cherry picked from commit 568b72f402f97c8c40336da84827ce1568c45fc1)
2018-10-19Precise go version in based imagesCédric Ollivier1-1/+1
Change-Id: Idd57e68f4b6363402afa96bded1b0b9f3754cb3e 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> (cherry picked from commit e48f491529032b8dd009843976545febaddb0b7b)
2018-10-16Enable stor4vnf and cloverCédric Ollivier2-4/+2
Their master branches are being synced with OpenStack Rocky. Change-Id: Iae877982b44e3381ed3becfde10be38a8960a641 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-16Update kubernetes (1.11.3)Cédric Ollivier1-1/+1
Change-Id: I4ae343cd0176c55769d4d1c770e65278aea97f2c 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> (cherry picked from commit abea5c1c65e1b381cfa2f138ac94c9b344f1289a)
2018-09-13Fix BRANCH in DockerfilesCédric Ollivier2-2/+2
Change-Id: I2da339262b48e4babc8aa4e17b75b95c2af04e93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Prepare Functest K8s hunter containersCédric Ollivier4-5/+5
Change-Id: Ia53b029eb1137b7fffb51eeb6395d69f70d11f75 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>