aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2017-09-27Add post_push hooksCédric Ollivier8-0/+64
It allows creating the stable tags as allowed by Docker hub [1]. [1] https://github.com/docker/hub-feedback/issues/341 Change-Id: I84909b20fc8b926eb5414db7d57100aaa6060f84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-22Merge "Support https when testing ODL" into stable/euphratesMorgan Richomme3-3/+3
2017-09-22Support https when testing ODLCédric Ollivier3-3/+3
It conforms with the last change on ODL tests [1]. Neutron endpoint is passed via robot args instead of Neutron ip. Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone ip. [1] https://git.opendaylight.org/gerrit/#/c/63293/ Conflicts: docker/restapi/Dockerfile docker/smoke/Dockerfile Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dd99f5356ef08f3a2a1ed18d63492391390df752)
2017-09-21Adding orchestra test cases to orchestra projectMorgan Richomme1-2/+2
Orchestra introduced 2 VNF test cases: * orchestra_openims * orchestra_clearwaterims In the configuration, the 2 projects are still assigned to functest project This patch associate the cases with their real project Change-Id: I81f6d6fb473916f0f91a5b3795b3ed433c283fb4 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 2aa38f32b9ea0cb248f25d52f100240b2a002bc6)
2017-09-21Merge "Remove restriction to fuel on vyosvrouter case in Alpine" into ↵Cedric Ollivier1-1/+1
stable/euphrates
2017-09-21Remove false hooks for functest-parserCédric Ollivier1-6/+0
Change-Id: I58f186b249083fc13e4bcfc4e933fd11f5d4b20e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 47c049623b07dd563218959ad59c0e027a354836)
2017-09-20Add python3-dev and python3-pip in former DockerfileCédric Ollivier1-1/+4
Otherwise the former container cannot be built as Doctor requires a full updated python3 env. Change-Id: Ic90c13abad33e7cb15e7e51dcaac83b9ddf3930b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 95ffa691887b35cd60d287f13d8633094110d78e)
2017-09-20Remove restriction to fuel on vyosvrouter case in AlpineMorgan Richomme1-1/+1
It was done in old docker but not reported in Alpine Change-Id: I3479ad996b64187f58e97cc3b4a4b2ceefeec287 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 55b11d41b5d96e159c4abf3df6c03245d4f737dc)
2017-09-20Enable Doctor testcasedongwenjuan7-6/+19
It upates upper-constraints.txt and thirdparty-requirements.txt as doctor-test was renamed to doctor-tests. It installs the doctor packages and its requirements via python3. Then python_version>='3.0' conditions are added to avoid installing them for python2. It also calls the new console scripts and modifies the installer list supporting it. Conflicts: upper-constraints.txt Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd855f4534d9d9591165e99aa0eed6b1030018e0 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1e1fba3aa18ebcbff6746586654805a44e88e9fe)
2017-09-19Update Docker hooksCédric Ollivier7-7/+7
It takes euphrates into account in Docker tag name. Change-Id: Id455152655c8174b7cab9780c27d923f33173f28 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-19Enable parser testcaseshangxdy1-2/+1
Currently parser tescase in functest disabled, it's neccessary to enable it since we have tested successfully with the installers of fuel, apex and daisy. Change-Id: Ic3995cec813cc41c897b9c600b90d1fbbe8a74e2 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn> (cherry picked from commit 734cb4d6d66b2fa638e82d366d480404997e005e)
2017-09-19Enable Domino testcaseCédric Ollivier1-1/+0
Domino is part of the OPNFV projects released for E [1]. As now Domino is ready for Functest integration (package and requirements), the testcase can be enabled. If the testcase fails, the issues should be related to Domino. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html Change-Id: I26f3d3ae338def0f77c46c2cbda1baf3d55c1a41 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 555ac3f8656004d469c04370448a8a46f8a1418d)
2017-09-19Remove securityscanning testcaseCédric Ollivier4-20/+0
As the project is no longer released [1], security_scan is removed from testcases config files. It stops installing the related python package too. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html Conflicts: upper-constraints.txt Change-Id: Ieb9ff4c2975fbf2c85b875a088b0ec18503a3722 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 59999eb2f2bf3b28c50a9b75fc551192450d28e3)
2017-09-19Remove useless enabled: true in testcases.yamlCédric Ollivier1-2/+0
Change-Id: Ief2f4f580b4daef74e64d203fa1fc2be8f7e50c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 955706810fa3c9adb153bf581c703ec473b57a56)
2017-09-19Prepare Functest euphrates containersCédric Ollivier9-14/+14
They depend on git commit ids for the next OPNFV projects: - releng [1] - securityscanning Securityscanning should be first removed in master and then the patch will be cherry-picked in stable/euphrates. A temporarily git commit id is used here to allow building the containers before that changes. [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017865.html Change-Id: Ib7bd4206a6ef7f5bb8cd58f324d3e437a3b704a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-15Bug fix: wrong dependency filter for lxd scenariosMorgan Richomme1-2/+2
lxd scenario cannot run all the api_check tests, a regex has been set but on the wrong dependency (installer instead of scenario) Change-Id: I313e8d1ed3fa30488c100549f574a0cded08768f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-14Merge "Override tempest upper-constraints in functest-parser"Cedric Ollivier1-9/+8
2017-09-14Merge "Select $OPENSTACK_TAG instead of stable/ocata"Morgan Richomme2-2/+2
2017-09-14Override tempest upper-constraints in functest-parserCédric Ollivier1-9/+8
Change-Id: Ib08fb665724bd7b7ec8f8a010486e615d2cd5f5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-14Select $OPENSTACK_TAG instead of stable/ocataCédric Ollivier2-2/+2
It modifies functest and functest-core containers. Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Optimize Alpine DockerfilesCédric Ollivier3-7/+11
It mainly splits vnfs runtime and build dependencies to save space at the end. Change-Id: I8307fa416066cc8c50b96862de8bafd2c47a2ace Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Add packages in docker alpine containersManuel Buil2-2/+2
To run our SFC tests we require openssh and sshpass to be installed in the container Change-Id: I40b3d740855d48939f9411697abbd3bbbb70370f Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-13Merge "Add Functest restapi container"Cedric Ollivier2-0/+43
2017-09-13Merge "Remove thirdparty-requirements.txt in smoke"Cedric Ollivier3-8/+7
2017-09-13Merge "Add Docker automated build hooks for Parser"Cedric Ollivier1-0/+6
2017-09-13Add Functest restapi containerCédric Ollivier2-0/+43
It allows running all testcases via Functest REST API [1].  [1] https://wiki.opnfv.org/display/functest/Running+test+cases+via+new+Functest+REST+API Change-Id: Iaa69b7367653398582b876df1362f72c787c6b7b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Remove thirdparty-requirements.txt in smokeCédric Ollivier3-8/+7
As refstack must be installed via local dir (to sync requirements), it's useless to list it again in a requirements file. Change-Id: I9099fff185694fd41cf02e1265b1d4ab7659d7f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-13Add Docker automated build hooks for ParserCédric Ollivier1-0/+6
Change-Id: Ie42058fba915e3fbe9098ff14b31768723e8e24e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-12Merge "Re-enable orchestra tests (VNF)"Cedric Ollivier1-2/+0
2017-09-11Re-enable orchestra tests (VNF)Morgan Richomme1-2/+0
"Marketplace is now running on port 8080. In addition, we have extended the marketplace backend in order to return the last modified header so that images are not re-downloaded all the time tests are executed. It should be done by Monday EOB" [1] [1]: https://jira.opnfv.org/browse/ORCHESTRA-17?jql=project%20%3D%20ORCHESTRA JIRA: ORCHESTRA-17 Change-Id: I17f6316003be9c2c3131ed640e6a32e482d1a174 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-08Merge "Exclude api_check on lxd scenarios"Morgan Richomme1-1/+1
2017-09-08Use git commit id for refstack-clientCédric Ollivier2-0/+4
Functest should be based on fixed versions of projects which are out of OPNFV. It selects the last git commit as refstack-client hasn't defined any tag or branch. Change-Id: Id7c5ecb0ef88fd1a2b8f34ddfc22c87b7f78c8d4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Update ODL testcase to Keystone v3Cédric Ollivier2-2/+2
As basic neutron tests have been updated [1], ODL testcase must manage user domain and project domain names. [1] https://git.opendaylight.org/gerrit/#/c/62846/ JIRA: FUNCTEST-862 Change-Id: I61ef622f840b8d825cf45a3557bd6da14a4d3cb7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-08Exclude api_check on lxd scenariosMorgan Richomme1-1/+1
Most of the tests are OK but the last tests deal with qcow2 images the testcase is therefore not compatible with lxd sceanrio Change-Id: Ie67e5e1a67673c5d2076ef306bd7d29f46e6977f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-07Use git commit id for ODLCédric Ollivier2-4/+6
stable/carbon has been removed and Functest requires the patch "No more Content-Type for DELETE request header" [1]. [1] https://git.opendaylight.org/gerrit/#/c/60578/ Change-Id: Ia3630e03e26a543ae37c36455a68763ffc8f2b12 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-07Publish a container for ParserCédric Ollivier2-0/+63
As Parser is based on OpenStack pike release, it's hosted by a dedicated Alpine container. Change-Id: I1957ff100108d2ca58f939ddf4feda28a2954ced Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Unlink Functest and FDS tagsCédric Ollivier1-1/+2
Otherwise it forbids building Functest containers from a gerrit change. Change-Id: I936fc338d17a710bd9403670cd17aabc89c5cc2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Fix all refstack-client requirements on-the-flyCédric Ollivier3-3/+12
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-06Integrate doctor-test packagedongwenjuan4-1/+20
It updates tescases.yaml as run.sh is located in $PATH. repo_doctor is removed as it's now useless. It must be noted that doctor-test imports modules fom a relative path which can break the integration. Pylint warms them (W0403) [1]. [1] https://docs.pylint.org/en/1.6.0/features.html Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Icd3071a8e371048370bd3e07e08b6b52ddb35c13 Depends-On: I2091cfe4751640bf83d77e1fdd713af1e31fa89d Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-06Merge "Integrate new Domino package"Cedric Ollivier3-1/+3
2017-09-05Merge "Stop downloading openbaton image."Cedric Ollivier1-0/+2
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-05Stop downloading openbaton image.Cédric Ollivier1-0/+2
It's downloaded in all CI runs and forbids several ones (timeout). Change-Id: I2f269d941990b7235eba7cc6d58ad17072495176 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-05Merge "Launch Functest RestApi once the container is run"valentin boucher1-0/+2
2017-09-05Integrate new Domino packageCédric Ollivier3-1/+3
Change-Id: Iada952e3356fa89a122503c2a71aa31a9731469e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-04Merge "Stop cloning doctor and domino"Cedric Ollivier2-5/+1
2017-09-04Merge "Allow building Alpine containers from any gerrit changes"Cedric Ollivier1-0/+3
2017-09-04Merge "Unlink Functest and Domino tags"Cedric Ollivier1-1/+2
2017-09-04Merge "Remove openstack-requirements from requirements.txt"Cedric Ollivier2-4/+10
2017-09-02Stop cloning doctor and dominoCédric Ollivier2-5/+1
Both testcases are disabled and the next reviews allow installing them via packages: - Add doctor-test package [1] - Add domino package [2] [1] https://gerrit.opnfv.org/gerrit/#/c/38177/ [2] https://gerrit.opnfv.org/gerrit/#/c/40911/ Change-Id: I03fc89c26f527e33417c17a8b1ab47d1c69c9a89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>