SeanCondon | 3c3d08f | 2022-05-27 11:39:58 +0100 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # SPDX-FileCopyrightText: 2022-present Intel Corporation |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # Script to build and run all of the onos integration tests |
| 6 | |
| 7 | set -eu -o pipefail |
| 8 | |
| 9 | chart_dir=$(mktemp -d) |
| 10 | |
| 11 | #cp -R ../onos-helm-charts/* ${chart_dir} |
| 12 | cp -R ../roc-helm-charts/* ${chart_dir} |
| 13 | |
| 14 | kubectl delete ns fabric-umbrella || true |
| 15 | kubectl create ns fabric-umbrella |
| 16 | # This test is currently not working - need to figure out why |
| 17 | helmit test -n fabric-umbrella ./test -c ${chart_dir} --suite fabric-umbrella |
| 18 | kubectl delete ns fabric-umbrella |
| 19 | |
| 20 | rm -rf ${chart_dir} |
| 21 | |