aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-11-09Publish functest-cntt-smokeCédric Ollivier1-1/+2
It tunes neutron-tempest-plugin-api to avoid skipping any test (conformance as expected by CNTT). Until CNTT clearly defines the optional and mandatory neutron extensions, it selects the OpenStack and Functest gate values as default. The next Neutron extensions are considered as optional (still verified by functest-smoke): - logging - network-segment-range - port-resource-request - qos - trunk - metering - uplink-status-propagation - dns-domain-ports - dns-integration - router-interface-fip - rbac-security-groups - floatingip-pools The next tests (tempest_full, tempest_slow, tempest_scenario, etc.) will be updated in next changes. Change-Id: I003d1e509cd6dc7bd58261f27676fb53cb79e68c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1456f68e90103afab958ae8a305c840e6fa29cf7)
2019-06-15Fix ShellCheck warningsCédric Ollivier1-4/+4
Change-Id: Idf571b39d38b9184b2e08c183d4afe44784fbfe6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit db7c7d3031c8f9a562c6e3db0922e1cfb92ea92b)
2019-06-15Turn all bashate warnings as errorsCédric Ollivier1-3/+9
Change-Id: Ic350ed8269347f5853a6d7b4e75cfccba6d85dcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 12b1a3258219cd301866ea79924e08cfb2a7420e)
2019-04-13Cross-compile arm and arm64 imagesCédric Ollivier1-0/+25
It allows building images for Raspberry PI via travis-ci. It builds all arm64 images except functest-benchmarking [1]. [1] https://travis-ci.org/collivier/functest/jobs/519673994 Change-Id: I695c3afe8aacda63b7eae0d2672cd836c19e8ceb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5f525ebaf9d503aa641996fe2ac780dc9dda1774)
2019-03-24Update Alpine tag in ansible/site.yml and build.shCédric Ollivier1-3/+3
It complete the previous commit updating Alpine [1]. [1] https://git.opnfv.org/functest/commit/docker/core/Dockerfile?id=ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3 Change-Id: Icec39d36c661ba3eb3e79c9abb592897f46efa22 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 43d4ce6bd5d0778fb51b014d33a04afafa6a18bb)
2019-02-15Stop building components in travis-ciCédric Ollivier1-1/+0
It was removed by "Move rally_full in benchmarking" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/66911/1 Change-Id: I7ade6f474364646bfe0f3ae1b2718749bd0ff26e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 257af33f88e7f2ff55aa74b171455c83978610f1)
2018-09-13Update rally to conform with cinder micro APICédric Ollivier1-3/+1
It was applied on ollivier containers to ensure rally can verify cinder [1]. [1] https://review.openstack.org/#/c/587314/ Change-Id: I579dca8e6c2c7b3d7f49bca7a6b0c14e18a8e907 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 829a502dfadc5dcdea75a0eda0b07cf15fe03dcd)
2018-09-13Prepare hunter Docker tagsCédric Ollivier1-13/+13
Change-Id: I409975acd1493e2f5a6bdcb3a4bd6ff6e383e02e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Move shaker and vmtp into functest-benchmarkingCédric Ollivier1-0/+1
It also updates all jobs and fixes Dockerhub hooks. Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Update to Alpine 3.8Cédric Ollivier1-3/+3
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: Ib7384772175dd83f735d8cfbfafa1cef3fdc382c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-14Allow overriding rally-tag if OpenStack masterCédric Ollivier1-1/+2
It allows setting a newer rally-openstack tag in ollivier containers to include "Fix the gates about cinder" [1]. TypeError: create() got an unexpected keyword argument 'source_replica' [1] https://github.com/openstack/rally-openstack/commit/67882d55ca453d6aa863d279ec4cfc2b52c80f0a [2] https://bugs.launchpad.net/rally/+bug/1785519 Change-Id: I5ed1002f345b0a9c51783850d09d0f336d0ed3d9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Leverage on new opnfv/functest-tempestCédric Ollivier1-0/+4
It simplifies components, features and smoke containers and they can now leverage on tempest. Change-Id: Ie5564b8ba8a58670827af74371194d2583801f1b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Allow overriding the default OPENSTACK_TAGCédric Ollivier1-1/+2
It allows building containers vs other upper-constraints and then reusing our Dockerfiles for an older or newer OpenStack versions. Change-Id: I160e6f7175a11684846cad86c3d47269c88a08ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-17Add functest-tempest containerCédric Ollivier1-2/+2
It avoids duplicating operations between functest-smoke, functest-components, functest-vnf... It eases building new containers for new tempest-based testcases. Change-Id: I73b973588f4eb70d1e5874d06d030c5a5d729e95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-23Check shell scripts via bashateCédric Ollivier1-10/+21
It also removes functest/cli/functest-complete.sh. Change-Id: I5d9313be6a155b4adf1b82ce2b111ec06823cd8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-07Update build.shCédric Ollivier1-3/+1
opnfv/functest-patrole and opnfv/functest-restapi were removed. Change-Id: I68bf77eabf1851fd4aba826b950463e91bed8c10 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Add functest-patrole in build.shCédric Ollivier1-0/+1
Change-Id: I4a749a0981a81a5b032fa564719c51db2e6c6551 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-23Use functest repo variableDelia Popescu1-1/+1
related to: https://gerrit.opnfv.org/gerrit/#/c/52509/ JIRA: FUNCTEST-917 Change-Id: I79512253b37254b9247fda083500e160dba66d6f Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-01-12Delete the updated Alpine imageCédric Ollivier1-1/+1
It completes "Update Alpine to 3.7" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/49741/ Change-Id: If836a7ca80f5869c9ffeea65a1c0eacf1042ffab Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
2017-12-28Update Alpine to 3.7Cédric Ollivier1-2/+2
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-12-25Clean base images only if 1 container was builtCédric Ollivier1-4/+4
Change-Id: I0134082d2d150a6dc58e679f9ade81eb6c040266 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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. 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>
2017-12-23Add Docker build optsCédric Ollivier1-8/+3
Change-Id: I91fcb833b6b6216338b4fcb888f093a2086264a7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 Change-Id: I293829c839c1cf68c9f7668aa643e16889359fcc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-11-15Do not use cache when building the imageLinda Wang1-2/+2
Change-Id: I4655b631313c923b40304740c0abe06ae885727e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-10-13Fix former default values in build.shCédric Ollivier1-2/+2
Change-Id: I56abd4b22444615cbe27e13475d9f00a98e62cd7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-10-13Conform with Docker ARCH namesCédric Ollivier1-11/+11
It switches Docker tags: - x86_64 -> amd64 - aarch64 -> arm64 Change-Id: I05575dd728e7502a891a3ee3015f81ac8e3f7a92 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 Change-Id: I11fdef410cc40989132205a098410175f789fdef Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-09-16Fix one whitespace characterCédric Ollivier1-1/+1
Change-Id: I631061178f4c96d28dfa4fcf22af0fef2c4f5db4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>