blob: 5da469eda355d1ca458bdb06b4b2538e89d300fa [file] [log] [blame]
#!/bin/bash
# SPDX-FileCopyrightText: 2021 Open Networking Foundation
#
# SPDX-License-Identifier: Apache-2.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}