aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2024-01-08Publish Xtesting 2023.2Cédric Ollivier1-4/+4
Change-Id: I76d57e806df78912831b2764812df4e0306dc013 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-04-14Remove MTS from XtestingCédric Ollivier1-2/+1
The MTS drivers is unmaintained and they are lots of security issues in its dependencies. Change-Id: I397e22c8868204b8d52a8ac35906278b5e530961 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-01-24Update Alpine to 3.17Cédric Ollivier1-2/+2
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-2/+2
Change-Id: I283f95fa9c0a51b31c2612f44c1e722a688f6a02 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-08-12Update container builds due to Alpine 3.14Cédric Ollivier1-2/+2
Change-Id: I2db26b02adb2b9e19a6636f9527765fde3588fdb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2021-02-11Fix tag substitutesCédric Ollivier1-1/+1
Change-Id: I72e82055d32a87d81877152fa4bce4885bddc4cb 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-05Add MTS driverVincent Mahe1-6/+30
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
2020-06-07Update to alpine3.12Cédric Ollivier1-2/+2
https://alpinelinux.org/posts/Alpine-3.12.0-released.html Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Select arm32v6 et arm64v8 reposCédric Ollivier1-2/+2
They are the official repos [1]. multiarch repo doesn't support Alpine 3.11 and Raspberry PI 1 (arm32v6). [1] https://hub.docker.com/_/alpine/ Change-Id: I2d73ef867c9714ecddba433295f822cf29b27b90 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-01-04Update Alpine to 3.11Cédric Ollivier1-2/+2
It also updates Python to 3.8 (default version). https://alpinelinux.org/posts/Alpine-3.11.0-released.html Change-Id: I1401c37adb71a6f7d37bd8724b93a058ecb68557 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-26Switch to Python 3.7 and Alpine 3.10Cédric Ollivier1-2/+2
It also allows building docs as doc8 is broken due to latest OpenStack's upper-constraints. pylint is updated to 2.3.1 (lastest py3.7 version) It disables perm as umask is currently false on lf-virtual1. Change-Id: I8568eeafa44c5dba72e206c532c1f50e3ad547f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-12Build Raspberry PI image via travis-ciCédric Ollivier1-1/+5
Change-Id: I91ced3f779921ed26bb91daa971692620311feaf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-23Update Alpine tag in build.shCédric Ollivier1-1/+1
It completes the previous commit updating Alpine. Change-Id: Ic7bb294eeebad360278dcb75f841efec8e87c03b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Update to Alpine 3.8Cédric Ollivier1-1/+1
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: I73fba49c3d1bbf018e94e67c835c4049c34209b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-24Check shell scripts via bashateCédric Ollivier1-3/+6
Change-Id: I33df0017945a32946c46bff0768624901e13f6f1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-12Add a travis-ci config fileCédric Ollivier1-1/+1
It also fixes a typo in build.sh. Change-Id: Id9ac580d3b6268dd8e2326cecef57db213ef1a11 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-09Add build.sh for functest-xtestingDelia Popescu1-0/+27
JIRA: FUNCTEST-948 Change-Id: If174ac0cc5716ccd6f5bcd6b5627feb222d05b0b Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-02-27Clean all OpenStack related modulesCédric Ollivier1-37/+0
Xtesting is only focused on the framework and entry points. Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd 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>