aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-03-01Switch from functest to XtestingCédric Ollivier2-31/+34
It also fixes logging.ini and tox.ini. Change-Id: I3001dd847d0cd4bcffb7e466ba1cf5a71705f636 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Add Kubernetes conformance testsdjkonro3-4/+43
JIRA: FUNCTEST-905 Change-Id: I2f70884811431f21fe98bb6a989a9172f3612a64 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-02-01Add logging.ini for functest_kubernetesdjkonro2-0/+51
Change-Id: I21008ec3a7cb90f8bccf8df56f659a4b5d59515c Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-01-24Add initial python class for kubernetes testingdjkonro2-1/+31
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>
2018-01-12Build kubectl and ginkgo binariesdjkonro1-1/+3
This binaries are required for running kubernetes e2e smoke and conformance tests. Change-Id: Iba7afa4337b6840281d96072b98d7ac0ced2a178 Signed-off-by: djkonro <konraddjimeli@gmail.com>
2018-01-12Build K8s via specific tags/branchesCédric Ollivier1-2/+5
It also removes .git to save space. Change-Id: I4a4601799266b3ae8771d7453b6df8c90e356004 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-07Format docker/DockerfileCédric Ollivier1-3/+3
Change-Id: Ic167b2a5b26b7d210b76f0f2ceba500da65f1dc2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-07Add Docker post_checkout hookCédric Ollivier1-0/+6
Change-Id: I6a24d42d7830209316e705b8e68fe29c53350c35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-01-07Add Dockerfile for functest-kubernetesdjkonro1-0/+7
It lists all instructions to build Kubernetes e2e.test. Change-Id: I6c3b5b6544197e698d653fa1d214bcd6f0b2f0cc Signed-off-by: djkonro <konraddjimeli@gmail.com>