diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-04-19 20:13:38 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-04-20 18:36:51 +0200 |
commit | 0c3ae6e09acd16fc50a516975631dd6bb76b8c53 (patch) | |
tree | 7327c63bd18337b189442b5c13aa65873173a80b /functest/opnfv_tests/vnf | |
parent | 75d581a9d3ec7c11a9a696db4b271c2691c28f15 (diff) |
Build arm* functest-vnf containers via travis-ci
It doesn't build juju deps if arm* as they can't be cross-compiled.
Then that deps won't be built in releng on native arm64 hosts
It's worth mentioning that containers have never been executed in
OPNFV gates.
That change allows running all other VNFs on Raspberry PI and
building containers without arm build servers.
Change-Id: I836a72f049e7f0e6ae704f5b829914692d5b2c09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/vnf')
-rw-r--r-- | functest/opnfv_tests/vnf/epc/juju_epc.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index 102f77d96..cbf531b6b 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -147,6 +147,12 @@ class JujuEpc(singlevm.VmReady2): self.flavor_alt = None def check_requirements(self): + if not os.path.exists("/src/epc-requirements/go/bin/juju"): + self.__logger.warn( + "Juju cannot be cross-compiled (arm and arm64) from the time " + "being") + self.is_skipped = True + self.project.clean() if env.get('NEW_USER_ROLE').lower() == "admin": self.__logger.warn( "Defining NEW_USER_ROLE=admin will easily break the testcase " |