aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2024-01-08Publish Xtesting 2023.2Cédric Ollivier1-2/+2
Change-Id: I76d57e806df78912831b2764812df4e0306dc013 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-04-13Add missing api docsCédric Ollivier1-2/+1
Change-Id: I29a470f74d2429862d0e26426a375d0a76550082 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-01-24Update Alpine to 3.17Cédric Ollivier1-1/+1
https://www.alpinelinux.org/posts/Alpine-3.17.0-released.html Change-Id: I660a04c8de1184d83f7e6bfc6777fa571fabc080 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-07-07Update to Alpine 3.16Cédric Ollivier1-2/+2
It also switches to pytest because nose fails vs py3.10. Change-Id: I920baef12d4934b359873519d5518835007c2f02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-04-22Update to Alpine 3.15Cédric Ollivier1-1/+1
Change-Id: I283f95fa9c0a51b31c2612f44c1e722a688f6a02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-04-15Change working dirCédric Ollivier1-0/+1
/ is no longer good as we allow non root user. Change-Id: If2483f7d177db8f2b99e05456d1ea803e3153466 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-04-14Define xtesting user to harden securityCédric Ollivier1-0/+3
It applies security guidelines even if everybody was already free to harden his own containers via the python package. Change-Id: Ia9936d158c02b4e5c86386cb046ff7e35af07f03 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Only erase the fallback config files.Cédric Ollivier1-1/+1
It enforces the best backward compatibility. Change-Id: I6516ad15c4ca514dde7ae761c9c00f437646e3b4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-03-03Search config files in treeCédric Ollivier1-1/+1
It allows putting configurations in classical dirs. It fallbacks to the python package for backward compatibility. Change-Id: Ie33b9482fb197926c7d7d66ace815fa4ae01d02d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-11Update to Alpine 3.14Cédric Ollivier1-2/+2
Change-Id: Id0b5ecc341315b0010a4e52dcb54ebe7bb37c5f7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-05-25Remove six from Openstack requirementsCédric Ollivier1-0/+1
Attempting uninstall: six Found existing installation: six 1.15.0 [91mERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L445 Change-Id: Iad64341d8014621bc999bade94676d4059e71353 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-04-27Add an Ansible driverAjay Kumar1-5/+7
It calls ansible_runner.interface.run() by converting the testcase description data to kwargs. It only overrides quiet and artifact_dir to implement the Xtesting behavior. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ifd09810400babc0f2b81f2c33edf55a3ed88807b Signed-off-by: Ajay kumar <ajay4.kumar@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-10Upgrade system firstCédric Ollivier1-1/+2
Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-01-21Update to alpine:3.13Cédric Ollivier1-1/+1
Change-Id: I84459504fa374effb3c0355cf37a09c32b4e61a4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Install py3-wheel in xtestingCédric Ollivier1-1/+1
It fixes all deprecated warnings. Change-Id: Ide9b140e56555fba3b5bc94c71df15d4627b72cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Fix bash mistakesCédric Ollivier1-1/+1
Change-Id: I204d7bb0ee7ce7ad727ae20601f0140670c9f0b9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Set CFLAGS="-O0" when cross-compiling lxmlCédric Ollivier1-0/+5
Change-Id: I57ae3a76d1838ccde2699a1a206487079c7f2fae Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-08-05Add MTS driverVincent Mahe1-0/+20
It creates a new container xtesting-mts to avoid increase core container size. Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I59544023e1235747e140a442815778a133bf6acf
2018-02-27Clean all OpenStack related modulesCédric Ollivier1-21/+0
Xtesting is only focused on the framework and entry points. Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-28Update Alpine to 3.7Cédric Ollivier1-1/+1
It conforms with the last release [1] and Docker latest [2]. [1] https://alpinelinux.org/posts/Alpine-3.7.0-released.html [2] https://hub.docker.com/_/alpine/ Change-Id: I731b455bd9eb9900c7794643b8605bf73a15726d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-13Move rally and tempest in functest-restapiCédric Ollivier1-10/+1
It completes the first patch which partially moved rally and tempest out of functest-core [1] by updating functest-restapi as well. os-faults is also installed in the right containers. [1] https://gerrit.opnfv.org/gerrit/#/c/47115/ Change-Id: Ia460dbe7785e2beffa5ba1a15f5a5bf2083b252a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-13Remove rally and tempest from core/DockerfileLinda Wang1-10/+3
JIRA: FUNCTEST-889 Change-Id: I6092c8b6599705d23dcb3aba8c4470b76c41455c Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-07Fix the format of getting upper-constraintsLinda Wang1-1/+1
Change-Id: I8a769ec161b1a718ef259ae6b6615aec01e337ec Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-11-05Allow building containers from a gerrit changeCédric Ollivier1-2/+4
It leverages on git command instead of pip git support [1]. Otherwise it forces pip master which raises side effects in rally [2] It is mandatory for implementing Functional testing gating [3] [1] https://pip.pypa.io/en/stable/reference/pip_install/#git [2] https://gerrit.opnfv.org/gerrit/#/c/40909/ [3] https://wiki.opnfv.org/display/functest/Functional+testing+gating Change-Id: Ia18fee3e60fc08da9b96730ce85d5b7c866144aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-05Update Functest to OpenStack stable/pikeCédric Ollivier1-2/+1
It updates setup.py, (test-)requirement.txt and upper-constraints.txt according to OpenStack requirements [1]. It disables all Features testcases as they are not synchronized with OpenStack stable/pike yet [2]. The docker functest-parser is simplified as it can be based on functest-core as both Functest and Parser leverage on OpenStack stable/pike. ODL_TAG and REFSTACK_TAG variables are set to master again. [1] http://git.openstack.org/cgit/openstack/requirements/log/?h=stable/pike [2] https://wiki.opnfv.org/display/functest/Requirements+management Change-Id: I23fa84f35244c1f4026abd89414b99576f042ee4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-30Update Rally to 0.10Cédric Ollivier1-3/+7
It requires to sync os-faults with OpenStack requirements as it's out-of-tree too. The last os-faults version is selected as well. Change-Id: I0c582070a937b6ba6cba5b0c17673f42ea5d6dec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-13Force requests===2.13.0Cédric Ollivier1-1/+2
It overrides OpenStack's upper-constraints to allow rally to work vs a self signed certificate. It will be pushed to the right OpenStack project after the patch is confirmed by CI. Euphrates will be released too early regarding the full upstream cycle required. JIRA: FUNCTEST-876 Change-Id: I52656f8b98fced103f13dde039082806636c680a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-14Select $OPENSTACK_TAG instead of stable/ocataCédric Ollivier1-1/+1
It modifies functest and functest-core containers. Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Fix all refstack-client requirements on-the-flyCédric Ollivier1-1/+1
RefStack Client is out of OpenStack releases and its requirements must be modified before installing. Change-Id: Id1aed6cdc9c409d0036abe86591ff52e7ef0c26f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Stop using master for pipCédric Ollivier1-3/+0
Rally cannot work via latest pip: [r.name.lower() for r in pip.req.parse_requirements( rally AttributeError: 'module' object has no attribute 'req' Badly it forbids building containers from a gerrit change. Change-Id: Ie60344b2a7793729823643ba2c1d3c30500d56c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-02Allow building Alpine containers from any gerrit changesCédric Ollivier1-0/+3
Next pip release will allow installing from git ref. We will install it from git till it's released. Change-Id: I4f26c5a137ca94e9925bd64787c8572848154850 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-02Remove openstack-requirements from requirements.txtCédric Ollivier1-1/+4
Change-Id: Iaaee0c3e1c5377a5064660ad8396cfd8a7c5e250 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Stop removing /src/openstack-requirements/.gitCédric Ollivier1-1/+1
Otherwise pip fails when it checks it again [1]. [1] https://hub.docker.com/r/opnfv/functest-features/builds/b8ziypongh8eexgsatdpyhm/ Change-Id: I973f41f8a8e757c01c9c17d57323c7e737b76741 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-01Fix all rally requirements on-the-flyCédric Ollivier1-1/+6
Rally is released out of OpenStack releases and its requirements must be modified before installing. Rally applies a similar solution for gating [1]. [1] https://github.com/openstack/rally/blob/stable/0.9/tests/ci/sync_requirements.py Change-Id: I3dfe69597e6ebecc5f07943658634ea94625294f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Save space in Alpine containersCédric Ollivier1-1/+1
It decreases the size of Functest core and smoke containers by 20%. Change-Id: Id75117b1404e3cce004ef51c61040cdb7ade6976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-11Add openssh-client in coreCédric Ollivier1-1/+1
It's required by snaps ansible tests. Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Download Functest's upper-constraints.txtCédric Ollivier1-6/+9
It also removes all temporarily files [1] and reuses OPENSTACK_TAG and BRANCH args. [1] https://gerrit.opnfv.org/gerrit/37077 Change-Id: Id87ffdf14ccb1a34f117241c882423adf79f44c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Add upper-constraints.txt for FunctestCédric Ollivier1-5/+4
It completes OpenStack's upper-constraints.txt by adding Functest's requirements. This file is temporarily duplicated to allow building the containers. It will be removed via a next patch when this patch is merged. openbaton-cli could be updated (e.g. 3.2.8). Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Add lesser containers based on AlpineCédric Ollivier1-0/+21
It splits the full container into: - functest-core - functest-healthcheck - functest-smoke Smoke suite is currently partial and will be completed later (it may require updates in third party projects). Features, components and vnf suites will be integrated in other patchsets. Change-Id: I635a7fd84cac583c28bb1c82bc6cc9107a39f7ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>