Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | # SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| 3 | # |
| 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.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 aether-roc-umbrella || true |
| 15 | kubectl create ns aether-roc-umbrella |
| 16 | # This test is currently not working - need to figure out why |
| 17 | helmit test -n aether-roc-umbrella ./test -c ${chart_dir} --suite aether-roc-umbrella |
| 18 | kubectl delete ns aether-roc-umbrella |
| 19 | |
| 20 | rm -rf ${chart_dir} |
| 21 | |