blob: c163616d235c94a34bb2b04ad30f7d6fc0876083 [file] [log] [blame]
#!/bin/bash
# SPDX-FileCopyrightText: 2021 Open Networking Foundation
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
# Script to build and run all of the onos integration tests
set -eu -o pipefail
chart_dir=$(mktemp -d)
#cp -R ../onos-helm-charts/* ${chart_dir}
cp -R ../roc-helm-charts/* ${chart_dir}
kubectl delete ns aether-roc-umbrella || true
kubectl create ns aether-roc-umbrella
# This test is currently not working - need to figure out why
helmit test -n aether-roc-umbrella ./test -c ${chart_dir} --suite aether-roc-umbrella
kubectl delete ns aether-roc-umbrella
rm -rf ${chart_dir}