summaryrefslogtreecommitdiffstats
path: root/docker/restapi
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02Add ${DOCKER_TAG} in Docker hooksCédric Ollivier1-1/+1
It eases creating Docker images based on branches or tags. Conflicts: docker/components/hooks/post_checkout docker/features/hooks/post_checkout docker/healthcheck/hooks/post_checkout docker/restapi/hooks/post_checkout docker/smoke/hooks/post_checkout docker/vnf/hooks/post_checkout Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 29647efa114151d53ede5ba2d989593992c0b29f)
2017-09-27Add post_push hooksCédric Ollivier1-0/+8
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-22Support https when testing ODLCédric Ollivier1-1/+1
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-20Enable Doctor testcasedongwenjuan2-1/+6
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 Ollivier1-1/+1
It takes euphrates into account in Docker tag name. Change-Id: Id455152655c8174b7cab9780c27d923f33173f28 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-19Remove securityscanning testcaseCédric Ollivier1-1/+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-19Prepare Functest euphrates containersCédric Ollivier1-3/+3
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-13Optimize Alpine DockerfilesCédric Ollivier1-3/+4
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 Buil1-1/+1
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-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 Ollivier1-0/+6
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>