summaryrefslogtreecommitdiffstats
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11Build vnf and restapi containers for ARMDelia Popescu1-2/+1
The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here https://github.com/knu/ruby-unf_ext/issues/15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit 63ec3c39ef720d265fe5a6c9d3a7c5665c2624d2)
2017-12-25Clean base images only if 1 container was builtCédric Ollivier1-4/+4
Conflicts: build.sh Change-Id: I0134082d2d150a6dc58e679f9ade81eb6c040266 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 20d22666aa841f0128b3f53a07ba0f31684537d8)
2017-12-23Clean Docker images after buildsJose Lausuch1-0/+4
Compared to the related Releng script, it only focuses on cleaning images. It's considered out of scope to remove remaining docker containers. It doesn't force to remove images because base images (e.g. Alpine) could be selected by other OPNFV projects too. It ensures O is returned even if one image cannot be removed. functest-core is removed at the end because all Functest containers depend on it. The script works well in a nominal building env. Any remaining Functest images or containers must be removed by hand. Conflicts: build.sh JIRA: FUNCTEST-898 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I72d8214b711680ec7958af1d427b23dee6337bf6 Signed-off-by: Jose Lausuch <jalausuch@suse.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 98a942469134fcc3f91b6658a6fbb256d9d89518)
2017-12-23Add Docker build optsCédric Ollivier1-8/+3
Change-Id: I91fcb833b6b6216338b4fcb888f093a2086264a7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9545e4cd5f16805adf2caadf348432ca1e8d9cd7)
2017-12-07Pull functest-core when only building childsCédric Ollivier1-0/+6
Otherwise it fails if parent and childs containers are not built on the same host [1]. It would have worked if the docker images were correctly cleant. Then the last image would have been pulled. [1] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-euphrates/362/console Conflicts: build.sh Change-Id: I293829c839c1cf68c9f7668aa643e16889359fcc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e3281b2175ca9983d79ce17de7e7497f749e650e)
2017-11-15Do not use cache when building the imageLinda Wang1-2/+2
Conflicts: build.sh Change-Id: I4655b631313c923b40304740c0abe06ae885727e Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit 61083f97ca4552ffa4fa83b20d30f4a914e24eee)
2017-10-13Conform with Docker ARCH namesCédric Ollivier1-11/+11
It switches Docker tags: - x86_64 -> amd64 - aarch64 -> arm64 Conflicts: .travis.yml build.sh Change-Id: I05575dd728e7502a891a3ee3015f81ac8e3f7a92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a8acc48148313229b4e6771374ece9256d75b26c)
2017-10-13Fix find calls in build.shCédric Ollivier1-2/+2
It completes "Allow building aarch64 images" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/44931/ Change-Id: I5dcb98be7f296227693d3f889c9747d944bcc86d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-12Allow building aarch64 imagesCédric Ollivier1-7/+16
It must be noted that Docker automated build cannot create these images as the prerequisites are unmet to cross-compile [1]. It also publishes a travis config file [2]. [1] https://www.kernel.org/doc/html/v4.11/admin-guide/binfmt-misc.html [2] https://travis-ci.org/collivier/functest/builds/286932633 Conflicts: build.sh Change-Id: I11fdef410cc40989132205a098410175f789fdef Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ed777b643b05fbb71851df0b883483e0bcaa4ac1)
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-19Fix one whitespace characterCédric Ollivier1-1/+1
Change-Id: I631061178f4c96d28dfa4fcf22af0fef2c4f5db4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d120b6cf30631ee7a0f27f4fc1d07facd6ce4047)
2017-09-13Add Functest restapi containerCédric Ollivier1-1/+2
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-07Publish a container for ParserCédric Ollivier1-1/+2
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-08-30Allow building functest-vnf via build.shCédric Ollivier1-1/+2
Change-Id: I38c79028e642c6e3c8d64cc5eda1ead52983b12b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add functest-components based on AlpineCédric Ollivier1-1/+7
It integrates the whole test suite: - tempest_full_parallel - tempest_custom - rally_full Change-Id: If215d8e12262072828f348ac323dba963849bf14 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add functest-features based on AlpineCédric Ollivier1-1/+1
It integrates the next testcases: - bgpvpn - security_scan - functest-odl-sfc - barometercollectd It also modifies several cmds in the former testcases.yaml to ensure backward compatibility. Depends-On: I75aaf950f7b072c142fa9894cef7ef7f057adac3 Depends-On: I50219cad42bf0e085c2edf2e1abe149c2e057a99 Change-Id: Idf3d6b4a769edd1a5401748886e0ed64d4f5f281 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-17Add script to build all containersCédric Ollivier1-0/+15
It also sets opnfv as default repository as they will be pushed by releng. It adds hooks asked for automated build via Docker which allows continuous integration before the update of jjobs. Change-Id: I08b55b1ff334afe6c0f58af3100cfa04f76d8ef0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>